程序断电重启运行不了

[复制链接]
771|2
 楼主| 米尔豪斯 发表于 2016-5-15 21:19 | 显示全部楼层 |阅读模式
使用CCS5.4烧写2812 FLASH以后,断电重启运行不了,必须连上仿真器才能运行程序,这是为什么
已经添加图片中的这些文件,也按照网上的教程,在主函数中添加了
#ifdef FLASH
// Copy time critical code and Flash setup code to RAM
// The RamfuncsLoadStart, RamfuncsLoadEnd, and RamfuncsRunStart
// symbols are created by the linker. Refer to the linker files.
MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
// Call Flash Initialization to setup flash waitstates
// This function must reside in RAM
InitFlash(); // Call the flash wrapper init function
#endif
Thor9 发表于 2016-5-15 21:29 | 显示全部楼层
工程有没有什么警告之类的。
冰河w 发表于 2016-5-15 22:04 | 显示全部楼层
CMD配置是否正确
您需要登录后才可以回帖 登录 | 注册

本版积分规则

150

主题

731

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部