Quantcast

Firmware Update Failed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Firmware Update Failed

Abusus
After successfully building the tool-chain, i could not flash the firmware. I got the follwing output:

xxx@ubuntu:~/robovero/firmware$ make flash
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/dsp/cr_dsplib_biquad32.o src/dsp/cr_dsplib_blockfir32.o src/dsp/cr_dsplib_dotproduct.o src/dsp/cr_dsplib_pid.o src/dsp/cr_dsplib_random.o src/dsp/cr_dsplib_resonator.o src/dsp/cr_dsplib_vectoraddconst.o src/dsp/cr_dsplib_vectoradd.o src/dsp/cr_dsplib_vectormulconst.o src/dsp/cr_dsplib_vectormulelement.o src/dsp/cr_dsplib_vectorsub.o src/dsp/cr_dsplib_vectsumofsquares.o src/wrap/_core.o src/wrap/_cr_dsplib.o src/wrap/_debug_frmwrk.o src/wrap/_lpc17xx_adc.o src/wrap/_LPC17xx.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 -lcr_dsplibFFT_cm3 -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^CTraceback (most recent call last):
  File "./flash.py", line 69, in <module>
    raw_input("failed. please try again")
KeyboardInterrupt
make: [flash] Error 1 (ignored)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Firmware Update Failed

Danny Chan
Have you tried flashing "the old fashioned way"? If that doesn't work, you can also try using the ISP mode of the board: http://robovero.org/index.php/tutorials/136

--Danny
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Firmware Update Failed

Abusus
Thanks Dany. I tried the "Old fashioned way" and the ISP mode but still not able to update the firmware.

this is my  debug.log file :  debug.log

and this is the output of my terminal:

embedded@ubuntu:~/robovero/firmware$ make flash
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/dsp/cr_dsplib_biquad32.o src/dsp/cr_dsplib_blockfir32.o src/dsp/cr_dsplib_dotproduct.o src/dsp/cr_dsplib_pid.o src/dsp/cr_dsplib_random.o src/dsp/cr_dsplib_resonator.o src/dsp/cr_dsplib_vectoraddconst.o src/dsp/cr_dsplib_vectoradd.o src/dsp/cr_dsplib_vectormulconst.o src/dsp/cr_dsplib_vectormulelement.o src/dsp/cr_dsplib_vectorsub.o src/dsp/cr_dsplib_vectsumofsquares.o src/wrap/_core.o src/wrap/_cr_dsplib.o src/wrap/_debug_frmwrk.o src/wrap/_lpc17xx_adc.o src/wrap/_LPC17xx.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 -lcr_dsplibFFT_cm3 -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
[sudo] password for embedded:

starting openocd: jtag chain detected
gdb runtime: timeout
failed. please try again
make: [flash] Error 1 (ignored)
embedded@ubuntu:~/robovero/firmware$

Loading...