From f12c68f2d0062a126a7ab2829cc493fe1e1330d0 Mon Sep 17 00:00:00 2001 From: Sam Calisch <sam.calisch@cba.mit.edu> Date: Fri, 28 Jul 2017 14:00:07 -0400 Subject: [PATCH] Update README.md --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 10f5aaf..255066f 100644 --- a/README.md +++ b/README.md @@ -1 +1,27 @@ -# Programming the NRF52 \ No newline at end of file +# NRF52 + +* talk about chip features +* show ring speed for packets, compared to NRF24 + +# Programming the NRF52 + +Programming involves two steps: 1) compiling code, and 2) flashing the code to the chip. + +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 <a href='https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide'>here</a>. + +To build the toolchain for compilation manually, you can follow the instructions on <a href='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. + +# Adafruit Feather NRF52 Board + +This is a great board; I would highly recommend it for NRF52 projects. + +This board comes flashed with a Serial DFU bootloader and it has an onboard USB-to-Serial converter. This allows you to program it simply with a USB cable. + +# Custom board with Segger J-Link + +# Custom board with OpenOCD and Raspberry Pi + +You don't have to spend hundreds on a J-Link (even though it is very nice). Using <a href='openocd.org'>OpenOCD</a>, we can make a Raspberry Pi bit-bang the programming protocols. + -- GitLab