Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:microbit [2024/08/14 10:37] – [nRF51 SDK] darron | boards:microbit [2024/08/14 14:01] (current) – [Arduino] darron | ||
---|---|---|---|
Line 14: | Line 14: | ||
256KB flash and 16KB RAM. | 256KB flash and 16KB RAM. | ||
- | This page is a work-in-progress whilst I work out how to program | + | The MCU on this device is now obsolete and so are the `bare metal' development tools. |
- | using a Nordic SDK. | + | |
- | /* | + | |
- | ===Arduino=== | + | The most modern platform may be Arduino |
+ | how to create a modernised SDK. | ||
- | [[tools: | ||
- | |||
- | */ | ||
===nRF51 SDK=== | ===nRF51 SDK=== | ||
- | Version 10.0.0 would appear to be the last SDK for just the nRF51 chipset, | + | The nRF51 device and its [[tools: |
- | appears to be the last that includes the nRF51. | + | develop an application with. |
+ | |||
+ | ===Arduino=== | ||
+ | |||
+ | [[tools: | ||
- | Here is an [[https://devzone.nordicsemi.com/guides/short-range-guides/ | + | [[https://github.com/sandeepmistry/arduino-nRF5|Install guide for nRF51]] |
- | Go to the [[https:// | + | Zadig is required to provide LIBUSB |
- | and fetch 12.3.0. | + | |
- | After unzipping | + | When trying to flash the Softdevice there will be an error about |
+ | fetching the zip file. To remedy this place the hex file in | ||
+ | the Arduino AppData folder. | ||
< | < | ||
- | nRF5SDK1230.zip | + | AppData/ |
- | s130nrf51201.zip | + | |
- | s132nrf52310.zip | + | |
</ | </ | ||
- | `s130nrf51201.zip' | + | The Softdevice |
- | and `s130nrf51201.zip' | + | |
- | The Softdevice stack for the nRF52 named `s132nrf52310.zip' | + | [[https:// |
- | The GNU makefile `components/ | + | [[https://github.com/sandeepmistry/arduino-BLEPeripheral/ |
- | sets up GNU_INSTALL_ROOT := /usr/local/gcc-arm-none-eabi-4_9-2015q3 | + | ===J-Link=== |
- | and this toolchain would appear to be an absolute requirement. | + | |
- | This toolchain is available | + | [[:tools: |
- | ===Softdevice=== | + | enable a professional debug interface. |
- | + | ||
- | Not sure what to do with this yet. | + | |
- | + | ||
- | < | + | |
- | md5sum s130_nrf51_2.0.1_softdevice.hex | + | |
- | f63d43ae56cada5d5aaa14271fc76681 | + | |
- | </ | + | |
- | ===J-Link=== | + | |
Hold down reset and plug board into PC. | Hold down reset and plug board into PC. | ||
Line 135: | Line 124: | ||
[[https:// | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | /* | ||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | */ | ||
[[https:// | [[https:// | ||