Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:microbit [2024/08/14 00:49] – [Arduino] darronboards: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 this board +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 1.8.19 which may give an insight as to 
 +how to create a modernised SDK.
  
-[[tools:arduino#nordic_nrf5|Arduino IDE]] supports nRF5 micro-controllers and could be a useful tool to develop applications on the micro:bit. 
- 
-*/ 
 ===nRF51 SDK=== ===nRF51 SDK===
  
-Version 10.0.0 would appear to be the last SDK for just the nRF51 chipset,  and 12.3.0 +The nRF51 device and its [[tools:nrf51|SDK]] are now obsolete so hardly viable to 
-appears to be the last that includes the nRF51.+develop an application with. 
 + 
 +===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 and it appears to work. 
 + 
 +[[https://github.com/sandeepmistry/arduino-nRF5|Install guide for nRF51]]
  
-Go to the [[https://www.nordicsemi.com/Products/Development-software/nrf5-sdk/download|download]] page +Zadig is required to provide LIBUSB to the IDEWhen using J-Link, this is found as "BULK interface (Interface 2)".
-and fetch 12.3.0.+
  
-After unzipping the following files are found:+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> <code>
-nRF5SDK1230.zip +AppData/Local/Arduino15/packages/sandeepmistry/hardware/nRF5/0.8.0/cores/nRF5/SDK/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex
-s130nrf51201.zip +
-s132nrf52310.zip+
 </code> </code>
  
-`s130nrf51201.zip' is the BT software stack for the nRF51 (known as the Softdevice+The Softdevice hex file is located in the [[tools:nrf51|SDK]].
-and `s130nrf51201.zip' is the SDK for nRF5x.+
  
-The Softdevice stack for the nRF52 named `s132nrf52310.zip' is not needed here.+[[https://github.com/sandeepmistry/arduino-BLEPeripheral|Install guide for BLE]]
  
-===Softdevice===+[[https://github.com/sandeepmistry/arduino-BLEPeripheral/tree/master/examples|Example code]] 
 +===J-Link===
  
-Not sure what to do with this yet. +[[:tools:segger|SEGGER J-Link]] on board is available for all flavours of the micro:bit to 
- +enable a professional debug interface.
-<code> +
-md5sum s130_nrf51_2.0.1_softdevice.hex +
-f63d43ae56cada5d5aaa14271fc76681  s130_nrf51_2.0.1_softdevice.hex +
-</code> +
-===J-Link===+
  
 Hold down reset and plug board into PC. Hold down reset and plug board into PC.
Line 128: Line 124:
  
 [[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]]