can CodeWarrior read S19 files for programming?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can CodeWarrior read S19 files for programming?

ソリューションへジャンプ
4,703件の閲覧回数
rlw
Contributor I
Currently using a P&E Multilink 12 USB directly with CodeWarrior.

The development module from our client *had* calibrations in it, byt I accidently erased them. The client can give us an S19 file, but we do not have any way to program the S12X other than via CodeWarrior.

I am unable to find anyway that CW can read the S19 file and program it into the S12X.

The only other software I have found is P&E's PROGR12Z program, but that will cost us extra moeny the client is unwilling to reimburse us for.

The only remaining alternative is to wait for the client to send us another module.

Is there a way to get CodeWarrior to read and program from the S19 file?

Is there another (low cost) solution?
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,833件の閲覧回数
CrasyCat
Specialist III
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 :smileyhappy: 
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,834件の閲覧回数
CrasyCat
Specialist III
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 :smileyhappy: 
 
CrasyCat
0 件の賞賛
返信
1,833件の閲覧回数
isionous
Contributor III

CrasyCat Wrote:

 

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.
---
Is there a corresponding command to put in the Hiwave command window to switch between global addressing (SRECISS12XGLOBALADR=1) and nonglobal addressing (SRECISS12XGLOBALADR=0) in the same session?
0 件の賞賛
返信
1,833件の閲覧回数
CrasyCat
Specialist III

Hello

 

No. The debug session will accept either S records with global addresses or S records with logical addresses.

 

You cannot switch between different format within one session.

 

CrasyCat

0 件の賞賛
返信