This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrfutil generate zip can not work

Hi, Nordic

I download nRF5_SDK_12.1.0_0d23e2a\examples\dfu\bootloader_secure example, when I use dfu example via android nRF Toolbox, it can work.

Then I build nRF5_SDK_12.1.0_0d23e2a\examples\ble_peripheral\experimental_ble_app_buttonless_dfu, first use nrfutil to generage private.pem, then use nrfutil to generate zip, when I start to DFU, it can not work:

device log:

:INFO:PB: Init data len: 61

:INFO:Handling signed command

:INFO:Prevalidate FAILED!

:INFO:Sending Response: [0x4, 0xa]

android nRF Toolbox show "UNKNOW ERROR(8202).

maybe it is related to key, If I use bootloader_secure example, how can I generate my app dfu zip?

If I do not want to use secure, how can I do?

Thanks.

Parents
  • Hi Chaw,

    When you use experimental_ble_app_buttonless_dfu, did you flash the bootloader_secure before that ?

    Note that the experimental_ble_app_buttonless_dfu() is just the demonstration to switch from the application to the bootloader. It's not the bootloader.

    If you can do DFU update with bootloader_secure, this mean your .zip file is fine.

Reply
  • Hi Chaw,

    When you use experimental_ble_app_buttonless_dfu, did you flash the bootloader_secure before that ?

    Note that the experimental_ble_app_buttonless_dfu() is just the demonstration to switch from the application to the bootloader. It's not the bootloader.

    If you can do DFU update with bootloader_secure, this mean your .zip file is fine.

Children
Related