BM71 Firmware Update
Objective
This lab takes you step-by-step through the process of updating the firmware on the BM71 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
- BM71 PICtail™ Board
- ISupdate Programming Utility
- BM71 Firmware Package (v1.06)
- 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
The first thing we will do is check which firmware version we currently have on the module.
Connect to BM71
Connect the BM71 PICtail to your PC via the USB connector (bottom-side of the board) using the supplied USB cable. Ensure the jumpers J3, JP8, and J1 (all yellow in this photo) are set as shown:
COM Port
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 BM71 PICtail board. In this case, it is COM18, please note that yours will probably be different.
Place the module in Test mode by setting SW7 in 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 baud rate to 115200 and the memory type to Flash/Embedded. Then click Connect.
If the connection was successful, you will see the following message:
Verify Current Firmware Version
To find the currently installed version, under the Flash/EEPRom/MCU/AHB Accesss section, 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 Firmware
Click on the Browse button and navigate to the folder where you extracted the BM71 Firmware Package earlier. Select all the needed HEX files in the dialog box and click Open.
Click on Update.
After a few seconds, the update will be complete and you will see a screen as seen in the accompanying figure.
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.