printf() not working in KDS

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

printf() not working in KDS

744 Views
martinboton
Contributor I

Hi,

I know that this question has already been answered a lot of time, but it still doesn't work for me.

I am using processor expert and changed the heap size in my processor expert component as indicated in Alice Yang "How to use printf() to print string to Console and UART in KDS" tutorial.

But I can't see anything displayed in the console view.

I know using printf isn't a good practice in embedded, but still I would like to see it working.

If anyone can help, would be grateful !

 

Best regards,

 

Martin

Labels (1)
0 Kudos
3 Replies

552 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Martin,

Please tell me the  version of KDS, and which chip .

What about the project , Only with PE ? or with SDK ? or with MQX?

You'd better create one simple project to me , i will check it on my side .

Hope it helps

Alice

0 Kudos

552 Views
martinboton
Contributor I

Hi Alice,

I use KDS v3.2.0, my project is only with PE, no SDK and no MQX, and I work with a FRDM k64f board.

I attached a simple project so you can check it.

BR

Martin

0 Kudos

552 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Martin,

The  KDS v3.2 and V3.0 is different with KDS v2.0 , the library is different .

So, on KDS v3.2 and V3.0 , please change the lib to

-specs=rdimon.specs

Semihosting Enabled in KDS v3.0.0

My that DOC is refer to KDS v2.0 , at that time , there is no V3.0


Have a great day,
Alice

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

0 Kudos