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.