Hello
CodeWarrior debugger is able to program S19 file.
Main issue here is how are destination address specified in the S19 file?
Are there specified using logical or global addresses?
Basically you can load a S19 file into the target CPU using the debugger File -> Load Application menu.
The loader assumes that the addresses within the S record file are logical (i.e. <BankNbr><offset>. So if the S19 file includes logical addresses, jut use File -> Load Application and browse for the s record file.
If the S record contains global addresses, you have to add following environment variable to your Debug project file (*.ini file):
SRECISS12XGLOBALADR=1
This environment variable must be added to the [HI-WAVE] section in the Debug Project file.
If the S record contains linear addresses, you have to add following environment variable to your Debug project file (*.ini file):
SRECISHCS12LINEARADR=1
This environment variable must be added to the [HI-WAVE] section in the Debug Project file.
Note that all addresses within a S record file should be either logical, linear or global. You cannot have a mix.
Additionally I assume you need to load the S19 file AND your application. Am I right?
Then I would recommend you to use "P&E Multilink/Cyclone Pro" -> "Flash" to load the S 19.
Make sure to Enable only flash blocks where you want to load your S record and press "Load".
I hope this helps a little bit and is not too confusing
CrasyCat