Firmware Update for the BM70 Bluetooth® Low Energy (BLE) Module
Objective
This lab takes you step-by-step through the process of updating the firmware on the BM70 module. New firmware can add Bluetooth® Low Energy (BLE) specific functionality for new revisions of the Bluetooth specification as well as provide a way to fix bugs discovered in the current device Bluetooth operation.
Reference Materials
- BM70 PICtail™ and PICtail Plus Board
- ISupdate Programming Utility
- BM70 Firmware Packages
- MCP2200 Windows® Drivers & Installer
Connection Diagram
The Universal Asynchronous Receiver Transmitter (UART) RX and TX lines are used to communicate between the Host MCU and the BM70.
Procedure
Be sure to install the MCP2200 USB drivers before starting. Also, extract the BM70 Firmware Package.
The first thing we will do is check which firmware version we currently have on the module.
Connect the BM70 PICtail to your PC. Ensure the jumpers are set as shown.
Open the Device Manager window by going to the Start Menu > Control Panel > Hardware and Sound and then selecting Device Manager. Once open, check which COM Port has been assigned to the BM70 PICtail. In this case, it is COM18. Please note that yours will probably be different.
Place the module in Test mode by setting SW7 to the ON position, then press SW5 (reset) to reset the module.
Launch the ISupdate Programming Utility and select the correct COM port (from substep a). Set the baudrate to 115200 and memory type/subtype to Flash/Embedded. Then click Connect.
If the connection was successful you will see the following message:
Verify the current firmware version.
To find the currently installed version, under the Flash/EEPRom/MCU/AHB Accesss pane, enter "100e" in the Address field and "2" in the Length(Hex) field. Then, click Read.
In this case, we can see that version 1.03 is installed.
Update the firmware.
Click on the Browse button and navigate to the folder where you extracted the BM70 Firmware Package earlier. Select all the needed HEX files in the dialog box and click Open.
Click the Update button.
After a few seconds, the update will be complete and you will see a screen like this:
Results
You can verify that you have the new firmware version by clicking Read under the Flash/EEPRom/MCU/AHB Access pane again.
Lastly, you can click Disconnect and close the ISupdate tool.