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
  • @wojtek , if you have seen the nordick sdks 7.1.0 it don't have a makefile included. there is no armgcc folder. I created a makefile . i had many error b/c building some of the file had error. finally i managed to build and the hex file. but with this boot loader.hex file i got , i tried bootloader7.1.0 + soft device 7.1.0.hex + application.hex , but after flashing it don't even advertise now. it is really difficult to make the boot loader 7.1.0 make work . what do you think ?

Reply
  • @wojtek , if you have seen the nordick sdks 7.1.0 it don't have a makefile included. there is no armgcc folder. I created a makefile . i had many error b/c building some of the file had error. finally i managed to build and the hex file. but with this boot loader.hex file i got , i tried bootloader7.1.0 + soft device 7.1.0.hex + application.hex , but after flashing it don't even advertise now. it is really difficult to make the boot loader 7.1.0 make work . what do you think ?

Children
No Data
Related