An error occurs when generating a signed binary file. Error: Header padding was not requested and image does not start with zeros

Hi Support Team,

An error occurs when generating a signed binary file for central_dfu_smp.

Error: Header padding was not requested and image does not start with zeros

[environment]

windows10

nRF Connect SDK tor Desktop v3.5.0

nRF Connect SDK v1.3.0

python3.8.3

nRF52840DK

[command]

%NCS%\bootloader\mcuboot\scripts\imgtool.py sign --header-size 0x200 --key %NCS%\bootloader\mcuboot\mykey-rsa-2048.pem --align 8 --version 1.2 --slot-size 0x60000 .\build_nrf52840dk_nrf52840\zephyr\zephyr.bin .\build_nrf52840dk_nrf52840\signed-zephyr.bin

[output]

Usage: imgtool.py sign [OPTIONS] INFILE OUTFILE

Error: Header padding was not requested and image does not start with zeros

Related