CH554 hex文件无法下载

keil51工程编译出的CH554 hex文件使用WSCHISPStudio工具下载时,一直报错"hex转bin"失败。


WSCHISPStudio为最新版本3.6.


麻烦请教一下该如何排查这个问题。

可以把固件发送至dxy@wch.cn ,我们来试下,一般这种情况是HEX本身格式不对,不是常见的标准HEX格式。

比如之前有遇到过换行符必须是\r\n,而不能是\n。


Most likely your hexfile does not start at 0x0000. WCH tools require A file starting from 0x0000

Another reason maybe if your hex is bigger than 0x37FF. You can check the map file for the range.

Since the hex ist produced unter Keil (win) it will contain CR LF as delimiter.


WCH Tools requireas CR LF line delimiter but IntelHex specifies all line delimiter optional

In fact WCH tools are incompatible with Linux line delimiters


Intel HEX - Wikipedia



只有登录才能回复,可以选择微信账号登录