Posts

Showing posts with the label micro:bit

Update/Restore micro:bit firmware and reload Out of box .hex

Image
To update/restore micro:bit firmware Visit: https://microbit.org/get-started/user-guide/overview/ , click on Firmware. Scroll down to download firmware that match your board and version. Flash firmware:- - Hold the reset button and plug the USB lead into the micro:bit. - A drive appear in file manager called MAINTENANCE (instead of MICROBIT). - Drag and drop the downloaded firmware (.hex) onto the MAINTENANCE drive. When the upgrade is completed, the micro:bit will reset, ejecting itself from the computer and re-appear in normal MICROBIT drive mode. Reload Out of box .hex Visit https://microbit.org/get-started/user-guide/overview/ , click on Out of box experience. Download the out of box .hex file Drag and drop the downloaded out of box .hex file onto the MICROBIT drive. After out of box .hex file reloaded, MICROBIT drive will re-appear.

my dev.board - micro:bit v2.21

Image
my dev.board - micro:bit v2.21 ~ micro:bit official user guide micro:bit exercises: ~  Rust-embedded on Micro:bit ~  Update/Restore micro:bit firmware

Install Rust-embedded on Micro:bit, run on Linux Mint 21.1.

Image
Install Rust-embedded on Micro:bit, run on Linux Mint 21.1 (over Windows 11/VirtualBox). This post shows how I start in rust-embedded on my micro:bit . Basically, this post follow the on-line book Discovery (micro:bit version) to introduce you to micro:bit and Rust-embedded. Setting up a development environment:- Install rustc & Cargo: Install rustup by following the instructions at https://rustup.rs $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Install cargo-binutils: $ rustup component add llvm-tools-preview $ cargo install cargo-binutils --vers 0.3.3 $ cargo size --version Install prerequisites for cargo-embed: $ sudo apt install -y pkg-config libusb-1.0-0-dev libftdi1-dev libudev-dev Install cargo-embed: $ cargo install cargo-embed --vers 0.11.0 but fail: failed to select a version for requirement 'cargo_toml = "^0.9.0"'... Then I install the latest 0.18.0 instead of 0.11.0. The ...