普中开源电子分享网

 找回密码
 立即注册
搜索
查看: 1581|回复: 0

clion烧录失败,如何配置

[复制链接]

1

主题

1

帖子

3

积分

新手上路

Rank: 1

积分
3
发表于 2023-1-9 23:41:25 | 显示全部楼层 |阅读模式
1金钱
# 朱雀F103+普中仿真器
```
Info : DEPRECATED target event trace-config; use TPIU events {pre,post}-{enable,
disable}
adapter speed: 10000 kHz

Info : CMSIS-DAP: SWD  supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: FW Version = 1.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 10000 kHz
Info : SWD DPIDR 0x2ba01477
Info : stm32f1x.cpu: Cortex-M3 r2p1 processor detected
Info : stm32f1x.cpu: target has 6 breakpoints, 4 watchpoints
Info : gdb port disabled
Error: timed out while waiting for target halted
embedded:startup.tcl:1029: Error: ** Unable to reset target **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 1066
at file "embedded:startup.tcl", line 1029

```
# 我的配置是
```
# 设置调试器为cmsis-dap
source [find interface/cmsis-dap.cfg]
# 设置调试器所用接口为SWD
transport select swd
# 定义Flash大小为512K
set FLASH_SIZE 0X20000
# 设置芯片
source [find target/stm32f1x.cfg]
# 设置速度
adapter speed 10000```
我知道答案 本帖寻求最佳答案回答被采纳后将获得系统奖励10 金钱 , 目前已有0人回答

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

Archiver|手机版|小黑屋|普中开源电子分享网 粤ICP备16123577号-2

GMT+8, 2024-4-25 04:21 , Processed in 0.125456 second(s), 29 queries .

Powered by 论坛搭建 X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表