博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Error: timed out while waiting for target halted
阅读量:5992 次
发布时间:2019-06-20

本文共 3728 字,大约阅读时间需要 12 分钟。

/************************************************************************************ *              Error: timed out while waiting for target halted * 说明: *     SW4STM32 STLINK 无法烧录问题。 * *                                            2017-12-26 深圳 宝安西乡 曾剑锋 ***********************************************************************************/一、参考文档:    STLink2 problems reseting        https://forum.sparkfun.com/viewtopic.php?t=45260二、报错信息:    Open On-Chip Debugger 0.10.0-dev-00005-g4030e1c-dirty (2017-10-24-08:00)    Licensed under GNU GPL v2    For bug reports, read        http://openocd.org/doc/doxygen/bugs.html    srst_only separate srst_nogate srst_open_drain connect_assert_srst    Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD    adapter_nsrst_delay: 100    adapter speed: 950 kHz    Info : clock speed 950 kHz    Info : STLINK v2 JTAG v27 API v2 SWIM v6 VID 0x0483 PID 0x3748    Info : vid/pid are not identical: 0x0483/0x374B 0x0483/0x3748    Info : using stlink api v2    Info : Target voltage: 3.253404    Info : Stlink adapter speed set to 950 kHz    Info : STM32F103CBTx.cpu: hardware has 6 breakpoints, 4 watchpoints    Info : Stlink adapter speed set to 950 kHz    adapter speed: 950 kHz    Error: timed out while waiting for target halted    TARGET: STM32F103CBTx.cpu - Not halted    in procedure 'program'     in procedure 'reset' called at file "embedded:startup.tcl", line 478    in procedure 'ocd_bouncer'        ** Unable to reset target **    shutdown command invoked三、Run.cfg 解决办法:    # use hardware reset, connect under reset    # connect_assert_srst needed if low power mode application running (WFI...)    # reset_config srst_only srst_nogate connect_assert_srst    reset_config none四、reset_config none输出信息:    Open On-Chip Debugger 0.10.0-dev-00005-g4030e1c-dirty (2017-10-24-08:00)    Licensed under GNU GPL v2    For bug reports, read        http://openocd.org/doc/doxygen/bugs.html    none separate    Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD    adapter_nsrst_delay: 100    adapter speed: 950 kHz    Info : clock speed 950 kHz    Info : STLINK v2 JTAG v27 API v2 SWIM v6 VID 0x0483 PID 0x3748    Info : vid/pid are not identical: 0x0483/0x374B 0x0483/0x3748    Info : using stlink api v2    Info : Target voltage: 3.254990    Info : Stlink adapter speed set to 950 kHz    Info : STM32F103CBTx.cpu: hardware has 6 breakpoints, 4 watchpoints    Info : Stlink adapter speed set to 950 kHz    adapter speed: 950 kHz    STM32F103CBTx.cpu: target state: halted    target halted due to debug-request, current mode: Thread     xPSR: 0x01000000 pc: 0x1ffff020 msp: 0x200001fc    Info : Stlink adapter speed set to 4000 kHz    adapter speed: 4000 kHz    ** Programming Started **    auto erase enabled    Info : device id = 0x20036410    Info : flash size = 64kbytes    STM32F103CBTx.cpu: target state: halted    target halted due to breakpoint, current mode: Thread     xPSR: 0x61000000 pc: 0x2000003a msp: 0x200001fc    wrote 4096 bytes from file Debug/STM32F103CBT6.elf in 0.261079s (15.321 KiB/s)    ** Programming Finished **    ** Verify Started **    STM32F103CBTx.cpu: target state: halted    target halted due to breakpoint, current mode: Thread     xPSR: 0x61000000 pc: 0x2000002e msp: 0x200001fc    STM32F103CBTx.cpu: target state: halted    target halted due to breakpoint, current mode: Thread     xPSR: 0x61000000 pc: 0x2000002e msp: 0x200001fc    verified 3304 bytes in 0.067082s (48.099 KiB/s)    ** Verified OK **    ** Resetting Target **    Info : Stlink adapter speed set to 950 kHz    adapter speed: 950 kHz    shutdown command invoked

 

转载地址:http://ghtlx.baihongyu.com/

你可能感兴趣的文章
相约珠海航展,用VR共享炫舞蓝天
查看>>
CentOS时间同步
查看>>
Python破解wifi
查看>>
Android--使用VideoView播放视频
查看>>
想要吸睛并进化为王者,做AR&VR得来这里!
查看>>
迪士尼推出电影VR应用,被吐槽亮点是UI设计
查看>>
Android ToolBar 使用完全解析
查看>>
Sqoop1 Install And Test MySQL/PostgreSQL
查看>>
逻辑备份,mysqldump,SELECT…INTO OUTFILE,恢复
查看>>
计算机视觉下一个技术拐点?前端成像或将开启“视觉2.0时代”
查看>>
ls另类用法
查看>>
南京人工智能行业协会成立大会成功举办,以南京为起点推动华东地区AI发展...
查看>>
邮件 dovecot
查看>>
iOS 自动构建套件 - flow.ci + fir.im + Coding
查看>>
特别报道:人工智能 让机器像人一般思考
查看>>
java-第九章-循环结构进阶-计算一个班级的成绩平均分
查看>>
Linux学习之CentOS(十九)--Linux下文件的压缩与打包
查看>>
服务器遭受攻击后的一般处理过程
查看>>
centOS5.5 配置vnc,开启linux远程桌面
查看>>
iptables防火墙
查看>>