Firmware Update on a RN4870 Bluetooth Low Energy module
Objective
This lab takes you step-by-step through the process of updating the firmware on the RN4870 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
Hardware Tools
Software Tools
- MCP2200 Windows® Drivers & Installer
- ISupdate Programming Utility
- Terminal Emulator
- Windows/Mac®/Linux®: CoolTerm
Connection Diagram
The Universal asynchronous receiver/transmitter (UART) RX and TX lines are used to communicate between the Host and the RN4870.
Procedure
Connect to RN4870
Connect the RN4870 PICtail board to your PC. Ensure the jumpers 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 RN4870 PICtail board.
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 1.1). 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:
Update firmware
Click on the Browse button and navigate to the folder where you extracted the RN4870 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 like the one below.
Disconnect
Click on Disconnect and close the ISupdate tool.
APP Mode
Move dip-switch SW7 to the OFF position (1) and reset the module by pressing SW5 (button immediately above dip-switch).
Results
Start a CoolTerm Connection
You can verify that you have the new firmware version by opening a CoolTerm connection. Below you will find the settings used (115200 baud, 8 bits, No Parity, 1 stop bit, no flow control). The Local Echo in the Terminal tab was also turned on.
Enter Command Mode and Verify Version
Press V to display firmware version.
Our module has been updated to version 1.18.3 of the firmware.