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 01:01] – [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 | |
- | [[tools: | + | |
- | */ | ||
===nRF51 SDK=== | ===nRF51 SDK=== | ||
- | Version 10.0.0 would appear to be the last SDK for just the nRF51 chipset, | + | The nRF51 device |
- | appears to be the last that includes the nRF51. | + | develop an application with. |
- | Go to the [[https:// | + | ===Arduino=== |
- | and fetch 12.3.0. | + | |
- | After unzipping | + | [[tools: |
- | < | + | [[https:// |
- | nRF5SDK1230.zip | + | |
- | s130nrf51201.zip | + | |
- | s132nrf52310.zip | + | |
- | </code> | + | |
- | `s130nrf51201.zip' | + | Zadig is required to provide LIBUSB to the IDE. When using J-Link, this is found as "BULK interface |
- | and `s130nrf51201.zip' | + | |
- | The Softdevice | + | When trying to flash the Softdevice |
+ | fetching | ||
+ | the Arduino AppData folder. | ||
- | The GNU makefile `components/toolchain/gcc/Makefile.posix' in the SDK | + | < |
- | sets up GNU_INSTALL_ROOT := /usr/local/gcc-arm-none-eabi-4_9-2015q3 | + | AppData/Local/Arduino15/packages/ |
- | and this toolchain would appear to be an absolute requirement. | + | </ |
- | ===Softdevice=== | + | The Softdevice |
- | Not sure what to do with this yet. | + | [[https:// |
- | < | + | [[https:// |
- | md5sum s130_nrf51_2.0.1_softdevice.hex | + | |
- | f63d43ae56cada5d5aaa14271fc76681 | + | |
- | </code> | + | |
===J-Link=== | ===J-Link=== | ||
+ | |||
+ | [[: | ||
+ | enable a professional debug interface. | ||
Hold down reset and plug board into PC. | Hold down reset and plug board into PC. | ||
Line 132: | Line 124: | ||
[[https:// | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | /* | ||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||
- | */ | ||
[[https:// | [[https:// | ||