Tool/software:
Hey there!
When reseaching about BSL (Bootstrap Loader) I came across BIM (Boot Image Manager).
I am wondering if I can use both in combination?
I would like to use some software like the "bim_sample_image" to create Signed Application Images in binary format.
Then transfer this Application Image to my BSL Host.
Then send this Application Image from the BSL Host to the BSL Target by UART.
Program the Image to one of the two Flash-Slots managed by the BIM.
Use the BSL for CRC-Checksum-Check.
Use the BIM to verify the signature of the Application Image in the selected Flash Slot.
- Does BSL need Application Images in .hex format or can it also cope with .bin Application Images?
- I am unsure about that because the BIM seems to need binary .bin Images but the BSL seems to need .hex-Images.
- Can you please tell me if and how this discrepancy can be solved.
- In the default BSL usecase the BSL would reset the device after having successfully received the Application Image and then boot the device with the new Application Image.
- Can this also be taken over by the BIM that choses if the device should boot from Slot 1 / PRIMARY_IMAGE oder Slot 2 / SECONDARY_IMAGE?
- Am I missing any advantages or disadvantages in this approach?
Thanks a lot in advance for your answers, tips and additional advice concerning this issue!
Matze