汇集网友智慧,解决技术难题
单片机 国产芯片
赞0
评论
2026-03-04
wangwu1976@ 发表于 2026-2-2 08:35 真详尽,赞一个!
2026-02-02
中国英茂科工 发表于 2026-1-15 09:17 GD32 ISP 串口协议全景解析 通过串口实现固件升级的核心协议,无需仿真器 即可完成Flash烧录,支持UART0/UA ...
2026-01-29
xionghaoyun 发表于 2026-1-6 08:56 官网啊
2026-01-26
2026-01-21
2026-01-19
ykwym 发表于 2026-1-15 08:57 这个
2026-01-15
点击图片添加到编辑器内容中
点击文件名将附件添加到文章中
提交
tyw
320个答案
天意无罪
288个答案
xch
281个答案
dffzh
226个答案
jjjyufan
213个答案
coody
204个答案
LcwSwust
172个答案
地瓜patch
149个答案
赞0
评论
2026-03-04
赞0
学无止境,感谢关注
评论
2026-02-02
赞0
真详尽,赞一个!
评论
2026-02-02
赞0
评论
2026-02-02
赞0
评论
2026-01-29
赞0
官网没有只能找FAE了
评论
2026-01-26
赞0
https://bbs.21ic.com/forum.html? ... &extra=#pid14926022
1、兼容windows、debian linux、ubuntu linux等。
2、精准识别USB串口的CH340、CP2102等友好名称。无需手动选择串口。
3、可把hex和HonComm.exe打包在一起,一键运行即自动下载。
4、串口下载的HonApp源码已公开,基于cortex-m0虚拟mcu,linux(或windows的wsl运行debian ubuntu)下用armgcc或clang编译,windows下支持IAR和keilmdk。
signed long AutoFindSerialPort()
{
unsigned long bpstype = HonComm_GetBpsType();
if (bpstype == 0x4)
{ // Run In HP968
return 0;
}
int SelectComport(char *wantstr[]);
int enumCnt = 0;
while (enumCnt < 8)
{
const char *FeatrueStrList[] = {"CH34", "CP210", "PL23", "Serial", NULL}; // FTDI[USB Serial Converter]
int comresult;
comresult = Hon_GetPortCount();
if (comresult <= 0)
{
if (enumCnt == 0)
HonUi_DisplayStr("\r\n ->Not Found Com Port,EnumPort", 0, 0, 0);
HonUi_DisplayStr(".", 0, 0, 0);
Hon_EnumPort();
enumCnt++;
HonUi_GetKey(1000);
continue;
}
comresult = SelectComport((char **)FeatrueStrList);
if ((comresult & 0xff) <= 0)
{
if (enumCnt == 0)
HonUi_DisplayStr("\r\n ->Not Found USB-SERIAL(CH340 CP210X etc...),EnumPort", 0, 0, 0);
HonUi_DisplayStr(".", 0, 0, 0);
Hon_EnumPort();
enumCnt++;
HonUi_GetKey(1000);
continue;
}
评论
2026-01-21
赞0
在这呢
评论
2026-01-19
赞0
有中文的吗
评论
2026-01-15
您需要登录后才可以回复 登录 | 注册