OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 6947|回复: 7

关于用openoce使用原子atk dap错误的问题

[复制链接]

1

主题

12

帖子

0

精华

初级会员

Rank: 2

积分
60
金钱
60
注册时间
2021-2-22
在线时间
15 小时
发表于 2021-9-5 22:09:25 | 显示全部楼层 |阅读模式
1金钱
我按照正常的配置只会会报如下错误  我也不知道怎么回事啊 求助论坛的大佬

cmsisdap.png
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

1

主题

12

帖子

0

精华

初级会员

Rank: 2

积分
60
金钱
60
注册时间
2021-2-22
在线时间
15 小时
 楼主| 发表于 2021-9-5 22:18:49 | 显示全部楼层
回复

使用道具 举报

2

主题

592

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1458
金钱
1458
注册时间
2019-7-28
在线时间
137 小时
发表于 2021-9-6 12:05:52 | 显示全部楼层
没用过openocd帮顶  
回复

使用道具 举报

1

主题

12

帖子

0

精华

初级会员

Rank: 2

积分
60
金钱
60
注册时间
2021-2-22
在线时间
15 小时
 楼主| 发表于 2021-9-6 22:43:43 | 显示全部楼层
lpwithv 发表于 2021-9-6 12:05
没用过openocd帮顶

不知道我查了好久没找到解决办法啊哎
回复

使用道具 举报

1

主题

12

帖子

0

精华

初级会员

Rank: 2

积分
60
金钱
60
注册时间
2021-2-22
在线时间
15 小时
 楼主| 发表于 2021-9-6 22:44:04 | 显示全部楼层
回复

使用道具 举报

1

主题

12

帖子

0

精华

初级会员

Rank: 2

积分
60
金钱
60
注册时间
2021-2-22
在线时间
15 小时
 楼主| 发表于 2021-9-6 22:54:49 | 显示全部楼层
D:\clion\OpenOCD-20210625-0.11.0\bin\openocd.exe -s D:\clion\OpenOCD-20210625-0.11.0\share\openocd\scripts -f D:\code\RCT6T\st_nucleo_f103rb.cfg -c "tcl_port disabled" -c "gdb_port disabled" -c "tcl_port disabled" -c "program \"D:/code/RCT6T/cmake-build-debug-mingw/RCT6T.elf\"" -c reset -c shutdown
Open On-Chip Debugger 0.11.0 (2021-06-25) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : DEPRECATED target event trace-config
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 1 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x1ba01477
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: stm32f1x.cpu -- clearing lockup after double fault
Polling target stm32f1x.cpu failed, trying to reexamine
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : gdb port disabled
target halted due to debug-request, current mode: Thread
xPSR: 00000000 pc: 0xc000c000 msp: 0xc000c000
** Programming Started **
Info : device id = 0x10036414
Info : flash size = 256kbytes
Error: timeout waiting for algorithm, a target reset is recommended
Error: flash write failed at address 0x8000000
Error: error writing to flash at address 0x08000000 at offset 0x00000000
embedded:startup.tcl:501: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 566
at file "embedded:startup.tcl", line 501
这是错误目录
回复

使用道具 举报

1

主题

12

帖子

0

精华

初级会员

Rank: 2

积分
60
金钱
60
注册时间
2021-2-22
在线时间
15 小时
 楼主| 发表于 2021-9-7 21:59:21 | 显示全部楼层
顶一下
回复

使用道具 举报

0

主题

1

帖子

0

精华

新手上路

积分
21
金钱
21
注册时间
2021-11-3
在线时间
5 小时
发表于 2021-12-1 22:44:18 | 显示全部楼层
碰到了同样的问题,后来是怎么解决的?
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-14 16:43

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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