Recently, the serial port upgrade program needs to convert the. Out file into a binary file and burn it to flash for offline use.
The conversion method is divided into two steps:
(1) first convert the. Out file to the Hex file:
The method here provides reference:
A. First write a cmd configuration file, take SCI-A startup mode as an example, the file name xxx. CMD content is as follows:
Xxx. Out
-Boot
-Sci8
-Map xxx_hex.map
-O xxx. HEX
-I
B. There are two options to generate the Hex file:
First, write a batch processing file named XXX. bat. The content is as follows:
Hex2000.exe XXX. cmd
Put the XXX. Out file and XXX. CMD and XXX. BAT files in the same folder. Double-click the batch processing file XXX. BAT to generate the XXX. HEX file.
Type 2: run the command prompt, run hex2000.exe XXX. cmd, and click Enter to generate the XXX. HEX file.
(2) The required binary XXX. binfile can be obtained through the hex2bin file converter.