Hi,
I hope you can help me.
I programmed all of my Thingys (Thingy 52) multiple times with the Developement Bord from Nordic with SEGGER Embedded Studio and there were no problems.
Now this Error appears at only some of them (3 out of 20):
"Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/Program Files (x86)/SEGGER/SEGGER Embedded Studio for ARM 3.52/bin/JLinkARM.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 7 2019 14:07:15
DLL Version: 6.34b
Hardware Version: V1.00
Target Voltage: 3.300
Device "NRF52832_XXAA" selected.
connect failed
Failed to connect to target.
No idcode detected.
Please check connection and Target Interface Type"
But only with some of the Thingys. The others work perfectly and give that meassage:
"Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/bin/JLink_x64.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
DLL Version: 6.40`
Hardware Version: V1.00
Target Voltage: 3.300
Device "NRF52832_XXAA" selected.
Found SW-DP with ID 0x2BA01477
Found SW-DP with ID 0x2BA01477
Scanning AP map to find all available APs
AP[2]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x24770011)
AP[1]: JTAG-AP (IDR: 0x02880000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
Found Cortex-M4 r0p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM"
So I guess the connection is fine, the target interface type is fine (because its the same in both cases), the hardware of the Developement Board and connection Cables are fine, too, because I used the same for both Thingys.
I also tried the solutions of this thread: forum.segger.com/index.php/Thr…nd-target-interface-type/ , but my Target voltage has no problem.
Then I tried the often given tipp with "nrfjprog --recover", but it gave me:
"Recovering device. This operation might take 30s.
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. "
back.
After this I opened SEGGER again and it gave me "J-Link V6.34b Internal Error: SWO can only be used with target interface SWD". (Could that be a hint for sth?)
And I came to this page: wiki.segger.com/J-Link_cannot_connect_to_the_CPU and I think because the connection to those now "broken" Thingys worked before, the last point ("After programming the target device, J-Link is no longer able to establish a connection") of this description could be my problem (or more that of my Thingys), but I don't really know what I can do about it. There are only tipps to "prevent" this Error - too late for me/my Thingys
Do you have any idea what I could do about it?
Thank you for your help and willingness so read this long Thread
I hope you can help me.
I programmed all of my Thingys (Thingy 52) multiple times with the Developement Bord from Nordic with SEGGER Embedded Studio and there were no problems.
Now this Error appears at only some of them (3 out of 20):
"Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/Program Files (x86)/SEGGER/SEGGER Embedded Studio for ARM 3.52/bin/JLinkARM.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 7 2019 14:07:15
DLL Version: 6.34b
Hardware Version: V1.00
Target Voltage: 3.300
Device "NRF52832_XXAA" selected.
connect failed
Failed to connect to target.
No idcode detected.
Please check connection and Target Interface Type"
But only with some of the Thingys. The others work perfectly and give that meassage:
"Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/bin/JLink_x64.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
DLL Version: 6.40`
Hardware Version: V1.00
Target Voltage: 3.300
Device "NRF52832_XXAA" selected.
Found SW-DP with ID 0x2BA01477
Found SW-DP with ID 0x2BA01477
Scanning AP map to find all available APs
AP[2]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x24770011)
AP[1]: JTAG-AP (IDR: 0x02880000)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FF000
CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
Found Cortex-M4 r0p1, Little endian.
FPUnit: 6 code (BP) slots and 2 literal slots
CoreSight components:
ROMTbl[0] @ E00FF000
ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7
ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM"
So I guess the connection is fine, the target interface type is fine (because its the same in both cases), the hardware of the Developement Board and connection Cables are fine, too, because I used the same for both Thingys.
I also tried the solutions of this thread: forum.segger.com/index.php/Thr…nd-target-interface-type/ , but my Target voltage has no problem.
Then I tried the often given tipp with "nrfjprog --recover", but it gave me:
"Recovering device. This operation might take 30s.
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. "
back.
After this I opened SEGGER again and it gave me "J-Link V6.34b Internal Error: SWO can only be used with target interface SWD". (Could that be a hint for sth?)
And I came to this page: wiki.segger.com/J-Link_cannot_connect_to_the_CPU and I think because the connection to those now "broken" Thingys worked before, the last point ("After programming the target device, J-Link is no longer able to establish a connection") of this description could be my problem (or more that of my Thingys), but I don't really know what I can do about it. There are only tipps to "prevent" this Error - too late for me/my Thingys

Do you have any idea what I could do about it?

Thank you for your help and willingness so read this long Thread
