This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ROM Region checksum

Does the scatter loading file mechanism have some method of adding a checksum to a rom region?
And, most of all, if this exist: Can the checksum be reproduced by the target?
Doing this manually for each release firmware is possible, but not preferred.

There is the ElfDwt tool, but I cannot find the method used to create the checksum.
And this only seems to apply to the vector table to have NXP bootloaders accept the code.

I'd like to continuously check the startup file .o integrity and a one time boot .ANY ROM check. This since the product is placed in some hotter environments, which can cause issues.

Parents
  • As noted above, I think the term "scatter loading" is used by mistake, just because the linker takes a file using the scatter term. The flash image isn't scatter-loaded. The processor has one or more address ranges with flash content, and it isn't relevant to know exactly what things are placed where - the full flash content (potentially skipping remaining FF at end of the flash areas) should be checksummed since an application program isn't expected to understand exactly how the startup code might export data from flash into RAM.

Reply
  • As noted above, I think the term "scatter loading" is used by mistake, just because the linker takes a file using the scatter term. The flash image isn't scatter-loaded. The processor has one or more address ranges with flash content, and it isn't relevant to know exactly what things are placed where - the full flash content (potentially skipping remaining FF at end of the flash areas) should be checksummed since an application program isn't expected to understand exactly how the startup code might export data from flash into RAM.

Children
No data