Libraries support options in DS

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

Libraries support options in DS

跳至解决方案
1,659 次查看
Liuliyuan
Contributor II

Hi,

I am trying to use print trace to debugger console with the function of printf in S32G-VNP-RDB3 project. Noticed that "newlib Debugger Console" should be chosen for the item of  Libraries support in Target Processer page. But in my project, there is such a option with console. What else should be set? 

Liuliyuan_1-1718794882220.png

 

 

 

0 项奖励
回复
1 解答
1,638 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @Liuliyuan

Thank you for contacting NXP Support.

Based on the following community post Semihosting printf with S32G274A - NXP Community
By now, "printf" using the S32 Debugger is an unsupported feature.
Therefore, we suggest you use a UART interface to implement a "printf" capability.

I hope this information will be helpful.

Have a great day!

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,639 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @Liuliyuan

Thank you for contacting NXP Support.

Based on the following community post Semihosting printf with S32G274A - NXP Community
By now, "printf" using the S32 Debugger is an unsupported feature.
Therefore, we suggest you use a UART interface to implement a "printf" capability.

I hope this information will be helpful.

Have a great day!

0 项奖励
回复
1,621 次查看
Liuliyuan
Contributor II

Got, thanks!

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1890328%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDS%20%E4%B8%AD%E7%9A%84%E5%BA%93%E6%94%AF%E6%8C%81%E9%80%89%E9%A1%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1890328%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FS32G-VNP-RDB3%2Fpd-p%2FS32G-VNP-RDB3%22%20class%3D%22lia-product-mention%22%20data-product%3D%222478-1%22%20target%3D%22_blank%22%3ES32G-VNP-RDB3%3C%2FA%3E%E9%A1%B9%E7%9B%AE%E4%B8%AD%E7%9A%84%20printf%20%E5%8A%9F%E8%83%BD%E5%B0%86%E6%89%93%E5%8D%B0%E8%B7%9F%E8%B8%AA%E5%88%B0%E8%B0%83%E8%AF%95%E5%99%A8%E6%8E%A7%E5%88%B6%E5%8F%B0%E3%80%82%E6%B3%A8%E6%84%8F%E5%9C%A8Target%20Processer%E9%A1%B5%E9%9D%A2%E7%9A%84Libraries%20support%E9%A1%B9%E4%B8%AD%E8%A6%81%E9%80%89%E6%8B%A9%E2%80%9Cnewlib%20Debugger%20Console%E2%80%9D%E3%80%82%E4%BD%86%E5%9C%A8%E6%88%91%E7%9A%84%E9%A1%B9%E7%9B%AE%E4%B8%AD%EF%BC%8C%E6%8E%A7%E5%88%B6%E5%8F%B0%E4%B8%AD%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E9%80%89%E9%A1%B9%E3%80%82%E8%BF%98%E5%BA%94%E8%AF%A5%E8%AE%BE%E7%BD%AE%E4%BB%80%E4%B9%88%EF%BC%9F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Liuliyuan_1-1718794882220.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Liuliyuan_1-1718794882220.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F284879iD84E6652F39F1E82%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Liuliyuan_1-1718794882220.png%22%20alt%3D%22Liuliyuan_1-1718794882220.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1891906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9ADS%20%E4%B8%AD%E7%9A%84%E5%BA%93%E6%94%AF%E6%8C%81%E9%80%89%E9%A1%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1891906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E7%9F%A5%E9%81%93%E4%BA%86%EF%BC%8C%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1890895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9ADS%20%E4%B8%AD%E7%9A%84%E5%BA%93%E6%94%AF%E6%8C%81%E9%80%89%E9%A1%B9%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1890895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F225658%22%20target%3D%22_blank%22%3E%40Liuliyuan%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E8%81%94%E7%B3%BB%20NXP%20%E6%94%AF%E6%8C%81%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%9F%BA%E4%BA%8E%E4%BB%A5%E4%B8%8B%E7%A4%BE%E5%8C%BA%E5%B8%96%E5%AD%90%EF%BC%9A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio%2FSemihosting-printf-with-S32G274A%2Ftd-p%2F1610755%22%20target%3D%22_blank%22%3ESemihosting%20printf%20with%20S32G274A%20-%20NXP%20Community%3C%2FA%3E%3CBR%20%2F%3E%E5%88%B0%E7%9B%AE%E5%89%8D%E4%B8%BA%E6%AD%A2%EF%BC%8C%E4%BD%BF%E7%94%A8%20S32%20%E8%B0%83%E8%AF%95%E5%99%A8%E7%9A%84%E2%80%9Cprintf%E2%80%9D%E5%8A%9F%E8%83%BD%E4%B8%8D%E5%8F%97%E6%94%AF%E6%8C%81%E3%80%82%3CBR%20%2F%3E%E5%9B%A0%E6%AD%A4%EF%BC%8C%E6%88%91%E4%BB%AC%E5%BB%BA%E8%AE%AE%E6%82%A8%E4%BD%BF%E7%94%A8%20UART%20%E6%8E%A5%E5%8F%A3%E6%9D%A5%E5%AE%9E%E7%8E%B0%E2%80%9Cprintf%E2%80%9D%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%88%91%E5%B8%8C%E6%9C%9B%E8%BF%99%E4%BA%9B%E4%BF%A1%E6%81%AF%E8%83%BD%E5%A4%9F%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%0A%3CP%3E%E7%A5%9D%E4%BD%A0%E6%9C%89%E7%BE%8E%E5%A5%BD%E7%9A%84%E4%B8%80%E5%A4%A9%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E