Issue with Terminal Virtual SCI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Issue with Terminal Virtual SCI

跳至解决方案
1,589 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
927 次查看
mouka
Contributor II

Never mind, I figured out what was going on.

My code actually works fine.

在原帖中查看解决方案

0 项奖励
回复
1 回复
928 次查看
mouka
Contributor II

Never mind, I figured out what was going on.

My code actually works fine.

0 项奖励
回复