1, HEX file
HEX file contains both data and address information, so when programming or download HEX file, generally do not require the user to specify the address.
2, BIN file
BIN file only pure data (codes) information, it does not contain an address, so we need to specify the address programming when programming BIN, generally can be modified in the programming tool.