cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying device with .bin file

Abhishek_S
Associate

Hi,

I am trying to identify ways in which a bootloader can identify the details (maybe some address or the name of device) of incoming .bin file and check if the file is actually intended for the MCU. Is there any kind of metadata in the binary or possible to add data in the binary so that the bootloader can check while receiving the file?

Any new ways appreciated.

Thanks!:beaming_face_with_smiling_eyes:

1 REPLY 1
TDK
Guru

There's no built-in metadata unless you put it there. One technique is to repurpose unused entries in the interrupt table and write information there instead. Since the interrupt table is at the start of the file, in a fixed format, that can be used to identify the correct chip.

If you feel a post has answered your question, please click "Accept as Solution".