Firmware Updates for BleuIO Pro (SSD025)
Important:
The Control signal Data Terminal Ready (DTR) must be enabled when communicating with BleuIO Pro over the serial port to ensure proper reception of responses.
Important Notice:
Please ensure you use the correct firmware for your device. BleuIO and BleuIO Pro require distinct firmware specific to each model. Using the incorrect firmware may leads to impact device functionality. Kindly verify your device model before proceeding with the download and update process.
Introduction
In order to update the firmware of flash your own application to the dongle, you will need to put the dongle in Bootloader mode by using ATB command. Type QUIT to exit bootloader mode.
There are two methods to update the BleuIO Pro dongle.
Latest Firmware
[2024-12-13] v1.0.2 Firmware
Version 1.0.2 | Download | Release Notes | checksum: f97f283effac6b17a3a0f0b0f4acbc86 |
---|
Older Firmware
Version | Download Link | Release Notes | Checksum |
---|---|---|---|
Version 1.0.1 | Download | Release Notes | checksum: 16b7af2415a1b68ae3d8c7b09c8ca7bd |
Version 1.0.0 | Download | Release Notes | checksum: 7e8f18564bc5a3def8da |
How to update your firmware
Update method 1: Manual update
Linux side (PC)
To flash the dongle you will need a image file containing the new firmware or your own application and a host USB loader application (that you can get HERE for Windows (bleuio_pro_host_usb_updater.zip) or HERE for Linux PC (host_usb_updaterlinux.zip)) or HERE for Linux Raspberry Pi (host_usb_updater_RPi.zip)).
- Download Linux PC Host Updated Download
- Run with
sudo ./host_usb_updater /dev/ttyACM0 ./example_firmware.img
. - The/dev/ttyACM0
means USB-CDC driver of Linux. It can be changed according to test machine. - Sometimes a modemmanager in Linux system like Ubuntu might interrupt the USB-CDC communication. In that case you can try disabling it.
Linux side (Raspberry Pi)
- Download Linux Raspberry Pi Host Updated Download
- Run with
sudo ./host_usb_updater /dev/ttyACM0 ./example_firmware.img
. - The/dev/ttyACM0
means USB-CDC driver of Linux. It can be changed according to test machine.
Windows side
Download Host USB updated Download and the latest firmware file e.g., 'bleuio_pro_1.0.0-release.img'' in the same folder.
Preparations:
(This will need to be done once at least on every computer you use to flash dongles.)
- Open the Windows Device Manager.
- Insert a dongle.
- Look at Ports (COM & LPT)
- Notice the number 14. This is the Serial Port number the bootloader is using on my computer. You may get another COM port number. Write this number down as you will need it when flashing the dongles.
- Make sure to put the dongle in Bootloader mode using ATB command.
Flashing the dongles:
- Open a terminal and go to the folder where the flash programmer and firmware file is located.
- Type host_usb_updater {number} bleuio_pro_1.0.0-release.img' -verbose
- Where '{number}' should be the number of the Serial Port on your computer (without the brackets {}) as described in the 'preperation' section. It's 14 in the picture above but your computer might have a diffrent number.
- A successful firmware update should look like:
- Trying to flash using wrong COM Port will look like this
- After flasing , you can wait to get the Application started and test that the dongle has been successfully flashed with the new version number (ex : 1.0.0) by running the AT-command: ATI
NOTE: For simplicity's sake it is recommended to keep the image-file and host_usb_updater.exe in the same folder otherwise you will need to provide the path to where image file is stored relative to the host_usb_updater.exe.
Update method 2: Using SUOTA
SUOTA Instructions
Via App
Download the App Renesas SUOTA for either Android or iOS.
(Android) Google Play: https://play.google.com/store/apps/details?id=com.dialog.suota&hl=en&gl=US(iOS) App Store: https://apps.apple.com/se/app/dialog-suota/id953141262
Download the firmware file to your device (Android/iOS).
You can download the firmware directly to your smart device from here: https://www.bleuio.com/getting_started/docs/firmware_pro/
Or you can transfer the firmware from your computer to your smart device:
For Android:
A SUOTA folder should have been created on your device when you installed the App. Simply copy the firmware image file into that folder.
For iOS:
Open iTunes and select the device to which the firmware image file is to be downloaded.
Select the SUOTA App from the File Sharing menu.
Add the firmware image file that is to be downloaded.
Press the “Done” button to downloaded the selected file to the smart device.Insert the BleuIO Pro Dongle in the computer.
Run the AT+SUOTASTART command.
Open the Renesas SUOTA App.
When scanning you should see a device called BleuIO Pro SUOTA.
Tap BleuIO Pro SUOTA to connect.
The device info screen will be shown.
Confirm that your current version is correct and press UPDATE DEVICE.
Select the image file.
If you didn't transfer the firmware from a computer or choose a different location to store the firmware click the folder icon to navigate to where the firmware is located.
You can leave the Parameter Settings as is. They will not be used.
Just press SEND TO DEVICE.
Wait for the update to finish.
When update is finished you will be prompted if you want to reboot the device. Press OK.
Done! Confirm that the firmware version has changed by running the ATI command on the BleuIO Pro Dongle.
Via another BleuIO + Script
Requirements
Python >= 3.5
Python library bleuio >= 1.3.0
Download script
- Get script BleuIO_Pro_SUOTA_Updater.py. Download
Steps
- Download the desired firmware from above.
It is recommended to place the firmware image file into the same folder as the script. - Open a command prompt where the script is located.
- Run: python BleuIO_Pro_SUOTA_Updater.py image_file_name.img
- Start SUOTA Mode on the dongle you wish to update by running AT+SUOTASTART command.
- The script will look for any BleuIO Pro Dongle that is advertising in SUOTA mode and start updating the first it finds.
- “BleuIO Pro Updated Successfully!” message will be shown on the screen once the process is completed.
- You will then be prompted "Update another BleuIO Pro Dongle? (y/n)" if you choose y it will try to find and update another BleuIO Pro Dongle. Choosing n will exit the script.
Arguments
Arguments | Descriptions |
---|---|
-h, --help | Show this help message and exit |
-fw | Requires SUOTA firmware img file to update BleuIO Pro Dongle with. |
-dbg, --debug | Shows debug messages |
-p, --port | Choose port used by dongle used to update. If note choosen the first port found used by a BleuIO Pro Dongle will be used. |