Bricked PCA10056 52840 DK

I have a  PCA10056 (nRF52840 DK) and while programming it with a UART example from the nRF5_SDK_17.1.0_ddde560 using Segger Embedded Studio for Arm  5.42a, it will not show up on the COM anymore in Windows. 

I do a RESET hold and power of/on and then LED5 flashes green, but only if I plug the USB in from the long side of the board (which suppsoed to be the USB application port).  If I plug in from the short side in the USB, I do not get LED5  to come on, even if I do a RESET and hold off/on.  If I plug one USB cable in the long end and do the RESET off/on to start LED5 flash green...and also plug in another USB cable in the short side USB port... then when I unplug the USB cable on re long side, the LED5 remains fleshing.

When I do the RESET and power off/on, the BOOTLOADER mass storage shows up for a few seconds.  I tired to drop previously good hex apps on it, but it does not have enough space, shows only 108KB of 128KB free.  So I cannot drop the 1MB  j-link-ob-sam3u128-v2-nordicsemi-170724.bin on it, not any hex files that are more than 100KB.  Also, the mass storage only stays active for a few seconds then disappears on its own while making the Windows sound of a USB port disconnect.  I cannot see any devices in NRF Connect for Desktop (latest version) Programmer and  Quick Start.  

When I connect the J-Link Mini-Edu to the DK board's SWIO, SWCLK, GND, and separate 3-5V V-in, I can see a J-link device in Desktop Programmer and Quick Start.  But, the Programmer cannot identify it.  It says I should do a full erase to free up the protected memory. When I try a full erase, it says it's protected and will not let me do it. 

I checked out these guides, but no avail.  I have not yet done a njprog- erase on comand line tool, I would need some guidance on that.  Or if I should use any other J-LINK programs/terminals..  Segger Studio also did not show any options to use for J-Link Connect and shows no COM ports.  

Rebooted the laptop, and other MCU boards work, like an Nrf52840 dongle (PCA10059). 

 nRf52840 unseen under Device Manager. How to restore? 

 factory reset nrf52-dk 

Parents
  • The files inside the USB mass storage that appears in Windows for a few seconds when doing a RESET:

    -fseventsd         (yellow folder)

    .metadata_never_index

    .Trashes

    bootload.htm

  • Hi Tom,

    Could you tell me the revision on your DK? (white sticker on DK)

    When you connect the J2 USB and normally switch on the DK, is it being detected ?

    If you have any other DK could you please try flashing the problematic DK using that, or if you have any other debugger, could you try flashing your DK using that? This will help us isolate the issue to the Debug chip.

    Regards,

    Priyanka

  • Thank you for the reply.  The sticker says PCA10056  /   2.0.1   /  2020.20  /  683880610.

    When I connect the J2 USB port (long side) of the PCA10056 DK to my Windows laptop and turn on POWER on the board, nothing happens. No LEDs, no sign of any device in Windows and in nRF Connect Desktop -> Programmer 4.2.2. 

    If I disconnect the board, leave the POWER switch ON and hold down the IF BOOT/RESET button while reconnecting the J2 USB...then the LED5 starts flashing, and BOOTLOADER mass storage device shows up in Windows (with 108KB of 128KB free). It does not show up in nRF Connect Desktop -> Programmer.   And after about 30 seconds the BOOTLOADER mass storage device disappears on its own, while LED5 remains flashing on the board.

    I have a nRF5340 DK, PCA 10095, 2.0.0., 2022.4 and several nRF52840 PCA10059 dongles.  I also have the J-Link Edu Mini. 

    It's a bit late here tonight, but if you could describe how to flash the PCA10056 with the PCA 10095 or with the J-Link Edu Mini, I will do that tomorrow. 

    EDIT:  when I connect the J-Link EDU Mini to SWD CLK/IO/GND/V-in pins on the PCA10056 DK and I open Programmer 4.2.2., J-link shows up as device, and the Programmer is trying to read the DK memory, but get this error message in red color:

    • Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1)
    • Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
Reply
  • Thank you for the reply.  The sticker says PCA10056  /   2.0.1   /  2020.20  /  683880610.

    When I connect the J2 USB port (long side) of the PCA10056 DK to my Windows laptop and turn on POWER on the board, nothing happens. No LEDs, no sign of any device in Windows and in nRF Connect Desktop -> Programmer 4.2.2. 

    If I disconnect the board, leave the POWER switch ON and hold down the IF BOOT/RESET button while reconnecting the J2 USB...then the LED5 starts flashing, and BOOTLOADER mass storage device shows up in Windows (with 108KB of 128KB free). It does not show up in nRF Connect Desktop -> Programmer.   And after about 30 seconds the BOOTLOADER mass storage device disappears on its own, while LED5 remains flashing on the board.

    I have a nRF5340 DK, PCA 10095, 2.0.0., 2022.4 and several nRF52840 PCA10059 dongles.  I also have the J-Link Edu Mini. 

    It's a bit late here tonight, but if you could describe how to flash the PCA10056 with the PCA 10095 or with the J-Link Edu Mini, I will do that tomorrow. 

    EDIT:  when I connect the J-Link EDU Mini to SWD CLK/IO/GND/V-in pins on the PCA10056 DK and I open Programmer 4.2.2., J-link shows up as device, and the Programmer is trying to read the DK memory, but get this error message in red color:

    • Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1)
    • Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
Children
No Data
Related