Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/20/04 16:14
Read: times


 
#83528 - Checksum without linker support
After a long time of 8052.com abstinence first of all a big "HI FELLAS" to the 8052 family (still alive and growing as I see..) ! :)

Well, I got a little problem and maybe some of you got some ideas. In my current project I'm using an ARM7 based micro, but my prob is MCU independent, it's an 8052 thing as well.

I have to generate a ROM code checksum (CS) to verify if our code has been written correctly to the MCUs flash. The linker doesn't create any CS at all so anything has to be done manually.
The ARM support suggested some not so simple ways (something like writing your own parser to get some information out of the .ELF file (Executable Linking Format = linker output), make an additional .asm file containing the computed CS and a symbol, relink and refer in the application code to a predefined CS symbol...) Not that funny. Checking if the ROM code is flashed correctly is a standard problem and others must have the same problems especially if the linker got its hands completely off.

Any ideas...?

Olaf

List of 6 messages in thread
TopicAuthorDate
Checksum without linker support            01/01/70 00:00      
   program checksum            01/01/70 00:00      
   The Hex File            01/01/70 00:00      
      The binary file            01/01/70 00:00      
   try this            01/01/70 00:00      
   Not the Linker's job?            01/01/70 00:00      

Back to Subject List