Hello,
I try to use the Terminal emulation of the Debugger in two way. Unfortunately both do not work:
- Using in Simulation Mode: I exactly use the TERMIO_Init() as it comes with the installation. If I use afterward:
TERM_Direct(TERM_TO_WINDOW, "test.bin");
TERMIO_PutChar('a');
I did not get any output at all. I tried to change the setting of the Baudrate and the COM
Port in the 'Configuration Connections ...' window. With not success. When I mark
'Show Protocol' I always get:
TERMINAL: Open serial port on COM1 baudrate 9600
TERMINAL: Failed to open serial port COM1 with 9600
When writing on the SCIDRL Register I can see in the Memory Window of the
Simulation that something happens because the 0x00 turns into red
2. Using on the real hardware:
My real hardware has not SCI Lines that are accessable. However I thought with the
Debugger I can use the SCI Module of the µC (mc9s12dg128b) exactly like there are
accessable and redirect it to the Terminal window in the Debugger. However even
when I select 'Add All' for the possible connections I get no output at all in the Terminal
Window. If I change baudrate and COM Port with marked 'Show Protocol' I always
get the same message as with the simulator:
TERMINAL: Open serial port on COM1 baudrate 9600
TERMINAL: Failed to open serial port COM1 with 9600
What is surprising to me is that at least in the simulator mode some of the
examples (did not try all) that comes with the installation works in the simulator
mode. However even when I think I copied line by line to my project it does not work.
I am using the 'free' Version of Codewarrior.
Does anyone have the Terminal window up and running and can please direct my
through the configuration
Best Regards
Markus