nRF 7002DK - BLE sample codes on SDK V.2.4.1

Hİ,

I can build and flash the basic samples like blinky, buttons etc. on the latest SDK v.2.4.1, but when i try to flash the bluetooth examples on the directory  (...\v2.4.1\zephyr\samples\bluetooth) , create the build configurations for board ( nrf7002dk_nrf5340_cpuapp_ns) and flash the device, i took some error like ;

[error] [ Client] - Encountered error -90: Command read_memory_descriptors executed for 15 milliseconds with result -90
[error] [ Worker] - Can't read memory descriptors, ap-protection is enabled.
[error] [ Client] - Encountered error -90: Command erase_file executed for 61 milliseconds with result -90
[error] [ nRF53] - Failed while erasing device. -90: Access protection is enabled, can't read block protection state.
[error] [ Worker] - Access protection is enabled, can't read block protection state.
[ ###### ] 0.000s | Erase file - Check image 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: your target is an nRF53; all flash memory for both the network and application cores will be erased prior to reflashing.
FATAL ERROR: command exited with status 24: nrfjprog --program 'c:\Users\gozde.guvendi\Desktop\NRF_Projects\broadcaster6\build\zephyr\zephyr.hex' --chiperase --verify -f NRF53 --coprocessor CP_NETWORK --snr 1050774555

How can i solve this problem and try the BLE samples on the latest SDK version? Are these files compatible for nrf7002dk_nrf5340 ?

I tried nrfjprog --recover but this action could not solve my problem.

Thanks for your help. 

Parents
  • Hi, 

    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.

    Please try to run "west flash --recover". 

    Regards,
    Amanda H.

  • Hi Amanda,

    I couldn't try it, i took this message:

    west : The term 'west' 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
    + west flash --recover
    + ~~~~
    + CategoryInfo : ObjectNotFound: (west:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    I also tried : nrfjprog --recover ,  but the first flashing error ramains the same. 

    Thank you.

Reply
  • Hi Amanda,

    I couldn't try it, i took this message:

    west : The term 'west' 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
    + west flash --recover
    + ~~~~
    + CategoryInfo : ObjectNotFound: (west:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    I also tried : nrfjprog --recover ,  but the first flashing error ramains the same. 

    Thank you.

Children
No Data
Related