Printf() statement for BCC_S32K144_Monitoring_Diagnostics

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

Printf() statement for BCC_S32K144_Monitoring_Diagnostics

1,931 次查看
sushma
Contributor III

Hello,

 I want to print it on the Debugger Console constantly,there are printf statements which prints on UART, unlike on Teraterm or Putty just once (via. UART), but I'm not able to print basic command  [printf("Hello\n");] ; I did made the changes in the settings from ewl_c no I/O to newlib Debugger Console,yet I'm not able to print. Kindly help me in this regard.

Thank you.

pastedImage_4.png

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

1,660 次查看
stanish
NXP Employee
NXP Employee

Hi,

I'd suggest you to check if debug configuration has enabled semihosting:

pastedImage_1.png

Please check the thread below for more details:

S32K and printf() implementation 

Hope it helps.

Stan

0 项奖励
回复

1,660 次查看
sushma
Contributor III

Hello Stanislav,

I tried it, yet I'm not getting the printf statements on console, Kindly tell where I'm going wrong.

Thank you.

pastedImage_1.pngpastedImage_2.png

0 项奖励
回复

1,660 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Sushma, 

in attachment is project with semihosting print - just for reference. You can compare this project/debug properties with yours one. Here is output: 

pastedImage_1.png

0 项奖励
回复

1,660 次查看
sushma
Contributor III

Hello Jiri,

I  found the output picture, couldn't find the project attachment. 

0 项奖励
回复

1,660 次查看
jiri_kral
NXP Employee
NXP Employee

Hi,

This is strange, I can see and download attachment even when I'm not logged in: 

pastedImage_1.png

Jiri

1,660 次查看
sushma
Contributor III

Hello Jiri,

Yeah, got the attachment this time, its up and running fine.

Thank you,

Sushma

0 项奖励
回复

1,660 次查看
sushma
Contributor III

Hello Stanislav,

I have done the following changes and still not able to get the printf results on Console. Kindly tell me where I'm going wrong.

pastedImage_1.png

Thank you,

Sushma Mantagani

0 项奖励
回复