Upgrading BL652 Firmware - LairdCP/UwFlashX GitHub Wiki
Acquiring BL652 firmware
Firmware for the BL652 can be downloaded from the BL652 product page and will comprise of a zip file with the firmware and supporting files.
Extract the .uwf file from the firmware zip file and place it somewhere on your PC.
Setting up UwFlashX
The BL652 needs to be in command mode with no autorun application present on the module, follow the guides on the BL652 page to clear the module configuration before continuing with the upgrade process.
Once the BL652 module is in command mode, open UwFlashX and select the .uwf upgrade file by clicking the '...' button and then selecting the correct serial port for the connected module. Configure the BL652 specific options by:
- Changing bootloader entrance method to 'AT+FUP command (smartBASIC)'
- Setting the application baud to 115200
- Setting the bootloader baud to 115200
- Ensuring the 'Send UART BREAK prior to upgrade' checkbox is unticked
Once configured, UwFlashX should look similar to:
Running UwFlashX
Once UwFlashX has been configured, start the upgrade process by clicking the 'Begin Update' button and the upgrade should be applied to the module.
After Upgrading Firmware
After BL652 firmware has been upgraded, it is important to clear the module configuration from the previous firmware and any old application files (which will be incompatible). To do this, use a terminal utility such as UwTerminalX and send the command 'AT&F*' and press enter, the module will erase the flash file system and reboot. After this has finished, the module upgrade process is complete.
Possible Issues
If you encounter an issue with the BL652 firmware upgrade process, ensure that there is no application running on the BL652 and no autorun applications exist on the module. Applications can be removing by issuing the 'AT&F*' command from a terminal utility such as UwTerminalX before upgrading the firmware using UwFlashX. Note that hardware flow control is required to upgrade BL652 modules, if a module is on a custom board and these lines have not been fitted, you will be unable to upgrade the module firmware.