Configure Virtual SCI and output file from the command prompt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configure Virtual SCI and output file from the command prompt

Jump to solution
1,395 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
720 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
720 Views
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 Kudos
Reply
720 Views
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 Kudos
Reply
721 Views
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 Kudos
Reply