I want to print terminal on codewarrior.

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to print terminal on codewarrior.

Jump to solution
402 Views
Contributor II

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.

0 Kudos
1 Solution
94 Views
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
94 Views
NXP TechSupport
NXP TechSupport

Hello ji hyun bang ,

Please tell us which chip do you used, and the version of CodeWarrior, thanks.

BR

Alice

0 Kudos
94 Views
Contributor II

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?

0 Kudos
95 Views
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos