How to print text on jlink commander?

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

How to print text on jlink commander?

Jump to solution
3,709 Views
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 Kudos
Reply
1 Solution
3,670 Views
ErichStyger
Specialist I

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

View solution in original post

3 Replies
3,689 Views
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 Kudos
Reply
3,673 Views
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 Kudos
Reply
3,671 Views
ErichStyger
Specialist I

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