Hello,
I'm having trouble using the terminal in codewarrior.
I would like to print characters and strings using the terminal's virtual sci, but print is not.
My main statement is as follows.
#include <hidef.h> /* common defines and macros */
#include <terminal.h>
#include <stdio.h>
#include <termio.h>
void main(void) {
/* put your own code here */
TERMIO_Init();
EnableInterrupts;
for(;;) {
_FEED_COP(); /* feeds the dog */
TERMIO_PutChar('v');
} /* loop forever */
/* please make sure that you never leave main */
}
When I use this, Do I set the register of the sci pin of the board and use it?
I read debugger Manual, but i didn't solve it.
Please Help me.
解決済! 解決策の投稿を見る。
Hello ji hyun bang,
Please refer to the thread of I want to print character on terminal of codewarrior.
it is the same question.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hello ji hyun bang ,
Please tell us which chip do you used, and the version of CodeWarrior, thanks.
BR
Alice
Hello, Thank you for your reply.
Sorry, I forgot to write about the chip name and codewarrior version.
I used MC9S12XET256 chip and codewarrior version 5.9.
MC9S12XET256, the muc in the board, supports SCI, but this SCI pin can not connect to the serial port.
If I can not connect to the board's communication pins and serial port, Is it impossible to print the string or character to my computer?
Hello ji hyun bang,
Please refer to the thread of I want to print character on terminal of codewarrior.
it is the same question.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------