标题: 关于Stm32学习中的惨痛教训 芯片擦除成功但不能运行无Application running [打印本页]

作者: 51黑黑黑    时间: 2016-2-23 05:07
标题: 关于Stm32学习中的惨痛教训 芯片擦除成功但不能运行无Application running
芯片擦除成功,但板子不能运行没有出现 Application running
原因如图所示


左上方的Reset and Run 没有勾选。
操作路径为: options for target? --->Utilities ---->Setting 即可
关键步奏




就正常了;


小结:
当出现


一定是bsp_key.h文件中缺少#include“stm32f10x.h”
当出现


说明 digitalToggle函数没有定义好。如果你觉得定义过了,那木一定是极细微的错误,例如多写了、少写了、错写了一个字母(就这样小错误会让你心烦气躁;浪费大量的时间)。






欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1