DK no longer recognised

I have just started with a new nRF52840DK, and was progressing well with VSCode etc.
I attempted to download Zephyr/samples/bluetooth/beacon to the kit, and it failed mid download (hung)
(Perhaps there is something I failed to appreciate about this samples compatibility .. however..)

Without any changes to connections or switches etc.
The board is no longer recognised in VS Code, and the 52840 CPU is happily running the last downloaded code.(Flashing LEDS and writing to the serial port)
The JLink section appears to be functional, as the 2 Serial ports appear, and work (in the SERIAL MONITOR section of VSCode - pic)
The JLink Drive also turns up in Explorer.
Dropping a Hex file onto this Drive - causes it to disappear after a second or so - indicating the JLink has tried to download to MCU - but it does not change the code.

nrfjprog 'knows about' the jlink, but hangs when attempting to perform any action. ( e.g. --eraseall ...)
My conclusion is that the Target MCU is not responding - possibly due to some boot/ loader being clobbered ??
Is there any way to restore some kind of base to the target MCU?

C:\Users\Owner>nrfjprog --ids --expand
---------- Emulators ----------
serial number:      1050266490
connection type:    USB
-------------------------------

C:\Users\Owner>nrfjprog --com
1050266490    COM5    VCOM0
1050266490    COM4    VCOM1

C:\Users\Owner>nrfjprog --reset
^C                       // <- ^C after some time
C:\Users\Owner>

VS Code details

Parents
  • Further info based on previous replies to similar problems.

    The board does not turn up as "BOOTLOADER" , but as JLINK?

    The Green LED flashes a couple of times rapidly on power on, then goes solid green for about 10 seconds, then begin a 'very quick off' flash at about 1Hz . Same if RST button is held or not. Thinking

  • Yes, anything which 'talks to the target' seems to hang.

    C:\Users\Owner>nrfjprog --com
    1050266490    COM5    VCOM0
    1050266490    COM4    VCOM1
    
    C:\Users\Owner>nrfjprog --recover
    ^C                                 //(allowed >1minute to complete then ^C to terminate)
    C:\Users\Owner>nrfjprog --reset
    ^C                                 //(allowed >1minute to complete then ^C to terminate)
    C:\Users\Owner>nrfjprog --eraseall
    ^C                                 //(allowed >1minute to complete then ^C to terminate)
    C:\Users\Owner>

Reply
  • Yes, anything which 'talks to the target' seems to hang.

    C:\Users\Owner>nrfjprog --com
    1050266490    COM5    VCOM0
    1050266490    COM4    VCOM1
    
    C:\Users\Owner>nrfjprog --recover
    ^C                                 //(allowed >1minute to complete then ^C to terminate)
    C:\Users\Owner>nrfjprog --reset
    ^C                                 //(allowed >1minute to complete then ^C to terminate)
    C:\Users\Owner>nrfjprog --eraseall
    ^C                                 //(allowed >1minute to complete then ^C to terminate)
    C:\Users\Owner>

Children
Related