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
Solved! Go to Solution.
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
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
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"
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