Issue flashing firmware

Hello.

I have been successfully flashing the nrf52840 dongle using the nrfjprog comand. I have been successfully able to reset and erase as well. Recently however, none of my boards have been able to flash, erase or reset. Here is the error that it presents:

[error] [ Client] - Encountered error -5: Command read_device_info executed for 6 milliseconds with result -5

[error] [ Worker] - Encountered unexpected debug port ID 0, expected 2

[error] [ Client] - Encountered error -11: Command read_memory_descriptors executed for 2150 milliseconds with result -11

Failed to read device memories.

[error] [  nRF52] - Device memory generation failed.

[error] [ Worker] - Could not connect to CPU core. This may indicate that AP protection is enabled.

An unknown error.

ERROR: Cannot connect to any nRF device. Please make sure a device is

ERROR: connected to the debugger and supplied.

NOTE: For additional output, try running again with logging enabled (--log).

NOTE: Any generated log error messages will be displayed.

Any help will be appreciated.

Thanks.

Parents Reply
  • Hello, thanks for getting back to me. I was using a J-Link EDU Mini to flash the boards. This had been working fine until it just stopped working with the dongles for some reason. I also have custom boards with the nRF52840 chipset which the EDU mini can still flash so it is very weird. I have managed to flash the boards however, I ended up using a J-Link Base Compact and was able to flash the boards successfully.

    Thanks for the assistance.

Children
Related