Libraries support options in DS

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

Libraries support options in DS

Jump to solution
2,028 Views
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 Kudos
Reply
1 Solution
2,007 Views
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!

View solution in original post

0 Kudos
Reply
2 Replies
2,008 Views
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 Kudos
Reply
1,990 Views
Liuliyuan
Contributor II

Got, thanks!

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1890328%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELibraries%20support%20options%20in%20DS%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%3EI%20am%20trying%20to%20use%20print%20trace%20to%20debugger%20console%20with%20the%20function%20of%20printf%20in%20%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%26nbsp%3Bproject.%20Noticed%20that%20%22newlib%20Debugger%20Console%22%20should%20be%20chosen%20for%20the%20item%20of%26nbsp%3B%20Libraries%20support%20in%20Target%20Processer%20page.%20But%20in%20my%20project%2C%20there%20is%20such%20a%20option%20with%20console.%20What%20else%20should%20be%20set%3F%26nbsp%3B%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%3ERe%3A%20Libraries%20support%20options%20in%20DS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1891906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGot%2C%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1890895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Libraries%20support%20options%20in%20DS%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%3EThank%20you%20for%20contacting%20NXP%20Support.%3C%2FP%3E%0A%3CP%3EBased%20on%20the%20following%20community%20post%26nbsp%3B%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%3EBy%20now%2C%20%22printf%22%20using%20the%20S32%20Debugger%20is%20an%20unsupported%20feature.%3CBR%20%2F%3ETherefore%2C%20we%20suggest%20you%20use%20a%20UART%20interface%20to%20implement%20a%20%22printf%22%20capability.%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20information%20will%20be%20helpful.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day!%3C%2FP%3E%3C%2FLINGO-BODY%3E