How to print text on jlink commander?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to print text on jlink commander?

ソリューションへジャンプ
3,050件の閲覧回数
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,011件の閲覧回数
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,030件の閲覧回数
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,014件の閲覧回数
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,012件の閲覧回数
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