8.4.6 Receive and Update the Firmware

The following are the steps to select the new RNBD350 firmware:

  1. Turn on mobile Bluetooth®, and open the MBD application.
  2. As shown in the consoletext log, the user must establish a connection from the MBD app.
  3. By default, the RNBD350 is programmed to behave in the Data mode, where the device advertises during power-up. The devices that advertise the Bluetooth Low Energy packets are called peripheral devices. Each peripheral device has a unique advertising name. The mobile acts as a Bluetooth Low Energy central device, scans the surrounding Bluetooth Low Energy advertisements and lists all the available devices in the scan list.
  4. Tap OTA DFU in the MBD application.
  5. Select the RNBD350_XXXX from the scan list (XXXX means the last two bytes of the device BD address).
    Figure 8-25. Microchip Bluetooth Data OTA DFU Interface
  6. The central device (mobile application) now gets connected with the device, and connection-related logs are visible on the tools’ console.
    Figure 8-26. RNBD350 Device Connection Log in Microchip RNBD Utility Tool Terminal
  7. When connected, tap Select Image to choose the available firmware file. The OTAU firmware image file copied in step 4 is visible on the screen.
    Figure 8-27. Microchip Bluetooth Data OTA DFU Firmware Image Selection
    Upon selecting the image shown above, the below selection displays.
    Figure 8-28. Microchip Bluetooth Data App OTA DFU Browse Firmware Image
  8. After confirmation of the firmware version, click OK to continue.
    Figure 8-29. Microchip Bluetooth Data DFU OTA Firmware Version Confirmation
  9. The firmware receipt is initiated and displayed in the console log and mobile app, which represents the status of the procedure's progress.
    Figure 8-30. Firmware Update in Progress: MBD OTA DFU View
    Figure 8-31. Microchip RNBD Utility Tool OTA DFU Firmware Image Receive in Progress
  10. The mobile application and the Microchip Utility Tool display confirmation messages about the successful OTA firmware receipt: “OTA update successful” and “Received complete firmware data”.
    Figure 8-32. Microchip RNBD Utility Tool OTA DFU Firmware Image Receive Complete
    Figure 8-33. MBD OTA DFU Firmware Receive Complete
    Figure 8-34. MBD OTA DFU Firmware Receive Complete
  11. After successfully receiving the OTA firmware, The Bluetooth Low Energy connection with the MBD app will disconnect and will proceed with the serial DFU update. Click OK in the pop-up dialog.
    Figure 8-35. Microchip RNBD Utility Tool OTA DFU Firmware Image Receive Completed
  12. During the firmware update, the tool displays the following information:
    • Progress label that displays the percentage of completion
    • Live Progress bar update view
    • Status label that displays the current status
    • Total bytes completed
    • Background update status on console text view
    Figure 8-36. Microchip RNBD Utility Tool OTA DFU Tab Firmware Update Progress
  13. After completion, the tool updates the following:
    • A Success pop-up window appears that displays the message: “DFU Update Completion!”. Click OK to continue.
    • The progress label indicates: 100%.
    • The status changes to: “DFU Update Complete!”.
    • The bytes completed matches the total bytes.
    • There is a Firmware Distribution Complete message on the console text log.
    Figure 8-37. Microchip RNBD Utility Tool OTA DFU Tab Firmware Update Complete
  14. After clicking OK, the console text log displays the total time taken for the firmware update along with the “HOST OTA Successful” message.
    Figure 8-38. Microchip RNBD Utility Tool OTA DFU Tab Firmware Update Complete Time