Configure Virtual SCI and output file from the command prompt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Configure Virtual SCI and output file from the command prompt

跳至解决方案
1,398 次查看
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 解答
723 次查看
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 回复数
723 次查看
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 项奖励
回复
723 次查看
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 项奖励
回复
724 次查看
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 项奖励
回复