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

debugging with Linux

Hello,

I am new in this community and I am trying to get started with developments using nRF52840 DK. I am using SDK 13.0 for the library and I compile my code using armgcc. JLink for Linux V620h is used for the connection between the chip and the pc.

Now the problem that I am facing is how to get messages from the nRF52840 chip. Since I am using Linux, I can not directly use Kely microVersion and the real time terminal.

Do you have a simple tool to get data from the chip (through uart, RTT, or other protocols) ?

A minor point, is the configuration of the sdk_config.h file which does not look good using a Qtcreator. So again, any ideas are welcome !

Thanks,

Parents
  • Hi guys! Thank you for your help :). SES seems to be a good solution for debugging, I have also tried this tutorial and it works fine on linux too. I am able to set break points as it is the case using SES. The problem that I have with SES and not with Qt creator, is how to follow definition under cursor to jump from one file to another file. Though, I still struggle to use the printf function or NRF_LOG_INFO("test") with Qt creator and the command ./JLinkGDBServer -device nRF52840_xxAA -if swd -endian little -speed 1000 -port 2331 -singlerun -notimeout

Reply
  • Hi guys! Thank you for your help :). SES seems to be a good solution for debugging, I have also tried this tutorial and it works fine on linux too. I am able to set break points as it is the case using SES. The problem that I have with SES and not with Qt creator, is how to follow definition under cursor to jump from one file to another file. Though, I still struggle to use the printf function or NRF_LOG_INFO("test") with Qt creator and the command ./JLinkGDBServer -device nRF52840_xxAA -if swd -endian little -speed 1000 -port 2331 -singlerun -notimeout

Children
No Data
Related