Using Desktop Tools version 3.10.0 and
programmer 2.3.3
when attempting to erase or program the nRF5340DK (V2.0.0)
I get the following error
14:39:28.006Resetting device14:39:28.724Resetting device completed
14:39:32.842Recovering NRFDL_DEVICE_CORE_APPLICATION core
14:39:33.887Failed to recover NRFDL_DEVICE_CORE_APPLICATION core: async task failure for id: 3737510431 msg: bad function call
14:39:33.890Recovering NRFDL_DEVICE_CORE_NETWORK core
14:39:34.995Failed to recover NRFDL_DEVICE_CORE_NETWORK core: async task failure for id: 3738558547 msg: bad function call
14:39:34.998Device recovery completed
14:39:35.001Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via JLink
14:39:35.001JLink OB firmware version J-Link OB-nRF5340-NordicSemi compiled Jul 2 2021 10:55:25
I tried to recover the device from the command prompt with nrfjprog --recover and that appeared to work, but when i use the programmer this error still occurs and does not program the board. I also cannot program through VSC.