Issue with Terminal Virtual SCI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue with Terminal Virtual SCI

Jump to solution
1,591 Views
mouka
Contributor II

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.

Thanks

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
929 Views
mouka
Contributor II

Never mind, I figured out what was going on.

My code actually works fine.

View solution in original post

0 Kudos
Reply
1 Reply
930 Views
mouka
Contributor II

Never mind, I figured out what was going on.

My code actually works fine.

0 Kudos
Reply