printf() not giving output in PUTTY

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

printf() not giving output in PUTTY

1,036 次查看
athmesh_n
Contributor IV

Hi,

After removing external crystal oscillator and using internal RC oscillator of 12MHz PLLed to 72MHz is giving error in printf(). 

 printf() is not giving any output on putty, while TXDATA is working fine. 

also the following issue is showing up while stopping or pausing the debug.   

No source available for "__vfprintf() at 0x3114"

No source available for "printf() at 0x300a"

port and baud rates have been doublechecked. 

IDE   :   MCUXpressoIDE

Library : REDLIB

Clock   : Internal RC Clock PLLed to 72MHz

Processor   :   LPC1517 

标签 (4)
0 项奖励
3 回复数

869 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi ATHMESH NANDAKUMAR,

    If you don't use the printf, whether your UART can output the correct data?

   I use the official lpc1549 uart_rb project can output the correct uart data:

pastedImage_2.png

  I just add the printf("TEST");

I also attach my modified project for your reference.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

869 次查看
athmesh_n
Contributor IV

I can get output using TXDATA register. Using printf() is causing error.  

0 项奖励

869 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi ATHMESH NANDAKUMAR,

   Do you try my project,and modify the LPC1549 to LPC1517, and test it on your side? Whether it works OK?

  It works OK on my side.

  If you still have errors, please let me know the detail errors.

Wish it helps you!
Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励