This is fixed in version 11.01. Andy
Hi Sathwik,
LPC parts use a word in the vector table of the processor to store a checksum that is examined by the bootloader to identify a valid image, Keil doesn't add this checksum automatically but flash magic will automatically set the checksum word for you when you use it to program a hex file to an LPC device. That is why you have a difference between the hex you gave to flashmagic and what is programmed.
When you convert from ELF to binary file, you need to insert the checksum at offset 0x1C of your image. In Keil tool do this it's through a PC command line tool ELFDWT:
µVision User's Guide: Signature Creator for NXP Cortex-M Devices
Hope it helps!
Victor Jimenez.
/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fsupport%2Fman%2Fdocs%2Fuv4%2Fuv4_ut_elfdwt.htm
Hi Sathwik,
Which version are you using? If it's not the latest version then please try updating. If that doesn't help please generate a debug file and send to support at esacademy dot com so we can see what is going on at a lower level. Instructions are here:
http://www.flashmagictool.com/debugfile.html
Andy
Hello Victor ,
thanks for reply
iam using Keil 5 and we are using SDk 2.3 files only
Hello Sathwik,
Which program are you using to try this? I recommend you to try this with an example of the SDK. I just try the rit_example of the SDK with Flash magic and everything worked well.
How are you generating the .hex file? In the folder of your project in the project explorer window of MCUXpresso you can select DEBUG then right click on the .axf file > binaries utilities > create hex.
Hope it helps!
Victor.