打印

程序断电重启运行不了

[复制链接]
501|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

粉丝