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

thingy52 fail to update

I don't know what happened to my thingy 52 after lots of firmware updates with Keil+Jlink+thingysdkv210 and nRF connect operations. The LED on thingy isn't flashing any more and device memory layout is unable to fetch on nRF connect as well. I tried to do DFU through mobile app by pressed the button but fail to find the thingy52 device. I don't have a nRF52 DK for updating but with J-Link + Keil instead.

what can I do to solve this question?

It looks like an nRF52 DK is necessary to update thingy52 with nRFgo Studio. Is it correct?

best wishes,

Frankie

  • Hi,

    Any SEGGER j-link should be able to recover the thingy:52. You may try to install the latest nRF command line tools, and run from command line: nrfjprog --recover

    Make sure to connect SWDCLK, SWDIO, GND and VDD.

    You may try to double check that the reset pin is logic high, if not connect, then try to connect it to VDD to ensure it's not stuck in a hard reset.

    Kenneth

  • Hi Kenneth,

    I still got error by installing a newer version of nRF command tool. The older one is 8.5.0 installed during nRFgo installation.

    D:\>nrfjprog --version
    nrfjprog version: 10.12.1
    JLinkARM.dll version: 6.88a

    D:\>nrfjprog --recover
    ERROR: JLinkARM DLL reported an error. Try again. If error condition
    ERROR: persists, run the same command again with argument --log, contact Nordic
    ERROR: Semiconductor and provide the generated log.log file to them.

    D:\>nrfjprog --recover --log d:\
    ERROR: Low voltage detected at the target. Please make sure the device is
    ERROR: properly supplied.

    I got 3.49V from VREG.

    BTW, My thingy52 's VDD is 0V and VDD_PWR_CTRL is low. Is it correct?

    attached the log file for your reference.

    [2020-Dec-18 11:40:50] [ info] --------------------------------------------------------------------------------
    [2020-Dec-18 11:40:50] [ info] nrfjprog --recover --log 
    [2020-Dec-18 11:40:50] [ info] nrfjprog version 10.12.1 
    [2020-Dec-18 11:40:50] [ info] --------------------------------------------------------------------------------
    [2020-Dec-18 11:40:50] [debug] [ nRF0x0] - open_dll
    [2020-Dec-18 11:40:50] [ info] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.
    [2020-Dec-18 11:40:50] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Dec-18 11:40:50] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Dec-18 11:40:50] [ info] [Backend] - Logger callback at 0x7ff7254456f0 registered in Segger backend logger.
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] Logger callback at 0x7ff7254456f0 registered in JLink logger.
    [2020-Dec-18 11:40:50] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2020-Dec-18 11:40:50] [debug] [Backend] - open_dll
    [2020-Dec-18 11:40:50] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Dec-18 11:40:50] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2020-Dec-18 11:40:50] [ info] [Backend] - Library loaded, loading member functions.
    [2020-Dec-18 11:40:50] [ info] [Backend] - Member functions succesfully loaded.
    [2020-Dec-18 11:40:50] [debug] [Backend] - dll_version
    [2020-Dec-18 11:40:50] [ info] [Backend] - Segger dll version 6.88.a loaded.
    [2020-Dec-18 11:40:50] [debug] [Backend] - set_core_data
    [2020-Dec-18 11:40:50] [debug] [ nRF0x0] - enum_emu_snr
    [2020-Dec-18 11:40:50] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - enum_emu_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - ---just_get_num_emus
    [2020-Dec-18 11:40:50] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Dec-18 11:40:50] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - is_connected_to_emu
    [2020-Dec-18 11:40:50] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - ---just_get_num_emus
    [2020-Dec-18 11:40:50] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Dec-18 11:40:50] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Dec-18 11:40:50] [ info] [Backend] - Segger logging enabled.
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] Hardware: V8.00
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] S/N: 4294967295
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] OEM: SEGGER
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFULL
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] TELNET listener socket opened on port 19021
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] WEBSRV Starting webserver
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] WEBSRV Webserver running on local port 19080
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 14.979ms returns "O.K."  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_GetHWStatus(...)  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.234ms returns 0  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.008ms returns 0x01  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_ExecCommand("DisableFlashDL", ...).   
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.007ms returns 0x00  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.006ms returns 0x00  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_SetHookUnsecureDialog  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_SetHookUnsecureDialog(...)
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.027ms returns 0  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.661ms returns 0x00  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_SetSpeed(2000)  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.090ms  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_GetSN()  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] - 0.011ms returns -1  
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:40:50] [ info] [Backend] - JLinkARM.dll reported "-1", an unknown error.
    [2020-Dec-18 11:40:50] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_Close()  
    [2020-Dec-18 11:40:50] [debug] [ nRF0x0] - close_dll
    [2020-Dec-18 11:40:50] [debug] [nRFUnknown] - Just_close_dll
    [2020-Dec-18 11:40:50] [debug] [Backend] - close
    [2020-Dec-18 11:40:50] [debug] [Backend] - disconnect_from_emu
    [2020-Dec-18 11:40:50] [debug] [Backend] - is_connected_to_emu
    [2020-Dec-18 11:40:50] [debug] [Backend] - Segger Backend closed.
    [2020-Dec-18 11:59:35] [ info] --------------------------------------------------------------------------------
    [2020-Dec-18 11:59:35] [ info] nrfjprog --recover --log d:\ 
    [2020-Dec-18 11:59:35] [ info] nrfjprog version 10.12.1 
    [2020-Dec-18 11:59:35] [ info] --------------------------------------------------------------------------------
    [2020-Dec-18 11:59:35] [debug] [ nRF0x0] - open_dll
    [2020-Dec-18 11:59:35] [ info] [ nRF0x0] - Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.
    [2020-Dec-18 11:59:35] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2020-Dec-18 11:59:35] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2020-Dec-18 11:59:35] [ info] [Backend] - Logger callback at 0x7ff7254456f0 registered in Segger backend logger.
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] Logger callback at 0x7ff7254456f0 registered in JLink logger.
    [2020-Dec-18 11:59:35] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2020-Dec-18 11:59:35] [debug] [Backend] - open_dll
    [2020-Dec-18 11:59:35] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2020-Dec-18 11:59:35] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLink_x64.dll.
    [2020-Dec-18 11:59:35] [ info] [Backend] - Library loaded, loading member functions.
    [2020-Dec-18 11:59:35] [ info] [Backend] - Member functions succesfully loaded.
    [2020-Dec-18 11:59:35] [debug] [Backend] - dll_version
    [2020-Dec-18 11:59:35] [ info] [Backend] - Segger dll version 6.88.a loaded.
    [2020-Dec-18 11:59:35] [debug] [Backend] - set_core_data
    [2020-Dec-18 11:59:35] [debug] [ nRF0x0] - enum_emu_snr
    [2020-Dec-18 11:59:35] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - enum_emu_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - ---just_get_num_emus
    [2020-Dec-18 11:59:35] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2020-Dec-18 11:59:35] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - connect_to_emu_with_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - is_connected_to_emu
    [2020-Dec-18 11:59:35] [debug] [Backend] - ---just_enum_emu_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - ---just_get_num_emus
    [2020-Dec-18 11:59:35] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2020-Dec-18 11:59:35] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2020-Dec-18 11:59:35] [ info] [Backend] - Segger logging enabled.
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] Hardware: V8.00
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] S/N: 4294967295
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] OEM: SEGGER
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFULL
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] TELNET listener socket opened on port 19021
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] WEBSRV Starting webserver
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] WEBSRV Webserver running on local port 19080
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] - 15.305ms returns "O.K."  
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_GetHWStatus(...)  
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] - 0.253ms returns 0  
    [2020-Dec-18 11:59:35] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2020-Dec-18 11:59:35] [ info] [Backend] - Low voltage detected in target device.
    [2020-Dec-18 11:59:36] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_Close()  
    [2020-Dec-18 11:59:36] [debug] [ nRF0x0] - close_dll
    [2020-Dec-18 11:59:36] [debug] [nRFUnknown] - Just_close_dll
    [2020-Dec-18 11:59:36] [debug] [Backend] - close
    [2020-Dec-18 11:59:36] [debug] [Backend] - disconnect_from_emu
    [2020-Dec-18 11:59:36] [debug] [Backend] - is_connected_to_emu
    [2020-Dec-18 11:59:36] [debug] [Backend] - Segger Backend closed.
    

Related