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

How not to use the init packet in DFU

I am changing my project from 6.x to 7.x, and I saw in the BLE Bootloader/DFU documentation that there is a point in the bootloader where it decides weather to use the init packet or not, but I cannot find that place. Can someone point me in the right direction?

Thanks!

Parents
  • Hi Antonio,

    From SDK v7.x Initdata packet is obligated as you can see here (it's not optional as in SDK v6.x).

    If you want to avoid initdata packet you would need to modify the source code of the bootloader.

Reply
  • Hi Antonio,

    From SDK v7.x Initdata packet is obligated as you can see here (it's not optional as in SDK v6.x).

    If you want to avoid initdata packet you would need to modify the source code of the bootloader.

Children
  • Hi Hung,

    I hope you will get this comment although this question is old and has been answered. I am trying to change the source code of Bootloader from SDK v7.1.0 to avoid initdata packet checking such that I can do a FOTA without selecting an init packet from the Master Control Panel.

    I tried modifying the functions dfu_init_pkt_handle and dfu_init_pkt_complete in dfu_dual_bank.c but I still get INIT Packet required message in the MCP app.

    Could you tell me what changes are required more to make it run?