Dear friends,
I have developed a C# program that accepts .hex file, extracts raw data from it, UUencodes this data and uses it to flash LPC1768 MCU.
When I use my own application the exact raw data of .hex file is transferred to the flash memory of MCU, but the application is not running. When I use flash magic or keil to program the device, they change 4 bytes of the hex file in address 0x10. Here is what I mean:
The third line of .hex file (address 0x10):
:100010007501000077010000790100000000000078 extracted raw data: 75010000770100007901000000000000 (my C# program sends this) altered raw data: 750100007701000079010000E6F4FFEF (flash magic or keil send this)
as you can see the last characters at this line (third line in .hex file) are changed by flash magic. The other parts of the hex file remain unchanged. I was wondering what is the reason for that.
With warm regards