Internal ROM Compilation Does not Result like UART Debug Compilation

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

Internal ROM Compilation Does not Result like UART Debug Compilation

899 次查看
kevy
Contributor I
Hi,

I'm using M52223EVB board and CodeWarrior 6.3. I used the Coldfire Stationary to make a startup application for UART. So, I replaced printf("blah blah")  with  WriteUARTN("blah blah", 7) to write to the UART0 and test the write by a terminal console. The write is done ( no matter if it's garbage or not ) when I'm using UART Debug mode, but it does not print anything when I'm using the Internal ROM mode.

I looked for a thread in this forum for this issue , but I could not find any. So, if I've missed, please redirect me to a thread that explain this issue. Otherwise, I would appreciate if some one could help me out to fix it.

Thank you,

Keyvan


标签 (1)
0 项奖励
1 回复

226 次查看
CrasyCat
Specialist III
Hello
 
I am not an expert in Coldfire Stationeries, but as far as I remember, when you are using the Internal Debug ROM target, output from printf is not written ti the console, but to which ever SCI port configured in the library.
 
Did you try to connect the SCI to a PC serial port and opening an hyperterminal window to see the output?
 
CrasyCat
0 项奖励