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

Openocd promgram NRF51822 with ST link v2 mini

Hi, I got a nrf51822 board and a st link v2 mini as shown below. I have been trying to connect the nrf51822 board so that i can upload code to the board by following this post link text. However, i got no luck till now. the openocd showed an error cannot connect to the target board. Anyone has experience with all these. where may i possibly go wrong?

Error from Openocd

Error: init mode failed (unable to connect to the target) in procedure 'init' in procedure 'ocd_bouncer'

  • St link nrf51822
  • SWCLK <-> SCLK (swclk),pin below p19
  • SWDIO <-> SDO (Swdio), pin below p17
  • GND <-> GND
  • 3.3 <-> VCC

nrf51822 chip : QFAAHQ 1517DE

Thanks for your kind advice

image description

image description

Parents Reply Children
No Data
Related