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

Programming nRF51822 using SWD

We are using nRF51822 in our custom board. We just remain two pin ------ SCLK and SWDIO Can we programming by STLink ? what's the step? 1.using nrfgo studio to programming SoftDevice 2.using keil to download? thanks!

Parents
  • I am able to flash the BLE SDK on nrf51 Soc in Linux environment using openocd by below command.

    openocd -c "set WORKAREASIZE 0;" -f /usr/share/openocd/scripts/interface/ftdi/SWD_FT.cfg -f /usr/share/openocd/scripts/target/nrf51.cfg -c "init; reset halt; program <<path of your file>> 0X0 verify; shutdown;"

    Now I am looking to flash BLE application on different flash address but not sure how to proceed with openocd. Anyone have idea regarding the same.

Reply
  • I am able to flash the BLE SDK on nrf51 Soc in Linux environment using openocd by below command.

    openocd -c "set WORKAREASIZE 0;" -f /usr/share/openocd/scripts/interface/ftdi/SWD_FT.cfg -f /usr/share/openocd/scripts/target/nrf51.cfg -c "init; reset halt; program <<path of your file>> 0X0 verify; shutdown;"

    Now I am looking to flash BLE application on different flash address but not sure how to proceed with openocd. Anyone have idea regarding the same.

Children
No Data
Related