blinky isn't

How do I resolve/update:
zephyr-sdk is outdated. Found 0.16.5, but 0.16.8 is required by the SDK.
Clock3 python is outdated. Found 3.9.13, but 3.12.4 is required by the SDK.
Blinky isn't blinking
:)
Parents
  • Hi Scott,

    Could you provide details of the board that you are using and the SDK that you are working with ?

    Regards,

    Priyanka 

  • Hello Priyanka and thank you.

    I am using a nRF52840 Development Kit Board.

    The SDK I am using is:

     Using the nRF Connect SDK v3.6.99 at c:\ncs\v2.7.99-cs2

    I am following DevAcadamy nRF Connect SDK Fundamentals Lesson 1 Exercise 2

    When I plug my USB cord in the board does not show up in the connected devices view:

    No devices found
    The "code view" shows:
    {
      "board": "nrf52840dk/nrf52840",
      "boardRevision": "",
      "boardDir": "c:/ncs/v2.7.99-cs2/zephyr/boards/nordic/nrf52840dk",
      "shouldBuild": true,
      "optimizations": "none",
      "cmakeArgs": [],
      "confFiles": [
        "prj.conf"
      ],
      "buildDirectory": "build",
      "kconfigFragments": [],
      "snippets": [],
      "dtcOverlays": [],
      "extraDtcOverlays": []
    }
    not sure the board statement is correct or does the board have a "off/on" switch?
    Output "view" is:
    [02:32:20] =========== Toolchain validation report for nRF Connect SDK Toolchain v2.7.0 ===========
    [02:32:21] Update available nsscprodmedia.blob.core.windows.net/.../nrf-command-line-tools-10.24.2-x64.exe
    Package Using the nRF Connect SDK v3.6.99 at c:\ncs\v2.7.99-cs2
    Clock3 zephyr-sdk is outdated. Found 0.16.5-1, but 0.16.8 is required by the SDK.
    Clock3 python is outdated. Found 3.9.13, but 3.12.4 is required by the SDK.
    Exclamation️ nrfjprog couldn't be executed. Please ensure that SEGGER J-Link Software and Documentation Pack and nRF Command Line Tools are both installed.
  • Latest error:

    [error] [ Client] - Encountered error -90: Command erase_file executed for 28 milliseconds with result -90
    [error] [ nRF52] - Failed while erasing device. -90: Access protection is enabled, can't read device version.
    [error] [ Worker] - Access protection is enabled, can't read device version.
    ERROR: The operation attempted is unavailable due to readback protection in
    ERROR: your device. Please use --recover to unlock the device.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    ERROR: runners.nrfjprog: Flashing failed because the target must be recovered.
    To fix, run "west flash --recover" instead.
    Note: this will recover and erase all flash memory prior to reflashing.
    FATAL ERROR: command exited with status 24: nrfjprog --program 'C:\nordic\myapps\fund_less1_ecer2\build\fund_less1_ecer2\zephyr\zephyr.hex' --chiperase --verify -f NRF52 --snr 1050265833

    * The terminal process terminated with exit code: 24.
    * Terminal will be reused by tasks, press any key to close it.

    How do I deactivate device protection?

  • Hi Scott,

    In order to deactivate the device protection, you could try nrfjprog --recover, or as mentioned in the log:

    tylerca310 said:
    To fix, run "west flash --recover" instead.

    -Priyanka

  • Latest issue:

    PS C:\nordic\myapps\fund_less1_ecer2>
    PS C:\nordic\myapps\fund_less1_ecer2> west flash --recover
    spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + west flash --recover
    + ~~~~
    + CategoryInfo : ObjectNotFound: (west:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:\nordic\myapps\fund_less1_ecer2> --recover
    At line:1 char:3
    + --recover
    + ~
    At line:1 char:3
    + --recover
    + ~~~~~~~
    Unexpected token 'recover' in expression or statement.
    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

    PS C:\nordic\myapps\fund_less1_ecer2> -- recover
    At line:1 char:3
    + -- recover
    + ~
    At line:1 char:4
    + -- recover
    + ~~~~~~~
    Unexpected token 'recover' in expression or statement.
    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

    Where should I get the missing software from?

  • You are trying "--recover" and not "nrfjprog--recover". Please try "nrfjprog --recover". This should help.

    -Priyanka

  • PS C:\nordic\myapps\fund_less1_ecer2> nrfjprog--recover
    nrfjprog--recover : The term 'nrfjprog--recover' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
    again.
    At line:1 char:1
    + nrfjprog--recover
    + ~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (nrfjprog--recover:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Reply
  • PS C:\nordic\myapps\fund_less1_ecer2> nrfjprog--recover
    nrfjprog--recover : The term 'nrfjprog--recover' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
    again.
    At line:1 char:1
    + nrfjprog--recover
    + ~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (nrfjprog--recover:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Children
Related