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

Running code on Thingy52 using Segger running on a Mac

Hi - 

I'm using an nRF52840-DK with Segger IDE and if necessary, Gcc on a Macbook Pro. I have many years of embedded experience, but an new to the Nordic world. I'm able to run code on the DK and Segger without any problems and have the nordic command line tools installed. I'm trying to use the DK to program and debug the Thingy52, and that's where I'm running into problems and some confusion when searching reading through these archives, as some of the tools and techniques mentioned in the answers appear to be out of date. Here's what I'd like to do. It's probably something that many, many other folks would like to do as well: 

  1. Build, load, run and debug the Thingy App on the Thingy device using Segger IDE. Is it possible to do this without a huge amount of effort? 
  2. If I can't do (1) using Segger, next best would be to compile using Gcc + Make + the NRF command line tools. 
  3. Regardless of whether (1) or (2) are used to load and run code on Thingy, I need to see the debug logs showing up on a console somewhere. How do I make that happen?

Can someone give me the latest and greatest answers for these? Thanks - much appreciated! 

Parents
  • Hi.

    First off all, which SDK are you using? The Thingy SDK?

    Build, load, run and debug the Thingy App on the Thingy device using Segger IDE. Is it possible to do this without a huge amount of effort? 

     We do not have any support for SEGGER on the Thingy unfortunately.

    If I can't do (1) using Segger, next best would be to compile using Gcc + Make + the NRF command line tools. 

     You can either use GCC or Keil 5. If you choose GCC you can use Ozone to debug. Keil 5 has built in debugging.

    If you want to program and debug the Thingy you either have to use the onboard debugger on your nRF52840 DK or an external debugger, and connect the Thingy to one of these two.

    Best regards,

    Andreas

  • First off all, which SDK are you using? The Thingy SDK?

    Yes - I'm using thingy_sdk_v2.1.0 

    OK, seems like I should be using Keil IDE instead of Segger then if my goal is to run code on a Thingy - would you agree? 

Reply Children
Related