@@ -12,7 +12,7 @@ Programming involves two steps: 1) compiling code, and 2) flashing the code to t
Thanks to the folks at Adafruit, you can use the Arduino IDE to perform both steps. Instruction on installing the appropriate libraries can be found <ahref='https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide'>here</a>.
To build the toolchain for compilation manually, you can follow the instructions on <ahref='https://pcbreflux.blogspot.com/2016/09/nrf52832-first-steps-with-st-link-v2.html'>this page</a> (starting at heading "GNU ARM Compiler").
You can also compile and flash the code directly using the same toolchain employed by the IDE. To do this, you can follow the instructions on <ahref='https://pcbreflux.blogspot.com/2016/09/nrf52832-first-steps-with-st-link-v2.html'>this page</a> (starting at heading "GNU ARM Compiler").
The steps for flashing your code depends on what board and programmer you have.
...
...
@@ -59,7 +59,7 @@ The J-Link requires a wire to ensure the target has power. In the image above,
## Programming with OpenOCD and Raspberry Pi
You don't have to spend hundreds on a J-Link (even though it is very nice). Using <ahref='openocd.org'>OpenOCD</a>, we can make a Raspberry Pi bit-bang the programming protocols.
You don't have to spend hundreds on a J-Link (even though it is very nice). Using <ahref='openocd.org'>OpenOCD</a>, we can make a Raspberry Pi bit-bang the programming protocols. Below is a picture and screenshot of using OpenOCD and Pi Zero ($5) to program a custom board with a Raytac MDBT42Q module over serial wire debug. It works just as well to program the Fanstel modules.