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

Upgrading BLE firmware through DFU over uart

Hello,

I am working on nrf51822, My requirement is to upgrade the firmware over the uart with help of DFU. I have made code for that on controller side and fortunately I am able to upgrade the image.

But when i restart the chip and again try to upgrade then I am not getting acknowledge packets from the DFU considering for the start packet also. I am constructing the packet in a way same as given in link devzone.nordicsemi.com/.../a00080.html

After failing due to timeout when i again restart and try to upgrade its working normally. so i tried so many times and at every alternate time of restarting i can able to upgrade...sounds very strange but its true. I am not able to figure out why its happening so...

while discovering regarding the hci protocol, i read somewhere regarding link establishment packet. do i need to establish the link between my controller and nrf51822 before starting upgradation?.. however i have not found such kind of information on site i am referring.

Please help me to figure out these issue.

Regards,

Hardik

Parents Reply Children
Related