printf() not giving output in PUTTY

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

printf() not giving output in PUTTY

1,023 Views
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 

Labels (4)
0 Kudos
3 Replies

856 Views
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!
-----------------------------------------------------------------------------------------------------------------------

856 Views
athmesh_n
Contributor IV

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

0 Kudos

856 Views
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 Kudos