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 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.

Contact your local Microchip Sales office to obtain BM71 firmware package updates.

 Materials

Hardware Tools

Software Tools

 Connection Diagram

lab1-connection-diagram.png

The 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 BM71 Firmware Package files to your computer.

The first thing we will do is check which firmware version we currently have on the module.

1

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, J1 (all yellow in this photo) are set as shown:

lab1-step1.png

a

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. In this case it is COM18, please note that yours will probably be different.

DeviceManager.png

b

Place the module in Test Mode by setting SW7 in the ON position, then press SW5 (reset) to reset the module.

BM70Update.png

The Module's basic operating mode (Test/Application) is sampled and established on a module reset condition. We recommend pressing the Reset (SW5) push-button whenever SW7 is first changed, or when you want to be sure that SW7 is sampled and applied by the module.

With Jumper JP8 shorted, LED0 will be lit (BLUE) indicating the module is in Test Mode, as shown above.

c

Launch the ISupdate Programming Utility and select the correct COM port (from substep a). Set the baudrate to 115200 and the memory type to Flash/Embedded. Then click Connect.

isupdate.png

If the connection was successful you will see the following message:

ConnectionSuccess.png

2

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.

ReadVersion.png

In this case, we can see that version 1.03 is installed.

VersionRead.png

3

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.

Update.png

a

Click on Update.

Update2.png

b

After a few seconds the update will be complete and you will see a screen like the one below.

Updated.png

 Results

You can verify that you have the new firmware version by clicking Read under the Flash/EEPRom/MCU/AHB Access section again.

FinalResult.png

Lastly, you can click Disconnect and close the ISupdate tool.

20th Annual
Microchip MASTERs Conference 2016
Register now - Deadline: July 29

JW Marriott Desert Ridge Resort-Phoenix, AZ

© 2016 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.