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

nRF51822 over the air bootloader - nRF Mcp freezes or reports GATT ERROR

Today, I tried out the Ble Bootloader from the Sdk examples. As a central client, I'd used the »nRF Loader App« an an iPhone and also »nRF Mcp« on an Android Tablet.

I tried it out with some different application binaries (all are attached to this post). The Blinky is slightly different agains the sck examples (a bit different blinking pattern). All application binaries My test target is a nRFgo: nRF6310 Rev 1.4 Motherboard with PCA10004 Rev 2.0.0 cpu module. For each test run I began with nRFgo Studio "Erase all", "Program SoftDevice" & "Program Bootloader" to have always a clean base.

The results are as followes.

Update via nRF Loader (iPhone), needs *.bin update files:- Blinky Debug -> Update ok, application works as expected

  • Blinky Release -> Update ok, application works as expected
  • Hrs Debug -> Update ok, application works as expected
  • Hrs Release -> Update ok, application works as expected
  • Hrs Debug2 -> Update ok, application works as expected
  • buildin ble_app_hrs -> Message "Finished upload!", but no Ble Peripheral visible on Mcp or LightBlue
  • buildin ble_app_rscs -> dito

Update via nRF Mcp (Android), needs *.hex update files:- Blinky Debug -> Starting DFU -> no progress bar, ends up in a screen with: "Status: GATT ERROR \n NOT BONDED"

  • Blinky Release -> Update ok, application works as expected
  • Hrs Debug -> Starting DFU -> freezes at 20%
  • Hrs Release -> Starting DFU -> freezes at 36%
  • Hrs Debug2 -> Starting DFU -> freezes at 20% Look's like an issue with the "nRF Master Control Panel" Android app, isn't it?

nRF-Binaries.zip

  • Hi Joe,

    It seems that there is a small bug on the way we interpret the hex file in Android app. We are looking on that and will have an update for you. Regarding the iOS app, the buildin ble_app_hrs and ble_app_rscs hex should be used with S110 v5.2.1, this explain why it didn't work after updated firmware.

  • About Android Mcp App: Forgot to report the version number of the app - I'd installed nRF Mcp 1.4.1 on a Samsung Note SM-P605 running with Android 4.3. Ok, then I'll look forward for that update - thanx in advance. BTW: May it be possible to upload hex files from local storage? It seems that I currently only can upload hex files which are stored on dropbox.

    About version checking:

    … should be used with S110 v5.2.1 … That makes me very sense to have a very solid version checking when I plan to use DFU in production conditions (were the update my be executed by a customer).

  • Hi Joe,

    We have updated on Google play with the fix, it will take a few hours. I attached here the apk file if you don't want to wait :) On Android, to select a file in the file system instead of dropbox, you can install any file manager app on Google Play, I am using "File Manager" app. You will have a pop up asking which app you want to use to select the hex file.

    Regarding the version checking, you are correct, care should be taken to match the S110 version. The nRFLoader app was released long ago before the S110 v6.x release so the example bin file was from S110 v5.x. In the future we will have support for updating the softdevice also.

    nRFToolkit-release.zip

  • Hex file from local storage: I'd tried Samsung stock file manager and also the File Manager apps from Rythm Software, gira.me and Topnet999. They all provides me less or more options for open a selected file but none of them provides me the nRF Mcp app. Which File Manager app are you using exactly?

  • You meant when you click DFU in MSC app, the Drop box will be automatically called ? Maybe you would need to clear the default attribute of Dropbox to be able to select the File Manger app. To remove the "Launch by default", you can go to Dropbox app info and click Clear defaults. You can also try to Uninstall Dropbox, and install it again. I am using this app: https://play.google.com/store/apps/details?id=com.rhmsoft.fm&hl=en

Related