After nRF52840-DK board flash with Jlink (commands are below) LED is off and no COM port detection
1. First attempt flash:
nrfjprog --family nrf52 --program gemini-pulsar-host.hex --sectorerase --reset
[error] [ nRF52] - Access protection is enabled, can't read device version.
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.
2. Run --recover as recommended to disable APP protect:
nrfjprog --family nrf52 --recover --log
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.
Writing image to disable ap protect.
3. Eraseall:
nrfjprog --family nrf52 --eraseall --log
Erasing user available code and UICR flash areas.
Applying system reset.
4.flash FW via Jlink to the DK board debug-in 10-pin port:
nrfjprog --family nrf52 --program gemini-pulsar-host.hex --sectorerase --reset
[ #################### ] 3.891s | Erase file - Done erasing
[ #################### ] 0.812s | Program file - Done programming
WARNING: A programming operation has been performed without --verify.
WARNING: Programming can fail without error.
Applying system reset.
Run.
5. cant detect nRD52DK board in COM port, no LED light anymore.
Dawei