Issue with Terminal Virtual SCI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issue with Terminal Virtual SCI

ソリューションへジャンプ
1,592件の閲覧回数
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 解決策
930件の閲覧回数
mouka
Contributor II

Never mind, I figured out what was going on.

My code actually works fine.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
931件の閲覧回数
mouka
Contributor II

Never mind, I figured out what was going on.

My code actually works fine.

0 件の賞賛
返信