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.

  • 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. 

  • Hello Heidi,

    This is strange, in aws_fota this command works but in my directory (a copy of aws_fota sample), it's not. What settings / variables I have to change when I move a sample please ?

  • To work in SES I changed in CMakeLists.txt some paths

    include($ENV{ZEPHYR_BASE}/../nrf/cmake/boilerplate.cmake NO_POLICY_SCOPE)
    include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)

    What am I missing for west configuration ?

Related