Flash Magic Intel Hex to Binary question

Started by EddieG, May 11, 2007, 01:38:45 PM

Previous topic - Next topic

EddieG

I am very new to microcontrollers and have an example hex file (generated by uVision) that has the following as its first 3 lines:

:020000040000FA
:1000000018F09FE518F09FE518F09FE518F09FE5C0
:1000100018F09FE50000A0E1F0FF1FE518F09FE554

When I use an intel hex to binary converter I get the identical output (when looking at the binary).

When I examine what Flash Magic uploads to the device it is this:

:020000040000FA
:1000000018F09FE518F09FE518F09FE518F09FE5C0
:1000100018F09FE5805F20B9F0FF1FE518F09FE51D

The 3rd line is different, this is the difference:
            Original:
                        E50000A0E1F
            Flash Magic:
                        E5805F20B9F

I am trying to figure out how Flash Magic generated that difference, as I am trying to get an intel hex to binary conversion tool that produces the same output as Flash Magic. (The Flash Magic output executes on the board, where as the other binary does not).

Thanks for any help,
     Eddie

EddieG

Ah I see, the checksum of the vectors goes there. Nevermind my question :)