AnsweredAssumed Answered

Issue with Terminal Virtual SCI

Question asked by Mouka Zwina on Nov 3, 2010
Latest reply on Nov 3, 2010 by Mouka Zwina

I am trying to get a printf() to display some text on the component (virtual) terminal.

The code runs fine on a real development board from Wytec (Dragon-12). But what I am trying to do is have the code display some stuff on the virtual terminal.

I traced the code and found that it gets stuck in the following line of code:

  while (!(SCI.SCxSR1 & 0x80)) {};

For some reason or another, printf gets stuck in this line of code.

Any ideas as to what is going on?

The code above was taken straight from termiosci.c provided by freescale.

Any help is greatly appreciated.