AnsweredAssumed Answered

HCS12 Smart linker + how to create S28 file for a specific function..

Question asked by desroc01 on Feb 5, 2016
Latest reply on Feb 8, 2016 by Pascal Irrle



I have a general question about the HC12 Linker.


Is it be possible to generate the "S records" for one specific C function ?

How can I do that with CodeWarrior for HCS12 ? (via command line maybe?)

Right now, when I Build my project, it generate one big .s28 for all the functions and data together...


My goal is to use the same area of memory for 2 (or more) C functions.

Then by having multiple targets in the project I could create only the "S record" of each function.


Finally, I could use a homemade "load and execute" function to send and run these C functions.


In the worst case, it is possible to generate just the "linked binary (MCU) opcode" that I could "load and execute" ?