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

SES IDE buggy, development with nrf91 and nrf52

Hi, 

I have been working on setting up the environment for development of nrf52840 and nrf9160 the past three days. I have nRF9160 dk which comes with nrf52840. 
I have been struggling with Segger studio arm v4.52 nordic edition as it is very buggy and keeps failing (indexer failing every time). 
I am not sure how to proceed forward because I have tried to google and solve most of the issues faced but these that i mentioned are difficult to.
Any suggestions on how to proceed forward? Do you recommend to change IDE? Are there Segger Studio nordic edition for different version? Maybe V4.52c? 

I have looked over visual studios but it is mostly regarding nrf52 development, is it possible to debug and code for nrf91 using visual studios? 

I am using MacOS v 10.15.1 Catalina 


I would appreciate all help! 

Best Regards,
Hamza

Parents
  • Hello Hamza, 

    Do you have any errors or output that I work with? What errors do you see, and at what point do you get them? 

    Thanks!

    -Øyvind

  • Hi Øyvind! 


    I always get this when I open SES Nordic Edition version 4.52 and cannot find declaration or definition of any function or variable. 

    I get the following error when i build and run asset tracker example. It builds but fails to flash it. 


    Since I posted this ticket I have moved on to SES version 4.52C which i downloaded directly from SES website - this version works better and less buggy. But, I cannot open the nrf9160 applications similar to the guide for nrf sdk connect (nrf connect options doesn't exist nor the open nrf sdk connect project option). 

    I have another question regarding RTOS and examples; Are there examples on zephyr rtos for nrf52840? (I have only found for FREERTOS)

    Best Regards,
    Hamza 

  • Hi Hamza,  

    Hamza_HK said:
    But, I cannot open the nrf9160 applications similar to the guide for nrf sdk connect (nrf connect options doesn't exist nor the open nrf sdk connect project option). 

     Yes, this is correct as it is not Nordic Edition. We are aware of issues with SES v4.52 Nordic Edition and are working to fix these issues. Unfortunately, I do not have any timeline for when this will be fix or a new version is ready.

    What guide did you follow to install NCS and Segger Embedded Studio? Did you use the Getting Started Assistant or the Toolchain Manager in nRF Connect for Desktop? Have you configured SES correctly?

     

    Hamza_HK said:
    I have another question regarding RTOS and examples; Are there examples on zephyr rtos for nrf52840? (I have only found for FREERTOS)

     Yes, there several examples for nRF52840 using NCS. Have a look at our samples, and the Working with nRF52 chapter.

    Kind regards,
    Øyvind

  • Hi, 

    I followed the guide through the toolchain manager in nrf connect for desktop. I configured SES correctly. I cannot open nrf9160 applications through SES V4.52C (not nordic edition) because they do not have SES project, rather have to be built through the process in getting started assistant. 

    I will have a look at NCS. I figured I will use SES V4.52C to edit and V4.52 nordic edition to create a project from NCS until the issue is fixed. Thank you. 

    Another question: Is it possible to migrate our code from Silicon labs EFR32 to nRF52840?

    Best Regards,
    Hamza

Reply
  • Hi, 

    I followed the guide through the toolchain manager in nrf connect for desktop. I configured SES correctly. I cannot open nrf9160 applications through SES V4.52C (not nordic edition) because they do not have SES project, rather have to be built through the process in getting started assistant. 

    I will have a look at NCS. I figured I will use SES V4.52C to edit and V4.52 nordic edition to create a project from NCS until the issue is fixed. Thank you. 

    Another question: Is it possible to migrate our code from Silicon labs EFR32 to nRF52840?

    Best Regards,
    Hamza

Children
  • Hamza_HK said:
    I followed the guide through the toolchain manager in nrf connect for desktop.

    When using Toolchain Manager on macOS, you are met with a yellow box stating that "The macOS support is experimental". Did you open SES using the Open IDE button in the Toolchain Manager? You cannot use SES downloaded from Segger.com

    If you are having bigger issues with the Toolchain Manager, I suggest following the Getting Started Assistant.

    I don't know EFR32 and its SDK, and can therefore not comment on that.

  • Sorry I said wrong. I followed the Getting Started Assistant. I have done everything correctly. The issue seems to be with SEGGER v4.52 nordic edition for MacOS. I don't get the same errors using the SEGGER IDE V4.52C for MacOS. 

  • Hamza_HK said:
    I don't get the same errors using the SEGGER IDE V4.52C for MacOS. 

    No, this is correct as the official Segger IDE v4.52C is not supported/built for NCS. In SES - Nordic Edition you have several Nordic specific features e.g. the nRF Connect tab under Tools -> Options. Have you configured this correctly as described in the last step of the Getting Started Assistant?


    If you are not able to use the IDE (SES - Nordic Edition), then I suggest building using West in the command line. If you have set up everything correct, you can open a terminal in macOS. Navigate to your asset tracker application:

    source <NCS root folder>/zephyr/zephyr-env.sh
    
    cd <NCS root folder>/nrf/applications/asset tracker
    
    west build -b nrf9160dk_nrf9160ns -d build
    
    west flash
    

Related