This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OTA from android app not working

Hello,

I am trying to flash an application onto nRF8122 from an android mobile using the Nordic app. After pressing the DFU button, the programming fails giving a pop as DFU service not available. I tried to perform the firmware update using the bluetooth dongle (PCA1000) and it worked fine. The same .hex file used to program using the Nordic app is giving an error. Is there something that I am missing? Should I merge softdevice hex and application hex when I program from the android app? Could you please help me out in figuring the problem?

SDK: 6.1.0 S110: 7.1.0

I am using the bootloader code provided by Nordic in the following path: Nordic\nrf51822\Board\nrf6310\device_firmware_updates\bootloader

Thanks!

  • You should use the same hex file in Android as in Master Control Panel on your computer. You should not merge the SoftDevice and Application hex-files. Which android app are you using and what version are they? Are you able to send me the application hex-file so I can try it here?

  • Hi, Thanks for your response.

    I continued to debug and below are the results:

    1. I tried with Android 4.4.4 and I am able to successfully update the firmware
    2. Firmware used: ble_app_hrs_s110_v7_0_0.hex that is available along with the installation of Nordic App from play store
    3. How ever with other Android versions (4.4.2) I am not able to upgrade the firmware.
    4. Android version used in all mobiles I have tested so far: 1.11.3
    5. With nexus 5 and Android 5 sometimes the firmware upgrade is successful but the status/ progress bar in the UI o Nordic is not showing the same.

    Can you tell me the limitations of the Nordic android App? compatible versions and so on?

    PS: I have used the same hex file (computer and all mobiles) and I have not merged the files.

    Thank you!

  • You wrote:

    I continued to debug and below are the results: 1. I tried with Android 4.4.4 and I am able to successfully update the firmware 2. Firmware used: ble_app_hrs_s110_v7_0_0.hex that is available along with the installation of Nordic App from play store 3. How ever with other Android versions (4.4.2) I am not able to upgrade the firmware. 4. Android version used in all mobiles I have tested so far: 1.11.3 5. With nexus 5 and Android 5 sometimes the firmware upgrade is successful but the status/ progress bar in the UI o Nordic is not showing the same.

    Can you tell me the limitations of the Nordic android App? compatible versions and so on?

    It has been tested on Nexus 4,5,7 with Android 4.4.4 and 5.

    It should also work on Android 4.4.2 with a Samsung Note II and Android 4.3 with Samsung S3.

    All Android versions so far have Bluetooth issues, and several phone models have different issues.

    So, the conclusion is that it should work on Android version 4.3 and above, but 4.3 had a lot of bugs that were fixed in later versions, so the higher the Android version the better.

  • No problem! Please accept the answer if you are satisfied with it. You are welcome to ask a new question in a new thread if you have other issues.

Related