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

Cannot program WT51822-S4AT

I'm trying use an nRF51 PDK to upload firmware (or, rather, just confirm that I can upload firmware) to one of these modules: www.wireless-tag.com/.../WT51822-S4AT.html

The target is externally powered, so I've connected it like so: Target Vcc -> P20 Pin 3 (VTG) Target SWDIO -> P20 Pin 4 (SWDIO) Target SWCLK -> P20 Pin 5 (SWCLK) Target GND -> P20 Pin 8 (Gnd Detect)

However, when I try to connect to the target using jlink.exe, I get a timeout error.

image description

I hooked up an oscilloscope to the SWDIO and SWCLK lines (connected to the wires between the nRF51 PDK and the target module), and I see the signals changing, so it appears that at least the SEGGER bit is trying to connect.

image description

I've seen a couple other users work with these modules, but I can't seem to have any success. Does anyone have any insights they could lend?

Related