Reputation: 9
I have a linker script which is used for ELF generation, which is then used to create a S19 file.
Since in S19, S0 is a header record which stores metadata of the firmware.
I want to store information in this S0 record. I’m not able to find link to that S0 record
I tried to look into elf and linker script but couldn't find a way to work with S0 record
Upvotes: 1
Views: 28
Reputation: 82390
A possible way is to use an external tool like srecord
With this tool you can modify,convert,analyze srec,hex,other files
This command adds a S0 header to a srec file
srec_cat myfirmware.srec -header "firmware_v1.0" -output firmware_with_s0.srec
The tool is fine, but the documentation ...
Upvotes: 0