野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1089|回复: 4

新手小白求助,cubeide下载报错

[复制链接]
发表于 2025-7-9 09:04:49 | 显示全部楼层 |阅读模式
Open On-Chip Debugger 0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:17) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 0
Info : Connecting under reset
Info : CMSIS-DAP: Interface ready
Info : clock speed 8000 kHz
Info : SWD DPIDR 0x2ba01477
Info : [STM32F407ZGTx.cpu] Cortex-M4 r0p1 processor detected
Info : [STM32F407ZGTx.cpu] target has 6 breakpoints, 4 watchpoints
Info : [STM32F407ZGTx.cpu] Examination succeed
Info : starting gdb server for STM32F407ZGTx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : [STM32F407ZGTx.cpu] external reset detected
Info : accepting 'gdb' connection on tcp/3333
[STM32F407ZGTx.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0x08000870 msp: 0x20020000
configuring PLL
Info : device id = 0x101f6413
Info : flash size = 1024 KiB
Info : accepting 'gdb' connection on tcp/3333
[STM32F407ZGTx.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0x08000870 msp: 0x20020000
configuring PLL
Error: [STM32F407ZGTx.cpu] clearing lockup after double fault
Error: error waiting for target flash write algorithm
Error: error writing to flash at address 0x08000000 at offset 0x00000000
[STM32F407ZGTx.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
Info : dropped 'gdb' connection
shutdown command invoked
Info : dropped 'gdb' connection

368f530c638b73fcedb5d40cd955eb6b.png
24b7f5f5b6c9a99e2a4d976feb0ba35e.png
回复

使用道具 举报

发表于 2025-7-11 09:59:35 | 显示全部楼层
用的什么下载器的,先检查接线,在keil这种软件上看看是否能识别到下载器与芯片
回复 支持 反对

使用道具 举报

 楼主| 发表于 2025-7-14 08:41:14 | 显示全部楼层
本帖最后由 18915069752 于 2025-7-14 11:25 编辑
菠萝片 发表于 2025-7-11 09:59
用的什么下载器的,先检查接线,在keil这种软件上看看是否能识别到下载器与芯片 ...

用的FireDAP新款高速版下载的,我没有用keil
回复 支持 反对

使用道具 举报

发表于 2025-7-16 09:38:01 | 显示全部楼层
18915069752 发表于 2025-7-14 08:41
用的FireDAP新款高速版下载的,我没有用keil

最好就是keil来直接看看,keil可以直观的看到是否识别到芯片与下载器,cubeide这种配置有问题的也无法直观的看到的
回复 支持 反对

使用道具 举报

发表于 2025-7-16 09:40:35 | 显示全部楼层
https://www.firebbs.cn/forum.php ... p;highlight=cubeIDE在IDE上使用dap的安这个来配置看看,在修改文件的时候reset_config srst_only srst_nogate connect_assert_srst这个也改为reset_config trst_only
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2025-12-6 01:21 , Processed in 0.120253 second(s), 28 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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