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

Is it possible two device types in dfu package

Hi all, I'm using sdk11.0.0 signed bootloader and I have custom board with dfu support. The custom board have device type ex:0x01 now I need to change device type to ex:0x02

I created a sd+bootloader+application.zip with device type 0x01 but the bootloader firmware in that zip have device type 0x02. when I try to update that zip file first it updating sd+bootloader firmware successfully then it disconnect and connect again and start dfu to update application firmware but at these time it fails and giving error as device type failed

when I see manifest.json for both sd+bootloader and application have same device type image description

And I'm using command to create zip file is image description

Is their any option to create zip file with different device types for sd+bootloader and application

Thanks in advance

Parents Reply Children
  • Hi Hung, by mistake we send our custom boards with device type 0x01 but the actual device type is 0x02. so we need to update that boards to device type 0x02.

  • @Raj: Please state clearly which device type , the bootloader device type, application device type or actual hardware device type was send. And "send" here mean ?

    Basically there is only one checking step, when the bootloader receive the application DFU image , it will check in the init data of that application DFU image if the device type inside that is equal to the device type it has inside its code.

    So you either modify the bootloader to correct device type, or you modify the application device type when you generate the application DFU packet to match with your bootloader 's device type.

Related