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

Debugging Thingy52(PCA20020) with SEGGER Embedded Studio and nRF52840(PCA10056)

Hi,

I'm trying to debug the Thingy52 by using the nRF52840DK as a debugger and using Segger Embedded Studio as an IDE on Windows 10.

I have two issues.

1. I have tried using a 10-pin SWD cable in order to connect from the "debug out" on the nrf52DK to the thingy. By using nRFgo Studio, i first Erase all, then program the SoftDevice(s132_nrf52_4.0.5), then program the default application.

The problem is that the 10-pin cable doesn't seem to work properly. The chip is neither erased or programmed, it only seems to erase the nrf52840 chip. Although when I use the P20 connector on the nrf52dk, it all works properly.  Am I required to connect the SB47 or is it just plug&play?

2. By using said solution, i tried debugging the Thingy52 by using Segger Embedded. I built the default code, connect the J-link and download the solution to the thingy. It seems to flash, but nothing seems to happen as the thingy remains without any firmware. Is it even possible to debug the thingy by using the nRF52dk and SEGGER embedded studio? Or do i need another solution?

I apologize in advance for any basic misconceptions or errors as I'm quite new to this.

Related