This document will walk you through the process of updating the firmware on your IntechGrid midicontroller. Please read through the entire document beforehand in order to avid making any mistakes.
The process will not require any special tools, you will only need
This tutorial will walk you through the following steps:
cd grid_esp
idf.py build
./uf2convert.sh
# uf2 file is generated (output/grid_fw.uf2)
Holding down the mapmode button on the side of the controller while plugging in the USB C cable will boot the device in bootloader mode. All of the LEDs on the user interface should display a dim red color. This means that the device booted successfully, but the host computer has not recognized the device yet. You can release the mapmode button. Once the device is configured on the host, all of the LEDs turn green. On the host computer the grid controller now shows up as a removable storage device named "GRID".
Once the controller successfully enumerated as a removable storage device, you can check the version of the bootloader. If you browse the device you will find 3 files on it:
Open INFO_UF2.TXT and compare the contents to the latest version quoted here:
UF2 Bootloader v3.3.0-6-g9262ab2-dirty SFHWRO
Model: Bootloader 20191211
Board-ID: SAMD51N20A-GRID
Please verify the Bootloader version before before uploading a new firmware image to your controller.The bootloader is maintained in a separate architecture specific repositories:
Download the bootloader image from the repository and unzip the archive. The bootloader binary is contained in a single update-bootloader***.uf2 file. Once the controller is enumerated in bootloader mode, copy the .uf2 image to the removable storage device called GRID. After a successful update, the controller will disconnect from USB turn off. Unplug the usb cable and repeat this step for all of your Grid modules.
Download the firmware image from the repository and unzip the archive. The firmware binary is contained in the grid_toplevel_release.uf2 file. You will find two binary files corresponding to the MCU type in the Grid module, if you're unsure which MCU your module uses, choose the D51 version. Once the bootloader is enumerated copy the new firmware image to the removable storage device called GRID. After a successful update, the controller will reset and boot the newly installed firmware, ready to use. Make sure to repeat this process for all of your Grid modules, to ensure that they are all running the latest firmware.
Here you can download the latest stable release. Please visit the releases page for more information.
Architecture specific nightly builds of the Grid firmware are available for those who wish to experiment with the latest features. Please check the related commit messages to learn more about the current build.