Hi!
Recently, I tried putting my nrf9160dk into SYSTEM OFF mode. The code instantly puts it into SYSTEM OFF mode and waits for a gpio interrupt. The problem however is that the code for some reason does not work and the board is stuck in SYSTEM OFF mode. So i tried reflashing it but when i use west flash i get this error:
[error] [ Client] - Encountered error -102: Command read_device_info executed for 136 milliseconds with result -102 [error] [ Worker] - An unknown error. [error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 33 milliseconds with result -102 Failed to read device memories. [error] [ Worker] - An unknown error. ERROR: JLinkARM DLL reported an error. Try again. If error condition ERROR: persists, run the same command again with argument --log, contact Nordic ERROR: Semiconductor and provide the generated log.log file to them. 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 33: nrfjprog --program /home/raytoningu/flox_zephyr_workspace/ws/apps/deepsleep_test/build/zephyr/merged.hex --sectorerase --verify -f NRF91 --snr 960083536
If i try things like nrfjprog --recover i get a similar error:
[error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 674 milliseconds with result -102 ERROR: Unable to connect to a debugger. [error] [ Worker] - An unknown error. ERROR: JLinkARM DLL reported an error. Try again. If error condition ERROR: persists, run the same command again with argument --log, contact Nordic ERROR: Semiconductor and provide the generated log.log file to them. NOTE: For additional output, try running again with logging enabled (--log). NOTE: Any generated log error messages will be displayed.
I know that the board is stuck in deepsleep since the measured current is around 2 microampere. What can I do to reset the board?