Objective
This page shows you how to upgrade RN4020 firmware to the latest version via the Over-The-Air (OTA) process using Microchip's "Bluetooth Smart Data" app running on an iOS device. The following conditions must be met when the RN4020 performs a Device Firmware Update (DFU) through OTA:
- Only a one-to-one connection is allowed between the device whose firmware is to be updated and the device that provides the update image
- Avoid RF interference whenever possible
- The module that is streaming the image to the remote device must have UART hardware flow control enabled
Materials
Hardware Tools
Tool | About | Purchase |
---|---|---|
| |
Software Tools
This lab requires the following software tools:
Connection Diagram
A host is required to enter commands that place the RN4020 into OTA DFU mode with Microchip Low-energy Data Profile (MLDP ) enabled and advertising enabled. The following connections are required at a minimum:
Procedure
Detailed Steps – RN4020 Device Under Test (DUT) – RN-4020-PICtail Daughter board
1
Ensure that the minimum signal connections as shown in the diagram above are connected. If you are using the RN4020 PICtail, they are already connected.
Detailed Steps – iOS Device
Results
Type V in Tera Term to verify the new firmware version:
The screen capture above shows BTLE v1.23.5. Ensure that your RN4020 module contains the latest version of firmware available at http://www.microchip.com/wwwproducts/en/RN4020