I was implementing the secure boot and flash encryption in esp-idf v3.3
I got the issue in ota, it's throwing the error
Code: Select all
OTA failed: "image at 0x180000 has invalid magic byte error" in Secure boot Flash encryption
So, I created the issue on esp-forum (viewtopic.php?f=13&t=21314) then, esp developer suggested that I should create the issue ticket on the amazon-freertos repository.
So, I created the issue on amazon-freertos. They said I need to check the tools which generate the OTA image, to add padding.
You can check the discussion https://github.com/aws/amazon-freertos/issues/3215
So, can you guys tell me which tool is responsible to generate the OTA image?