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

DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.

Hi,

I want to add DFU OTA feature for my project, I use SDK 6.1.0 and S110 7.1.0, I found a sample Bootloader code for different version of SDK (SDK 6.0.0), from Github [https://github.com/NordicSemiconductor/nrf51-dfu-bootloader-for-gcc-compiler] , The changes I have done is changing the board (to PCA10001) and changing the I/O's, but it seems to not even advertise, finally found that Pstorage register function returned "invalid Parameter Error" , so requested extra bytes(~2 bytes) of memory and the device was advertising as DFUTarg, but when I select my application hex file, uploading status goes halt, and DFU Timeout occurs and gets disconnected, Is there anything changes to be made to port to SDK 6.1.0 and also I need it to be ported to support Single Bank mode, How is it done, is there any procedure to be followed to port. I use Eclipse IDE, nRF Tool Android app.

Parents
  • Hi Raghu,

    For new product development, I strongly suggest you to move to the latest SDK v11. You would need chip revision 3 to work with SDK v11 and S110 v8.0.0 or S130 v2.0.0 but that what you will have if you go to production.

    On newer SDK, gcc is supported natively for the bootloader. And to make single bank update work it's very simple to replace the dfu_dual_bank.c with dfu_single_bank.c (it's not the same if you use SDK v6.x).

    If you don't plan to change, could you test with the github example with no modification , do you have any issue ?

Reply
  • Hi Raghu,

    For new product development, I strongly suggest you to move to the latest SDK v11. You would need chip revision 3 to work with SDK v11 and S110 v8.0.0 or S130 v2.0.0 but that what you will have if you go to production.

    On newer SDK, gcc is supported natively for the bootloader. And to make single bank update work it's very simple to replace the dfu_dual_bank.c with dfu_single_bank.c (it's not the same if you use SDK v6.x).

    If you don't plan to change, could you test with the github example with no modification , do you have any issue ?

Children
No Data
Related