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

DFU issue with CustomBoard (Wireshark log included)

Hello,

DFU issue (FOTA application update fail)

I have a problem when performing Application update over the air , after i change my boot loader.

so when try FOTA ,After i entered the DFUTarg , and then choose the application , i get the warning as shown in picture attached. and will not transfer the application.

my custom board works fine with FOTA when i use a precompiled hex file that i found online www.dropbox.com/.../sd_boot.hex from the forum developer.mbed.org/.../

Since the precompiled boot loader hex is working fine , the problem is for sure in the boot loader hex file that am generating.

The CustomBoard is 16kb Ram , am using S110 V 7.1.0 ,

here is the code for my boot loader main.c

here is the wireshark log file [DFULog.pcapng] (/attachment/5bbd38f45b675202ced8267997e0741f)

wireshark screenshot MalinformedPacket.PNG

image description

Parents
  • Ok, so to sum up: you are using oldest version of the chip which is not compatible with S110 v7.1.0. You are using S110 v7.1.0 which is not compatible with SDK 10...

    I am not saying this is the reason why this is not working, but i think your project is mess. I think you should move to newer chip (at least rev. 2 if you cannot get current rev. 3) and use SDK that is compatible with SoftDevice...

    If you are using 256kb version, I think there is nothing to change in bootloader source.

    Even the cheap chineese nrf51 modules are using rev. 3. (i just ordered few with 32kb ram, which i think is great!)

Reply
  • Ok, so to sum up: you are using oldest version of the chip which is not compatible with S110 v7.1.0. You are using S110 v7.1.0 which is not compatible with SDK 10...

    I am not saying this is the reason why this is not working, but i think your project is mess. I think you should move to newer chip (at least rev. 2 if you cannot get current rev. 3) and use SDK that is compatible with SoftDevice...

    If you are using 256kb version, I think there is nothing to change in bootloader source.

    Even the cheap chineese nrf51 modules are using rev. 3. (i just ordered few with 32kb ram, which i think is great!)

Children
No Data
Related