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

Issue after cutting sb9 for current measurments

Hi,

I was at the stage to do current measurment on my nrf52DK for my application, but once I cutted SB9 and powered it back by USB, the 4 leds on the board lighted up and the SoC nrf52832 is no longer working. I found out that when I reconnect SB9 with a jumper on p22, the whole board including the pca10040 stop working. Before I order a replacement, I was wondering if there was a way to fix it or to know what was my mistake to cause such issue?

Thanks for your help!

  • I don't see how cutting SB9 should lead to any problems, we do this all the time to measure current and then place a jumper on P22 afterwards. Though you may try to call 'nrfjprog --recover' in a command line window to see if it recovers.

    Best regards,
    Kenneth

  • Hi Kenneth, I tried sending the recover line and got this error:

    2020-Feb-04 19:14:37  --------------------------------------------------------------------------------
    2020-Feb-04 19:14:37  nrfjprog --recover --log 
    2020-Feb-04 19:14:37  nrfjprog version 10.6.0 
    2020-Feb-04 19:14:37  --------------------------------------------------------------------------------
    2020-Feb-04 19:14:37  nRF_logger_open
    2020-Feb-04 19:14:37  nRF_logger_open:	nRFJProg logger opened to callback at address 0X7FF6BD3B2F20
    2020-Feb-04 19:14:37  nRF_open_dll
    2020-Feb-04 19:14:37  nRF_open_dll:	Load library at "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\JLINKARM_UNKNOWN_NRFJPROG.dll".
    
    2020-Feb-04 19:14:37  . nRFXX_logger_open
    2020-Feb-04 19:14:37  . nRFXX_logger_open:	nRFJProg logger opened to callback at address 0X7FFE1774E290
    2020-Feb-04 19:14:37  . . Segger_logger_open
    2020-Feb-04 19:14:37  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X7FFE0170CA50
    2020-Feb-04 19:14:37  . . Segger_open_dll
    2020-Feb-04 19:14:37  . . Segger_open_dll:	Load library at "C:\\Program Files (x86)\\SEGGER\\JLink\\JLink_x64.dll".
    
    2020-Feb-04 19:14:37  . . . Segger_dll_version
    2020-Feb-04 19:14:37  . . Segger_set_core_data
    2020-Feb-04 19:14:37  nRF_enum_emu_snr
    2020-Feb-04 19:14:37  . nRFXX_enum_emu_snr
    2020-Feb-04 19:14:37  . . Segger_enum_emu_snr
    2020-Feb-04 19:14:37  . . . Segger_enum_emu_snr
    2020-Feb-04 19:14:37  . . . . Segger_get_num_emus
    2020-Feb-04 19:14:37  nRF_connect_to_emu_with_snr
    2020-Feb-04 19:14:37  . nRFXX_connect_to_emu_with_snr
    2020-Feb-04 19:14:37  . . Segger_connect_to_emu_with_snr
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu
    2020-Feb-04 19:14:37  . . . Segger_enum_emu_snr
    2020-Feb-04 19:14:37  . . . . Segger_get_num_emus
    2020-Feb-04 19:14:37  . . . Segger_connect_to_emu_with_snr
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x140728922590704.
    
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:029.059   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:032.130   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V1.00
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:034.267   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 682204503
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:036.411   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:038.569   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:041.379   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:043.841   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Starting webserver
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:046.162   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19080
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:048.308 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 23.737ms returns O.K.  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:050.464 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:052.750 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.417ms returns 0x00  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:054.998 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:057.238 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.184ms returns 0x01  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:059.616 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:062.073 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 1.038ms returns 0x00  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:064.121 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:066.170 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.990ms returns 0x00  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:068.261   
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:070.417 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.274ms returns 0  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:072.636 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:075.227 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.768ms returns 0x00  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:077.564 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T1B08 000:079.899 
    2020-Feb-04 19:14:37  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 3.466ms  
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:083.176 
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:085.388 
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	- 1.171ms returns 0x00  
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:087.714 
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = Cortex-M4", ...).   
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:090.297   
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml 
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:093.168   
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. 
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:174.965   
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	Device "CORTEX-M4" selected.
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	T1B08 000:181.656 
    2020-Feb-04 19:14:37  . . . . . Segger_load_core_data:	JLink INFO	- 93.132ms returns 0x00  
    2020-Feb-04 19:14:37  nRF_read_connected_emu_snr
    2020-Feb-04 19:14:37  . nRFXX_read_connected_emu_snr
    2020-Feb-04 19:14:37  . . Segger_read_connected_emu_snr
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	T1B08 000:189.677 
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	T1B08 000:192.278 
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	- 3.797ms returns 0x01  
    2020-Feb-04 19:14:37  nRF_read_device_family
    2020-Feb-04 19:14:37  . nRFXX_read_device_family
    2020-Feb-04 19:14:37  . . :	JLink INFO	T1B08 000:196.996 
    2020-Feb-04 19:14:37  . . :	JLink INFO	JLINK_Lock()  
    2020-Feb-04 19:14:37  . . Segger_is_connected_to_emu
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	T1B08 000:201.367   
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	T1B08 000:203.558   
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	- 3.245ms returns 0x01  
    2020-Feb-04 19:14:37  . . Segger_read_access_port_register
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	T1B08 000:207.748   
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	T1B08 000:209.910   
    2020-Feb-04 19:14:37  . . . Segger_is_connected_to_emu:	JLink INFO	- 3.217ms returns 0x01  
    2020-Feb-04 19:14:37  . . . Segger_read_access_port_register
    2020-Feb-04 19:14:37  . . . . Segger_coresight_configure
    2020-Feb-04 19:14:37  . . . . Segger_coresight_configure:	JLink INFO	T1B08 000:214.203   
    2020-Feb-04 19:14:37  . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
    2020-Feb-04 19:14:37  . . . . Segger_coresight_configure:	JLink INFO	T1B08 000:317.612   
    2020-Feb-04 19:14:37  . . . . Segger_coresight_configure:	JLink INFO	- 104.952ms returns 0  
    2020-Feb-04 19:14:37  . . . . Segger_is_debug_region_powered
    2020-Feb-04 19:14:37  . . . . . Segger_read_debug_port_register
    2020-Feb-04 19:14:37  . . . . . . Segger_write_debug_port_register
    2020-Feb-04 19:14:37  . . . . . . Segger_write_debug_port_register:	JLink INFO	T1B08 000:323.663   
    2020-Feb-04 19:14:37  . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2020-Feb-04 19:14:37  . . . . . . Segger_write_debug_port_register:	JLink INFO	T1B08 000:326.567   
    2020-Feb-04 19:14:37  . . . . . . Segger_write_debug_port_register:	JLink INFO	- 3.966ms returns -1  
    2020-Feb-04 19:14:37  . . . . . . Segger_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
    
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 
    
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action:	JLink INFO	T1B08 000:331.861   
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action:	JLink INFO	T1B08 000:334.753   
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action:	JLink INFO	- 4.008ms returns -1  
    2020-Feb-04 19:14:37  . . . . . . . Segger_abort_debug_action:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

    Checking voltage on the board at some points, when the jumper on p22 is not connected, I have a 2,89V between Vdd and ground and as soon as I connect the jumper, it goes down at 150mv. Could it be that I created a short somewhere on the board or maybe a faulty hardware? 

    Thanks for your help so far,

    Olivier

  • Having nothing to lose, I removed the copper plate as my guess was that a bit was making a bridge just underneath and after a while, it now works as it should! 

  • I have got the same issue.

    It is very strange, because J22 connected in parallel with SB9 and it is a power line. ???

    Sergey_G

Related