Short answer
BIN carries only raw bytes. Intel HEX and Motorola S19 write the same kind of data as text along with address information. Conversion between them is possible, but the address mapping must be right.
Detailed answer
A BIN file has no header at all, so a byte's address is understood from its position in the file. HEX and S19 are line-by-line text records, with each line also carrying an address and a check value, so the same content looks larger in text form.
Text formats are used on the maker and development side, while reading tools mostly use raw BIN. Because text formats can describe memory layouts with gaps, fill bytes may be added when converting to BIN.
Check the size and address range after converting. A conversion error can leave a file that looks intact but is wrong for the unit.
Last updated: