Hi,
I'd like to use the .hex output of the Keil compiler to program ADU320 flash.
After reading thu http://www.keil.com/support/docs/1584/ i created a python which turns the hex file to c sructure Then I read the ADU320 flash to compare FLASH content with Hex output
The data in the ADU320 flash differs from HEX file
so what needs to be programmed ?
Thank you Yaron
.HEX file do not have to be linear, or describe all memory. You'd do better converting each to a binary image for the ROM(s) in question and doing a binary compare. If you normalize the files you might be able to do a diff/compare, but if you understood the data and what it is describing you'd appreciate there are more effective ways to do that.
The Keil tools send programming code into RAM, and then send blocks of binary data in to RAM, and execute the programming code. They don't send the .HEX or .AXF files directly.