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 Bjørn , Thank you, you are right I can go to definition using in Segger Embedded Studio and the "Go To Definition" function. I guess both methods come to the same at the end. But I just prefer using the same IDE for all my projects. Finally I am able to set up break points in the code and output results on my computer with SEGGER_RTT_printf() function. When debugging I run the two following command to start a GDB server (for debugging) and start a RTT client for the output

    ./JLink_Linux_V620h_x86_64/JLinkGDBServer -device nRF52840_xxAA -if swd -endian little -speed 1000 -port 2331 -singlerun -notimeout
    ./JLinkRTTClient
    
Reply
  • Hi Bjørn , Thank you, you are right I can go to definition using in Segger Embedded Studio and the "Go To Definition" function. I guess both methods come to the same at the end. But I just prefer using the same IDE for all my projects. Finally I am able to set up break points in the code and output results on my computer with SEGGER_RTT_printf() function. When debugging I run the two following command to start a GDB server (for debugging) and start a RTT client for the output

    ./JLink_Linux_V620h_x86_64/JLinkGDBServer -device nRF52840_xxAA -if swd -endian little -speed 1000 -port 2331 -singlerun -notimeout
    ./JLinkRTTClient
    
Children
No Data
Related