This Tutorial describes how to update the firmware which programmes the three microprocessor chips on a Kookaberry
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.
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.
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
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.
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,
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
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