Getting error as "Unable to find the bootable image" when try to flash the Sample application (binary format) with Zephyr #45905
Replies: 3 comments 1 reply
-
Hi @vishnusudhan , One important difference between a hex and binary file is that the hex file encodes the address for the bytes in each line of the file. Whereas a binary has no address information for the image, and the programming tool must be told what starting address to program the binary to. I suspect the address the runner is using for the binary is not correct, and the image is not getting flashed to the proper location in slot0 for MCUboot. What runner are you using? Can you confirm what address is programmed when using the binary? And compare that to the address used by the hex file? Best regards |
Beta Was this translation helpful? Give feedback.
-
HI @DerekSnell I used the command "west flash --bin-file build/zephyr/zephyr.signed.bin" to flash the sample application. through jlink segger , i am trying to flash the image |
Beta Was this translation helpful? Give feedback.
-
@DerekSnell Is there any possibility to give the offset value using west flash command to load the binary file using jlink? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to build the sample application ( Blinky /hello-world) with zephyr for i.MX RT1160 platform with MCUBoot . I can able to build & able to generate both binary & hex format image.
If i try to flash the hex format image , I can able to flash & can able to get the expected output either LED blinking or printing hello world on terminal.
If I try to flash the binary format image, I can able to flash the binary image , but I could not able to get the expected output.
If I debugged through the terminal , showing ERROR as "Unable to find the bootable image" as below,
Is there any we missed out while flashing the binary image format/ is there any restriction like can flash only hex format of application with MCUBoot?
Note: But for MCUBoot , both hex format & binary format image can be flash & able to identify the MCUBoot image.
Beta Was this translation helpful? Give feedback.
All reactions