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

Debugger problem with Segger Embedded Studio 4.30c

Hello,

I tried to run debugger but I got this error. Do someone have an idea please ? It's the same error with aws_fota sample.

Parents
  • Hi!

    Could you be more specific about what steps you're doing before you get this error?

    Are you trying to run a sample or your own application?

    Where is your NCS directory located, and where is the application you are running located in relation to the NCS directory?

    Have you tried flashing using the command line (west build -b nrf9160_pca10090ns -d build -p) - do you get the same error here?

    I think you should try deleting your whole NCS directory and installing it again. 

    Best regards,

    Heidi

  • Thank you for your help.

    You can reproduce it with aws fota sample.

    Steps are:
    - import project
    - build
    - try to run debugger on it


    I tried west build but I got an error that build is an invalid argument.


    New NCS => no change.

  • Does anyone can tell me how to change HEX target to ELF (I not found where it's done)

  • Hi! Not sure what you mean by that. I wasn't able to reproduce your error, unfortunately. 

     

    Fabien Comte said:
    I tried west build but I got an error that build is an invalid argument.

     However, if running west build -b nrf9160_pca10090ns -d build -p gives you that build is an invalid argument, you don't have west installed.

    Did you go through the Getting Started Assistant in nRF Connect?

    Specifically, in step 2 they ask you to run pip3 install west. 

  • Please open project in SES and don't use command to build but SES (like the way used in getting started) and you will see.

  • C:\Users\Fabien>pip3 install west
    Requirement already satisfied: west in c:\python38\lib\site-packages (0.6.3)
    Requirement already satisfied: colorama in c:\python38\lib\site-packages (from west) (0.4.1)
    Requirement already satisfied: PyYAML in c:\python38\lib\site-packages (from west) (5.1.2)
    Requirement already satisfied: setuptools>=v40.1.0 in c:\python38\lib\site-packages (from west) (41.2.0)
    Requirement already satisfied: configobj in c:\python38\lib\site-packages (from west) (5.0.6)
    Requirement already satisfied: pykwalify in c:\python38\lib\site-packages (from west) (1.7.0)
    Requirement already satisfied: six in c:\python38\lib\site-packages (from configobj->west) (1.13.0)
    Requirement already satisfied: docopt>=0.6.2 in c:\python38\lib\site-packages (from pykwalify->west) (0.6.2)
    Requirement already satisfied: python-dateutil>=2.4.2 in c:\python38\lib\site-packages (from pykwalify->west) (2.8.1)
    F:\Git\XXX\Projects\XXX\6_Sources\EmbeddedApplication>west build -b nrf9160_pca10090ns -d build -p
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'config', 'selfupdate', 'help')
  • Fabien Comte said:
    Please open project in SES and don't use command to build but SES (like the way used in getting started) and you will see.

     This is exactly what you did.

    Again, if you are having trouble running the west build command in a terminal as well, SES is not your problem.

     

    Fabien Comte said:
    F:\Git\XXX\Projects\XXX\6_Sources\EmbeddedApplication>west build -b nrf9160_pca10090ns -d build -p

     Are you running the command inside your NCS directory? I can't tell. Please try to run the command inside the aws_fota directory. 

Reply
  • Fabien Comte said:
    Please open project in SES and don't use command to build but SES (like the way used in getting started) and you will see.

     This is exactly what you did.

    Again, if you are having trouble running the west build command in a terminal as well, SES is not your problem.

     

    Fabien Comte said:
    F:\Git\XXX\Projects\XXX\6_Sources\EmbeddedApplication>west build -b nrf9160_pca10090ns -d build -p

     Are you running the command inside your NCS directory? I can't tell. Please try to run the command inside the aws_fota directory. 

Children
Related