This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bricked nRF52832 with Segger J-link, can't recover it

After setting up the tool chain and confirm it is compiling correctly by flashing the Proximity build into the dev kit PCA10040 and confirmed with the Android App it is fully working. Now I wanted to try out my board my own designed board and flash the same files (softdevice and application) into the nRF52832 with nRFgo Studion and a Segger J-link. Loading of the softdevice (S132) worked, but loading of the application failed and now I cannot connect to the chip anymore. 

Pressing the recover button in nRFGo Studio it is not resolving the issue. 

  • updated everything to the latest version, see log below;

    --------------------------------------------------------------------------------
    nrfjprog.exe --recover --log
    nrfjprog verion 9.7.1
    --------------------------------------------------------------------------------
    FUNCTION: open_dll.
    FUNCTION: open_dll.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: enum_emu_snr.
    FUNCTION: connect_to_emu_with_snr.
    FUNCTION: connect_to_emu_with_snr.
    FUNCTION: connect_to_emu_without_snr.
    FUNCTION: enum_emu_snr.
    Device "NRF52832_XXAA" selected.
    FUNCTION: read_connected_emu_snr.
    FUNCTION: read_connected_emu_snr.
    FUNCTION: read_device_family.
    FUNCTION: read_device_family.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
    FUNCTION: close_dll.
    FUNCTION: close_dll.

  • stripped all the parts from the board, only left the nRF52832 on it and is now supplied by the programmer. Verified that SWDCLK and SWDIO are connected correctly (chip to programmer) and not shorted. Still the same. 

  • Problem got solved a while ago, the reset button was connected wrongly. The button was pulling the reset line down all the time, the reset isn't enabled before first time programming, but it is when you program the blinky code and therefor cannot be programmed anymore until the reset line is released. 

    Thanks everybody for helping.

Related