Skip to content

Android Fragment FW Update

Rémy edited this page Dec 18, 2023 · 27 revisions

This page can be used to check the different SW and FW informations. When you connect to a PandwaRF, you will be notified by a toast message if there is a new FW version so you don't have to check here every time you start the Android app.

Notes:

  • CC1111 FW update can only be done using this page of the Android Application. CC1111 FW update using a PC is not supported.
  • Nordic FW update preferable way for updating is by using this page of the Android Application. Alternatively, Nordic FW update can also be done using the Support Recovery Mode or any other method to update the Nordic Semiconductor nRF51822

Nordic FW update

For Nordic FW update a dedicated page show the progress of the update

Sometimes the FW update need you to perform an action with the buttons of your PandwaRF. Read and follow the instructions, then the fw update will continue.

Possible issues and workarounds

Nordic FW update issue

It can happen that the Nordic FW update fails with message 'Timeout in Nordic FW update' or 'DFU process failed.' Here are some reasons for this failure:

Bonded device

Nordic FW update may fail if device is bonded. In this case, the DFU process will remain stuck at 1% or 2% of the firmware update. To fix this issue you have to erase all previous bonding information on both the PandwaRF app and the PandwaRF device. The easiest way is to accept to unbond the device when the FW update dialog request you to do it.

You can also do it manually whenever you want:

  • Enable BLE secure pairing in PandwaRF app
    • connect the app to the pandwaRF
    • To the top of the app, click on the white shield, a dialog about BLE secure pairing will appears, then click on 'enable'.
  • Execute Whitelist clear procedure on PandwaRF device
    • Open the PandwaRF enclosure.
    • press SW3 button for 2s until red and blue led start blinking.
    • this will delete all bonding information in PandwaRF
  • Retry Nordic FW update (remember to decline bonding request on next connection).

No battery present

When no battery is present, there are a lot of spurious interrupts caused by battery manager not finding the battery. This interrupts are causing side effects and for example, can cause FW update to fail. So you need to disable these interrupts when you don't have a battery. Please refer to PandwaRF Bare Settings for more details. Note: since Nordic release 0.11.12, PandwaRF is able to detect a missing or defective battery, and will disable battery monitoring.

DFU status stays in "Connecting..."

  • Open the PandwaRF enclosure and reset the board by pressing SW5
  • Reconnect with the app and try Nordic FW update again

DFU status stays in "Progress 0%..."

  • Enable BLE secure pairing in PandwaRF app
    • connect the app to the pandwaRF
    • To the top of the app, click on the white shield, a dialog about BLE secure pairing will appears, then click on 'enable'.

Try Nordic FW update with another phone

There are known issues with Huawei phones, so please try updating with another phone.

CC1111 FW update issue

If you encounter issues while updating the CC1111 FW (progress stuck, timeout, etc...), maybe the way PandwaRF uses your phone BLE stack has to be tweaked. You can change that from PandwaRF app Settings menu.

  • In Menu/Settings/Tweaking/BLE TX enqueue mode, uncheck the box
  • PandwaRF BLE stack is now in fallback mode
  • Close the app, and retry.

The 2 options for BLE TX enqueue mode are:

  • Normal mode: Enqueue all TX packets into a FIFO queue. Faster, but can freeze sometime.
  • Fallback mode: Send one BLE packet at a time, waiting for previous packet to be sent before enqueuing new one. Safer but slower.

Note: Changes will be effective at next connection.

Project Information

PandwaRF Android Application (Normal Mode)

PandwaRF Android Application (Dev Mode)

Marauder Android Application

iOS Application

Linux

Hardware

For developers

Support

Gimme moar!

Clone this wiki locally