AnsweredAssumed Answered

Why does the programmer change these bytes in the flash of LPC812 and what do these bytes mean.

Question asked by N Kremers on Jan 3, 2017
Latest reply on Jan 4, 2017 by Kerry Zhou

Hi,

 

Flash a hex-file in-circuit into a LPC812 I use flash magic with an ISP serial interface or i use J-flash with a SWD interface. With these tools we have no problems. 

 

In the production run we use Beeprog2 from elnec. After programming de LPC812 doesn't boot. The same hex-file is used. After programming I see that the flash in the LPC812 is not identical to the data in de .hex-file. Both flash-magic and J-flash change the data in the first row of 64 bytes.

 

The first 64-bits in the hex file is:

 :40000000E80400106901000079010000710100000000000000000000000000000000000000000000000000000000000073010000000000000000000075010000770100000C

 

 

The first 64-bits in the flash of the LPC812 is:

:40000000E8040010690100007901000071010000000000000000000000000000C5F6FFEF000000000000000000000000730100000000000000000000750100007701000063

 

The red part is different and is missing when using the Elnec program tool. I wonder what these bytes mean and why flash magic and j-flash load these files into the flash.

Outcomes