HEX to BIN tips sharing

Tip: After the article is written, the table of contents can be automatically generated. How to generate it can refer to the help document on the right

Article Directory


foreword

提示:这里可以添加本文要记录的大概内容:

HEX is a programming file generated by general compilation tools. There is no problem in normal use, but when doing remote system upgrades, HEX files are not very friendly, and BIN files are preferred. Because BIN files are already some binary values, and HEX still needs to be converted.
I remember that there were quite a few HEX to BIN conversions a few years ago, but now it is not easy to find. I downloaded a few from CSDN, and it may not be easy to use due to system problems.
Let's share a little trick of converting hex to bin


提示:以下是本篇文章正文内容,下面案例可供参考

1. STC-ISP tool

STC-ISP is a commonly used development tool for STC series 51 single-chip microcomputers. It can be used to burn programs, and it also comes with a serial port debugging assistant for easy debugging.
In addition, it can also be used to convert HEX to BIN.

1. After opening, find "Open Program File", no other operations or configuration are required here.
insert image description here
2. Select the hex file you want to convert, and you can see the actual program after opening it file, here it is displayed in hexadecimal, but it doesn't matter.
insert image description here
3. Click Save Data in the lower right corner. Just choose a storage location and a name. The default and only bin files are saved here.

insert image description here


Guess you like

Origin blog.csdn.net/lunzilx/article/details/125183692