Tutorial: Installing firmware

A learning plan for the Kookaberry

John Phillips

Developed by
John Phillips
Director
The AustSTEM Foundation

This Tutorial describes how to update the firmware which programmes the three microprocessor chips on a Kookaberry

Overview

Microcontroller Chips

Accessing and running the Firmware files

Step 1: Access Files in GitHub

Step 2: Finding and downloading the right files

Step 3: Moving the files to the USB Memory

Step 4: Running the firmware files

Overview

Firmware is the suite of software programmes that collaborates with all the various microcontroller chips and components on the board to enable the Kookaberry to work.

There are just three files for the three microcontrollers which, once downloaded and run, are invisible to the user.

Microcontroller Chips

These are the three microcontroller integrated circuits on the Kookaberry board

  • Front End Processor (FEP): The FEP is an STM32F103 ARM Cortex-M0 microcontroller with 128 Kb of flash memory and 20 Kb static ram. The FEP runs a preloaded program to interface between the USB computer interface and the other two on board microcontrollers. It also controls the download of applications into and out of the 32 Mbit serial memory.
  • Main Processor (MP): The MP is an STM32F091 ARM-Cortex M0 microcontroller having 256 Kb of flash memory and 32 Kb static ram. This processor is the primary processor to run applications. It also provides general purpose inputs and outputs (GPIO) that may be used by the applications together with the interfacing to the other on-board peripherals – being the accelerometer / e- compass, BLE, 32 Mb flash ram (via an API to the FEP), and the OLED display.
  • Bluetooth Low Energy (BLE): The BLE microcontroller is the Nordic nRF52822 ARM-Cortex M0 microcontroller with 256 Kb flash memory and 16 Kb static ram. It has a 2.4 GHz transceiver specifically for BLE communication.

       

Accessing and running the Firmware files

The firmware files are:

  • f103.bin — firmware for the FEP general processor chip
  • f091.bin — firmware for the MP main processor chip
  • nrf5.bin — firmware for the BLE radio chip

Step 1: Access Files in GitHub

The software for the latest version of the firmware is contained in downloadable Github files.

Clicking on this link will take you to the correct location on the GitHub website as shown in the screeshot.

Step 2: Finding and downloading the right files

Click on the firmware folder and the individual files shown in the screenshot will appear.

Now click on each individual file and download them in turn to your PC/Mac by clicking the Download button at the lower right of the window,

Step 3: Moving the files to the USB Memory

Plug a Kookaberry into your PC/Mac and the files and folders in the Directory of the USB memory should automatically appear.

Locate the downloaded *.bin files (usually in the Downloads folder) and copy/move them to the root (top level) directory of the Kookaberry’s USB memory

Step 4: Running the firmware files

Once the *.bin files have been loaded into the USB memory, unplug the Kookaberry and plug it back in again.

The blue LED on the back should flash for about 30 seconds while it programmes the chips.

Once the blue LED stops flashing the device should be ready to use.

All three *.bin files will delete themselves from the USB memory once they have successfully programmed the chips.

Installation is now complete and the firmware is the latest version

 

 

 

 

 

 

 

 

Version:[to add to metabox]


Last updated: 6 months ago


Resource type:[to add to metabox]


Year levels: Year 4, Year 5, Year 6, Year 7, Year 8, Year 9, Year 10, Year 11, Year 12, Tertiary Level


Downloads



Download on GitHub
View support forum
Image

Leave a Reply