How to print in the IAR I/O terminal?

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

How to print in the IAR I/O terminal?

3,732 次查看
vitorgabriel100
Contributor II

Hi, 

I want to know how to print in the I/O terminal of IAR workbench? My device board is a kw24d.

When I use printf(), it doesn't' prints nothing in this terminal. My debugger driver is is in the PE micro option. I tried to use stdout/stderr via semihosting and via SWO, and nothing happened.

Thanks

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

3,296 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Which example are you trying? Also, in which connector are you using the board?

Regards,
Estephania

0 项奖励
回复

3,296 次查看
vitorgabriel100
Contributor II

Hello

I'm using the board with a usb connector. And I'm trying to trying to play a lot of examples, like the connectivity example provide by nxp. The examples works well and using a serial terminal I can print what I want, but for a specific work i need to print somethings in the I/O terminal of IAR, and I'm not achieving.  

 

Regards, 
Vítor

0 项奖励
回复

3,296 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

There are two USB connectors in the freedom board, so , I'm not sure which one you use.

As I'm not sure which example you are using, I'll try to help you in a general way, it is most likely that you won't be able to use the semihosting in the demo due to the timings of the software stack.

Usually when you use the semihosting there are some extra timings and resources used that might be affecting the flow of the wireless stack.

Sorry for the inconveniences this might cause you.

Regards,

Estephania

0 项奖励
回复