打印
[STM32F3]

STM32F302x openOCD怎么配置?居然与F303x不通用。

[复制链接]
2570|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
styleno1|  楼主 | 2014-10-30 09:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
# This is an STM32F3 discovery board with a single STM32F303VCT6 chip.
source [find interface/stlink-v2.cfg]
source [find target/stm32f3x_stlink.cfg]
# use hardware reset, connect under reset
reset_config srst_only srst_nogate
上面是安装目录带的F303x配置,提示信息:
Open On-Chip Debugger 0.8.0 (2014-04-28-08:42)
Licensed under GNU GPL v2
For bug reports, read      
Info : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v21 API v2 SWIM v5 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.250693
Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection from 3333
Info : device id = 0x10016439
Warn : Cannot identify target as a STM32 family.
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
注:我的板子是STM32F302 Nucleo,因无权限包含URL,删去了代码的链接。
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

16

主题

146

帖子

0

粉丝