@@ -68,6 +68,8 @@ You don't have to spend hundreds on a J-Link (even though it is very nice). Usi
...
@@ -68,6 +68,8 @@ You don't have to spend hundreds on a J-Link (even though it is very nice). Usi
Support for the NRF52 is not in the stable release of OpenOCD as of V 0.10, but you can patch it following the instructions on <ahref='https://primalcortex.wordpress.com/2017/06/10/setting-up-openocd-for-programming-the-nordic-nrf52832-chip/'>this page</a>. They worked for me, with the small addition that I needed to eliminate two duplicate variable definitions that broke my build.
Support for the NRF52 is not in the stable release of OpenOCD as of V 0.10, but you can patch it following the instructions on <ahref='https://primalcortex.wordpress.com/2017/06/10/setting-up-openocd-for-programming-the-nordic-nrf52832-chip/'>this page</a>. They worked for me, with the small addition that I needed to eliminate two duplicate variable definitions that broke my build.
I put up a mirror for this patched version <ahref='https://gitlab.cba.mit.edu/calischs/openocd_nrf52_patch'>here</a>. Email sam.calisch@cba.mit.edu for access.
The `openocd.cfg` will also be different for the NRF52 than the linked tutorial. Here is mine for flashing a binary of the Adafruit bootloader:
The `openocd.cfg` will also be different for the NRF52 than the linked tutorial. Here is mine for flashing a binary of the Adafruit bootloader: