Hi,
I have an application where a STR912 is connected to a PIC device. The two devices communicate using CAN.
I want to download the PIC's firmware using the STR912. For this purpose, I have to link this firmware in the STR912 code. The firmware is an object file (but I don't think it is comtable with Keils obj files, a hex file (intel hex) or a binary file.
How can I link such a file on a specific address ?
Thanks.
Luc
You'll have to check the Linker Manual to see if it has any way to imoprt arbitrary binary data.
If not, 2 common ways to do this are:
1. use some tool to post-process your hex file to merge-in the PIC's hex file;
2. include the PIC's binary as an initialised const array in your 'C' source...