This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Print data to eclipse console/terminal for nrf52 on OSX

Hi,

I am using eclipse IDE and gdb to debug and flash applications onto nrf52 dk. I wish to be able to print data and messages to the eclipse console. I work on mac OSX. How can i achieve this? I tried stdout printf(), and the nrf 5 sdk v11.0 provided library NRF_LOG_PRINTF() which uses UART to print messages but none of them seem to work. I am using Jlink and gdb to debug. Can someone please help me out with this? Any help is appreciated.

Parents
  • Segger RTT is a good alternative to UART log. It's much more faster and less intrusive. But of course, you will need proprietary Segger tools and a JLink probe to use it.

    You Mac OS X, you can use the JLinkRTTCLient software from Segger. The Viewer is not available on Mac OS X. If you want to integrate the Segger console in Eclipse, the solution given by @vibe is a good option. Here is the configuration of the console:

    image description

Reply
  • Segger RTT is a good alternative to UART log. It's much more faster and less intrusive. But of course, you will need proprietary Segger tools and a JLink probe to use it.

    You Mac OS X, you can use the JLinkRTTCLient software from Segger. The Viewer is not available on Mac OS X. If you want to integrate the Segger console in Eclipse, the solution given by @vibe is a good option. Here is the configuration of the console:

    image description

Children
No Data
Related