[单片机芯片] 咨询帖---CH32V317无法下载程序问题

[复制链接]
 楼主| abner_ma 发表于 2025-7-22 11:44 | 显示全部楼层 |阅读模式
   最近在评估CH32V307,CH32V 系列是基于青稞 RISC-V 内核设计的工业级通用微控制器,包括 CH32V305 连接型 MCU、CH32V307/CH32V317 互联型 MCU、CH32V208 无线型 MCU 等。CH32V30x 和 CH32V31x 系列基于青稞 V4F微处理器设计,支持单精度浮点指令和快速中断响应,支持 144MHz 主频零等待运行,提供 8 组串口、
4 组电机 PWM 高级定时器、SDIO、DVP 数字图像接口、4 组模拟运放、双 ADC 单元、双 DAC 单元,内置USB2.0 高速 PHY 收发器(480Mbps)、千兆以太网 MAC 控制器及 10 兆物理层收发器、10/100 兆物理层收发器(仅适用于 CH32V317)等。


0.png

开发板:

微信图片_20250722113441.jpg

B.png

1.png

3.png
现在遇到不能

404.png
日记
  1. Ready for Remote Connections
  2. Started by GNU MCU Eclipse
  3. Info : Listening on port 6666 for tcl connections
  4. Info : Listening on port 4444 for telnet connections
  5. Info : WCH-Link-CH549  mode:RV version 2.12
  6. Info : wlink_init ok
  7. Info : clock speed 6000 kHz
  8. Info : [wch_riscv.cpu.0] datacount=2 progbufsize=8
  9. Info : [wch_riscv.cpu.0] Examined RISC-V core; found 1 harts
  10. Info : [wch_riscv.cpu.0]  XLEN=32, misa=0x40901125
  11. [wch_riscv.cpu.0] Target successfully examined.
  12. Info : starting gdb server for wch_riscv.cpu.0 on 3333
  13. Info : Listening on port 3333 for gdb connections
  14. Info : accepting 'gdb' connection on tcp/3333
  15. Info : device id = 0x722adadf
  16. Info : flash size = 288kbytes
  17. Warn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"
  18. Error: Read-Protect Status Currently Enabled
  19. Error: failed erasing sectors 0 to 7
  20. Error: flash_erase returned -4
  21. Info : dropped 'gdb' connection
哪位大神指导下为啥不能下载?

LIzs6 发表于 2025-7-23 11:11 | 显示全部楼层
根据截图信息,应该是使能读保护了,你解除读保护再试一下
 楼主| abner_ma 发表于 2025-7-23 11:15 | 显示全部楼层
LIzs6 发表于 2025-7-23 11:11
根据截图信息,应该是使能读保护了,你解除读保护再试一下

是的
彩虹彼岸 发表于 2025-8-6 11:51 | 显示全部楼层
读写保护,用配套软件搞一搞就行了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

认证:项目经理
简介:资深嵌入式开发工程师

95

主题

181

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部