Configure Virtual SCI and output file from the command prompt

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

Configure Virtual SCI and output file from the command prompt

ソリューションへジャンプ
1,492件の閲覧回数
Brynas
Contributor I

Hi!

I am currently working on a PERL script for automatically executing abs-files in the debugger for testing purposes. I got stuck on one thing that I haven't managed to find information about  how to do in the manual. Does anyone know how to configure the virtual SCI input / output ports and how to set the output file using commands (so that it can be scripted)? 

 

Thanks in advance

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
817件の閲覧回数
CrasyCat
Specialist III

Hello

 

You can find some documentation on how to redirect terminal output to a file in the Debugger_HC12.pdf manual.

 

Look at Book II HC(S)12(X) Debug Connections > HC(S)12(X) Full Chip Simulation > FCS Visualization Utilities > Terminal component.

 

There is a section File Control Commands explaining how to use escape sequences to redirect stdout to a file.

 

All you need to do call TERM_Direct with appropriate set of parameters from your main application.

 

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
817件の閲覧回数
CrasyCat
Specialist III

Hello

 

- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
  To retrieve that info:
    - Start CodeWarrior
    - Select Help -> About Freescale CodeWarrior
    - Click on "Install Products"
    - CodeWarrior version used is displayed on top in the Installed Products dialog.

 

CrasyCat

0 件の賞賛
返信
817件の閲覧回数
Brynas
Contributor I

Hi,

 

I am targeting HC12. On top of the installed products dialog it stands "CodeWarrior Development Studio for the S12(X) Version 5.0, build 9061"

0 件の賞賛
返信
818件の閲覧回数
CrasyCat
Specialist III

Hello

 

You can find some documentation on how to redirect terminal output to a file in the Debugger_HC12.pdf manual.

 

Look at Book II HC(S)12(X) Debug Connections > HC(S)12(X) Full Chip Simulation > FCS Visualization Utilities > Terminal component.

 

There is a section File Control Commands explaining how to use escape sequences to redirect stdout to a file.

 

All you need to do call TERM_Direct with appropriate set of parameters from your main application.

 

 

CrasyCat

0 件の賞賛
返信