Both sides previous revisionPrevious revisionNext revision | Previous revision |
boards:microbit [2024/08/14 12:18] – [nRF51 SDK] darron | boards:microbit [2024/08/14 14:01] (current) – [Arduino] darron |
---|
===Arduino=== | ===Arduino=== |
| |
[[tools:arduino#nordic_nrf5|Arduino IDE 1.8.19]] supports nRF5 micro-controllers and could be a useful tool to develop applications on the micro:bit. | [[tools:arduino#nordic_nrf5|Arduino IDE 1.8.19]] supports nRF5 micro-controllers and could be a useful tool to develop applications on the micro:bit and it appears to work. |
| |
| [[https://github.com/sandeepmistry/arduino-nRF5|Install guide for nRF51]] |
| |
| Zadig is required to provide LIBUSB to the IDE. When using J-Link, this is found as "BULK interface (Interface 2)". |
| |
| 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. |
| |
| <code> |
| AppData/Local/Arduino15/packages/sandeepmistry/hardware/nRF5/0.8.0/cores/nRF5/SDK/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex |
| </code> |
| |
| The Softdevice hex file is located in the [[tools:nrf51|SDK]]. |
| |
| [[https://github.com/sandeepmistry/arduino-BLEPeripheral|Install guide for BLE]] |
| |
| [[https://github.com/sandeepmistry/arduino-BLEPeripheral/tree/master/examples|Example code]] |
===J-Link=== | ===J-Link=== |
| |
| [[:tools:segger|SEGGER J-Link]] on board is available for all flavours of the micro:bit to |
| enable a professional debug interface. |
| |
Hold down reset and plug board into PC. | Hold down reset and plug board into PC. |
| |
[[https://www.segger.com/products/debug-probes/j-link/models/other-j-links/bbc-microbit-j-link-upgrade/|SEGGER J-Link for micro:bit]] | [[https://www.segger.com/products/debug-probes/j-link/models/other-j-links/bbc-microbit-j-link-upgrade/|SEGGER J-Link for micro:bit]] |
| |
[[https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/product-briefs/nrf51822-product-brief.pdf|MCU product brief]] | |
| |
[[https://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.1.pdf|MCU data-sheet]] | |
| |
/* | |
| |
[[https://github.com/lancaster-university/microbit-samples/|micro:bit C++ API examples]] | |
| |
[[https://github.com/Spivoxity/baremetal-v1|Bare metal micro:bit]] | |
| |
*/ | |
| |
[[https://github.com/carlosperate/awesome-microbit|Programming resources]] | [[https://github.com/carlosperate/awesome-microbit|Programming resources]] |
| |