printf() not working in KDS

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

printf() not working in KDS

1,500 次查看
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

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

1,308 次查看
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 项奖励
回复

1,308 次查看
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 项奖励
回复

1,308 次查看
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 项奖励
回复