A bootloader is a small application that starts when an Arduino board gets powered. Official Arduino boards come pre-flashed with a bootloader, but to guarantee the best performance and stability it needs to be updated with the latest firmware releases.
Supported boards
- Nicla Vision
Before you begin
Install the latest version of “Arduino Mbed OS Nicla Boards” in Arduino IDE.
Instructions
-
Connect your Nicla Vision to your computer and select it in Arduino IDE.
-
Go to File > Examples > STM32H747_System and open the STM32H747_manageBootloader sketch.
-
Upload the sketch.
-
Open the Serial Monitor with Tools > Serial Monitor.
-
When the sketch starts running on the board it will output some device information to the Serial Monitor, check the Bootloader version to see the version currently installed.
-
If you already have the latest bootloader, you will get this message:
The latest version of the bootloader is already installed (vX). Do you want to update the bootloader anyway? Y/[n]
If you have the latest bootloader and still want to proceed, type
Y
in the text field and press Enter to submit. -
The bootloader flashing process will now start. You will see the message
Bootloader update complete. It's now safe to reboot or disconnect your board.
when the process is complete.
Troubleshooting
- If you’re having trouble uploading the sketch, or if an LED on the board is flashing red, double-press the reset button to set the board to bootloader mode before uploading.
- If the Serial Monitor is empty after uploading the sketch, press the reset button to restart the sketch.
- You may need to scroll down to show new lines in the Serial Monitor.
- If you get an
Compilation error: QSPIFBlockDevice.h: No such file or directory
error, check your board selection and note that this sketch is not compatible with Nicla Voice or Nicla Sense ME.