From: Brett H. <bre...@gm...> - 2012-02-07 14:38:40
|
Have you tried the "old fashioned way" on the firmware page? http://robovero.org/index.php/tutorials/firmware I also had similar issues with the python script but the command line calls worked great. Brett 2012/2/7 Juan David Hernández Vega <ju...@gm...> > Hi everyone, > > I'm trying to change robovero's firmware. I have followed all the > instructions give at robovero.org. However when trying to update flash > memory I'm getting the following messages: > > Building target: all > Invoking: GCC C Linker > arm-bare_newlib_cortex_m3_nommu-eabi-ld -nostdlib -L"lib" > -Map=firmware.map -T "script.ld" --gc-sections -o"firmware" > src/wrap/_LPC17xx.o src/wrap/_core.o src/wrap/_debug_frmwrk.o > src/wrap/_lpc17xx_adc.o src/wrap/_lpc17xx_can.o src/wrap/_lpc17xx_clkpwr.o > src/wrap/_lpc17xx_dac.o src/wrap/_lpc17xx_emac.o src/wrap/_lpc17xx_exti.o > src/wrap/_lpc17xx_gpdma.o src/wrap/_lpc17xx_gpio.o src/wrap/_lpc17xx_i2c.o > src/wrap/_lpc17xx_i2s.o src/wrap/_lpc17xx_libcfg.o > src/wrap/_lpc17xx_mcpwm.o src/wrap/_lpc17xx_nvic.o > src/wrap/_lpc17xx_pinsel.o src/wrap/_lpc17xx_pwm.o src/wrap/_lpc17xx_qei.o > src/wrap/_lpc17xx_rit.o src/wrap/_lpc17xx_rtc.o src/wrap/_lpc17xx_spi.o > src/wrap/_lpc17xx_ssp.o src/wrap/_lpc17xx_systick.o > src/wrap/_lpc17xx_timer.o src/wrap/_lpc17xx_uart.o src/wrap/_lpc17xx_wdt.o > src/wrap/_lpc_types.o src/usb/cdcuser.o src/usb/usbcore.o src/usb/usbdesc.o > src/usb/usbhw.o src/usb/usbuser.o src/extras.o src/main.o src/return.o > src/ringbuffer.o src/serial.o src/startup.o src/system_LPC17xx.o > src/table.o -lDriversLPC17xxgnu -lgcc -lc > Finished building target: all > > make --no-print-directory post-build > arm-bare_newlib_cortex_m3_nommu-eabi-objcopy -O binary firmware > firmware.bin > > md5sum firmware > md5sum.txt > git log -1 --pretty=oneline > commit-id.txt > ./flash.py > getting sudo password > > starting openocd: jtag chain detected > gdb runtime: timeout > kill: No such process > failed. please try again > > > ---------- > > root@ubuntu:~/cortex-m3/openocd-0.5.0# sudo openocd -f > interface/openocd-usb.cfg -f target/lpc1769.cfg > Open On-Chip Debugger 0.5.0 (2012-02-07-03:57) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.berlios.de/doc/doxygen/bugs.html > Info : only one transport option; autoselect 'jtag' > 500 kHz > Info : clock speed 500 kHz > Info : JTAG tap: lpc1768.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, > part: 0xba00, ver: 0x4) > Info : lpc1768.cpu: hardware has 6 breakpoints, 4 watchpoints > Info : accepting 'gdb' connection from 3333 > Warn : acknowledgment received, but no packet pending > undefined debug reason 6 - target needs reset > Info : JTAG tap: lpc1768.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, > part: 0xba00, ver: 0x4) > Warn : Only resetting the Cortex-M3 core, use a reset-init event handler > to reset any peripherals > target state: halted > target halted due to debug-request, current mode: Thread > xPSR: 0x01000000 pc: 0x0002a3b0 msp: 0x100068f8 > Error: JTAG-DP STICKY ERROR > Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x4 > Error: JTAG-DP STICKY ERROR > Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x4 > Warn : Block write error address 0x0, wcount 0xff4 > Error: JTAG-DP STICKY ERROR > Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x3fd4 > Error: JTAG-DP STICKY ERROR > Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x3fd4 > Warn : Block write error address 0x3fd0, wcount 0xfec > Info : dropped 'gdb' connection > > > Any clue ?? > > Thanks for your help. > > -- > Juan David Hernández Vega > MSc. Student in Automation and Robotics > Robotics and Automation Center (CAR) UPM-CSIC > Universidad Politécnica de Madrid > > > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |