Hi, I wrote an application in a 8051 device containing several modules. One of them needs some certification and after that it can no longer be modified. To ensure this a CRC is computed on the firmware file.
The problem is that after certificates the other modules need to be modified and this will affect the firmware CRC even if I didn't modify the certified module.
The solution would be to somehow isolate the certified module in a separate firmware file and the just load both files into the device.
Is there any way to do this?
CODE keyword in the linker command line
Well, yeah, if he wants to do it on the linker level.
On the "firmware file" level, there's tools like srecord (very useful, and free, too) for splitting/merging binary and hex files.
About splitting merging binary files, Is there a way I can't find where to split the firmware file? How can I know where the code for the non-modifiable module is placed?