Content originally posted in LPCWare by joohyun.seo on Wed Aug 27 10:14:43 MST 2014
Hi,
As I included the another command line after build as directed in your reference, it works fine. I can see the LED blinking by simply pressing RESET switch. Thank you.
I have a supplemental question. I also want to download the image using DFU programmer. So what I did is to generate the bin file by inserting following command in Options for Targets - User - Run User Programs After Build/Rebuild
: C:\Keil\ARM\ARMCC\bin\fromelf.exe --bin --output=periph_systick.bin periph_systick.axf
Then, I opened the DFU programmer and include binary file in HDR/RAW modes tab with Auto append header to the binary image and Auto-verify header on boot enabled. Then, I generate binary file with header. Next, in program mode, I include the *.bin.hdr file and specify the address 0x1A000000, size 0x00010000, and Param 0x00000000. I also enabled the verify image after programming by reading it back, and compute/insert checksum in image before programming.
Then, I press START to download the image. However, with this approach after I reset the board, the board doesn't show any activity.
To my understanding, I converted *.axf (which works fine by downloading it using the Debugger mode) into *.bin so *.bin should be correct. So I thought that this method should work, but unfortunately, it is not working. There is no particular error message in Output log nor Program Log.
I also tried with 'Compute/Insert checksum in image before programming' disabled, but it doesn't show any difference.
Many thanks in advance.