This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ota with s310 V1.0 problems

Hi all

I’m trying to use the OTA DFU with nrf51422 SDK 6.0 and softdevice s310 V1.0.0. I were supposed to use the nrf tool application for android, but I can’t make it work. I hope that some of you can help me.

The nrf51422 chip is mounted on a Dynastream module, but I don’t think that matters. I’m using the DFU example from the SDK and compiling the dfu_dual_bank_ble(s310). I have changed the code a little in order to fit the button on the dynastream. That’s it.

The memory area for the bootloader is as follows:

IROM1: 0x3C000 start. 0x4000 size IRAM1: 0x2002400 start. 0x1C00 size

And memory area for the application itself:

IROM1: 0x20000 start. 0x1BFFF size IRAM1: 0x2002400 start. 0x1C00 size

I download the 3 .hex with nRFgo studio. First the softdevice, and then the bootloader. Now the MCU enters the bootloader, and I can see the advertising packets from nRFtools. When I start the upload, it says “Connecting” for a while, and suddenly it fails with the following message:

GATT internal error(129)

If I use Master Control Panel Android App, I can see the advertising, but I can’t connect. Can anyone tell me what I’m doing wrong here?

Thanks

Parents
  • Hi

    We have recently discovered this as a bug which makes the OTA fail for most Android and IOS devices. Here is the workaround in order to make it work:

    In the bootloader, change the include folder in the bootloader project to ..\include\ble_transport instead of ..\include\hci_transport that should fix the prolem

    Try that and report your results

Reply
  • Hi

    We have recently discovered this as a bug which makes the OTA fail for most Android and IOS devices. Here is the workaround in order to make it work:

    In the bootloader, change the include folder in the bootloader project to ..\include\ble_transport instead of ..\include\hci_transport that should fix the prolem

    Try that and report your results

Children
Related