How to print text on jlink commander?

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

How to print text on jlink commander?

跳至解决方案
3,177 次查看
itr1718
Contributor III

Hello and happy new year!

 

I will transfer data with KDS after programming. I found Jlink Commander which is external command for Jlink product. I succeed to flash to mcu. But I want to also print text or numbers on jlink commander. But I didn't find examples for that and can only flash.

 

Can someone advice me how I can work between Kinetis design studio and Jlink commander?

Is there some special functions or methods?

0 项奖励
回复
1 解答
3,138 次查看
ErichStyger
Senior Contributor V

Hi @itr1718 ,

have a look at the SEGGER RTT protocol: I use that as 'virtual COM' or data logger for most of my projects. 

You can use the RTT Viewer or RTT client, or with a telnet connection.

Articles about it:

https://mcuoneclipse.com/2015/07/07/using-segger-real-time-terminal-rtt-with-eclipse/

https://mcuoneclipse.com/tag/segger-rtt/ 

I hope this helps,

Erich

在原帖中查看解决方案

3 回复数
3,157 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @itr1718 

Happy new year as well!

Could you describe further your project or  the interaction between KDS and J link commander? For example, do you want to emulate a printf function?

From my experience the J-link commander is not used in conjunction with the IDE as other Segger tools  like J-link GDB Server  ( for initializing a debug connection) or the Bootloader firmware for debug probes.

My apologies for the delay,

All the best , 

Diego. 

 

0 项奖励
回复
3,141 次查看
itr1718
Contributor III

Hi @diego_charles ,

I mean, I am working with sensors and KL27 MCU. I can print the values from sensors on console in KDS. I would like to advance further to transfer data and show the values on the other easy platform, for example, terminal, commander or similar. Because not all PC have and need the IDE like kinetis design studio. I have .elf and .hex file and can also get .bin file. 

 

But I am new and don't have any ideas. 

Have you already some experience like that?

How did you that and which program did you use?

 

Thanks

0 项奖励
回复
3,139 次查看
ErichStyger
Senior Contributor V

Hi @itr1718 ,

have a look at the SEGGER RTT protocol: I use that as 'virtual COM' or data logger for most of my projects. 

You can use the RTT Viewer or RTT client, or with a telnet connection.

Articles about it:

https://mcuoneclipse.com/2015/07/07/using-segger-real-time-terminal-rtt-with-eclipse/

https://mcuoneclipse.com/tag/segger-rtt/ 

I hope this helps,

Erich