Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

How to avoid using init packet in the Secure Bootloader example.

Hello,

I am using nrf52832 as a peripheral and running SD S112, nordic UART Profile and SDK 17.1.0 on it.

I am using the provided secure bootloader example and my intention is to bypass the init packet that is being sent initially during the dfu. Can you point me to the code wherein the init packet is checked or validated.?

I am looking into the code in sdk_root/components/libraries/bootloader

Thanks

Justin

  • Hello,

    I don't see why you would want to bypass the init packet. Is there a particular reason for this? 

    Mainly, this is used for protection, so that it is not possible to upload "malware" to the device, which may brick it, or attackers can use it to extract. Secondly, it is used to say something about the image that is coming. 

    I can't see any reason why you would want to bypass this. Perhaps you can enlighten me? What is your expected flow in this case? How will you tell the device to enter DFU mode? And what is the advantage/goal by not using an init packet?

    Best regards,

    Edvin

  • Hi Edvin,

    Our intention is to have custom init packet. If we want to have a custom init packet what would be the good point in the code to start with?

    Thanks,

    Justin

Related