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
:)
  • Thanks to your valuable help the prior issues are resolved

    Now it looks like it is compiling but fatal-ing on the flash:

    ERROR: No debuggers were discovered.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    FATAL ERROR: command exited with status 41: nrfjprog --program 'C:\nordic\myapps\fund_less1_ecer2\build\fund_less1_ecer2\zephyr\zephyr.hex' --sectoranduicrerase --verify -f NRF52 --snr 1050265833

    It seems to me like my nRF Connect needs some issue fixes - can you advise

  • 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

Related