Identifying device with .bin file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-29 2:07 AM
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-29 5:48 AM
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.
