在淘宝买 了个核心板,https://item.taobao.com/item.htm ... 0&_u=8bavat8eea下载时需要按着RESET不放,然后点下载,松开后即可成功下载。否则,无法下载成功。 Info : clock speed 4000 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.312064 Info : STM32F103C8Tx.cpu: hardware has 6 breakpoints, 4 watchpoints Error: timed out while waiting for target halted TARGET: STM32F103C8Tx.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 如果按着RESET,点下载,然后再松开,则会有下面的提示过程: Info : clock speed 4000 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.312064 Info : STM32F103C8Tx.cpu: hardware has 6 breakpoints, 4 watchpoints STM32F103C8Tx.cpu: target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08001058 msp: 0x20005000 ** Programming Started ** auto erase enabled Info : device id = 0x20036410 Info : flash size = 64kbytes STM32F103C8Tx.cpu: target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x2000003a msp: 0x20005000 wrote 5120 bytes from file Debug/c8t6spi.elf in 0.329144s (15.191 KiB/s) ** Programming Finished ** ** Verify Started ** STM32F103C8Tx.cpu: target state: halted target halted due to breakpoint, current mode: Thread xPSR: 0x61000000 pc: 0x2000002e msp: 0x20005000 verified 4432 bytes in 0.085779s (50.457 KiB/s) ** Verified OK ** shutdown command invoked |
【MCU实战经验】基于STM32F103C8T6的hart总线调试器设计
求教STM32F103进入STOP模式后用外部中断唤醒的问题
基于STM32F103RCT6的无源蜂鸣器音乐播放(生日快乐歌)
STM32F103c8t6有没有DAC 功能?
STM32F103x中文数据手册
新手求教,为何在我电脑上找不到STM32F1Xx.h文件
金龙107例程汇总(STM32F107)
万利STM32F107VC 原理图
STM32F103 ADC多通道检测必须要DMA吗?
【官方例程】STM32F107以太网官方例程
这个是复位方式设置问题
我在keil下用ulink下载的时候,刚开始也是要按住复位,点下载,马上松开才能下载成功。
但是同事用jlink就好用,所以很纳闷。后了经测试,是我的复位方式有问题。
复位方式一共有4种,Auto detect、HW RESET、SYSRESETREQ、VECTRESET。
没有硬件复位信号的情况下,要选择SYSRESETREQ才可以。具体在你的环境下,选项在哪不清楚,但是这几种方式应该是有的吧。
这四个选项的定义:
Reset — HW RESET performs a hardware reset by asserting the hardware reset (HW RESET) signal.
Reset — SYSRESETREQ performs a software reset by setting the SYSRESETREQ bit. The Cortex-M core and on-chip peripherals are reset.
Reset — VECTRESET performs a software reset by setting the VECTRESET bit. Only the Cortex-M core is reset. The on-chip peripherals are not affected. For some Cortex-M devices, VECTRESET is the only way to reset the core. VECTRESET is not supported on Cortex-M0 and Cortex-M1 cores.
Reset — Autodetect selects one of the above reset methods based on the target device. The SYSRESETREQ method is used if an unknown device is detected.
HW RESET意思就是硬件复位,SYSRESETREQ就是只给M内核和片上外设复位,VECTRSET就是只给M核复位。Auto detect就是自动选择上面的三个中的一个复位。
评分
查看全部评分
大神,能不能详细下下,如何选择SYSRESETREQ,我是新手,现在工程都是使用STM32CuteMX 生成的。
如何通过ISP的方式下载呢???
这个板子是可以自己配置BOOT0/1的,我不太会配置这个跳线。请指点下
时钟速度太高了。ST的只支持到1.5M左右。降低试试
换个不是低功耗的程序烧录,应该就正常了。