This content has been marked as final. Show 3 replies
whn you say hex, do you mean hex display of 'binary' or do you mean hex20, where ASCII is used to represent hex records.
I mean the hex display of binary.
Check out AN2026. In the appendix of this app note, there is a description of the format of the hex file. There is a record called Checksum record, which stores the checksum of all the flash data. During programming, this stored checksum is compared with the checksum calculated on the flash data. So, if you want to change the last two bytes of the flash data, you need to calculate the checksum of the flash and update this checksum record in the hex file for the programming to pass.
Can anyone tell me how to start writing program since i m beginner.
please send me some sample program that may help me to write program using assembly as well as using C.