I just bought a nRF5-DK and I couldn't get it to work flashing other nrf51822s. The modules I'm using are these wireless-tag.com/.../nrf51822-02.aspx
Here's literally what I get when I run the following:
~ » JLinkExe -device nrf51822_xxaa -if swd -speed 4000
SEGGER J-Link Commander V4.98e ('?' for help)
Compiled May 5 2015 11:59:45
Info: Device "NRF51822_XXAA" selected.
DLL version V4.98e, compiled May 5 2015 11:59:38
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled May 4 2015 13:48:48
Hardware: V1.00
S/N: 681566637
VTarget = 3.300V
Info: Found SWD-DP with ID 0x0BB11477
****** Error: Could not power up debug port: Control/Status register reads 0BB11477
Can not connect to target.
Failed to identify target. Trying again with slow (4 kHz) speed.
Can not connect to target.
No device found at all. Selecting JTAG as default target interface.
- SWDIO on the nRF51822 module connects to SH_SWDIO (pin #4) on P20
- SWDCLK on the nRF51822 module connects to SH_SWDCLK (pin #5) on P20
- VDD on the nRF51822 module connects pin #1 of the nRF51-DK, and pin 2 of the nRF51-DK connects to SH_VTG (pin #3) on P20. Just so I can set it to high and inform the segger to switch to the external nRF51822.(not exactly sure if it's correct???)
- GND on nRF51822 module connects to SHGNDDETECT (pin #8) on P20 and GND of nRF51-DK board
I'm not sure what I'm doing wrong here. Been trying all day and couldn't get it to work.
Thanks.