您好,我想问下,我在使用nxp的TRK-KEA8这个板子的时候, 编译环境为CodeWarrior。 使用自带pe的生成代码功能生成了代码,实现了 简单的LED亮灭效果。 但是在我下电之后重新上电,LED并没有出现之前的亮灭情况,请问这是为什么呢?
Solved! Go to Solution.
楼主你好!
建议你看下这篇文章:
【经验分享】kinetis flash中仿真可以烧录运行失败问题讲解 - Kinetis - 恩智浦技术社区 - 手机版 - Powered by Discuz!
如果你确实是下载到flash,那么应该和你的EWL库有关。
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
楼主你好!
建议你看下这篇文章:
【经验分享】kinetis flash中仿真可以烧录运行失败问题讲解 - Kinetis - 恩智浦技术社区 - 手机版 - Powered by Discuz!
如果你确实是下载到flash,那么应该和你的EWL库有关。
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
十分感谢,已经可以正常使用了。 就是 ewl的问题,困扰了好几天终于解决了,太感谢了
Hi 尧 付,
不客气,后续有问题欢迎继续发帖讨论。
这个帖子解决了,还请帮我标一下correct answer, 关掉这个帖子,谢谢!
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi 尧 付 ,
楼主你好!
你那边检查下,你的代码是下载在RAM还是flash了?
你可以看下左上角,编译的地方,还有你debug的时候,也可以看下汇编的地址,到底是RAM还是flash地址。
如果是RAM 的话,那么你的结果是正确的,下载之后,重新上电数据就没了,只有你下载到flash,重新上电才能跑起来。
希望能帮到你。
如果还有问题,欢迎继续交流!
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
我查看了一下,确认肯定是烧录到 flash当中,而不是 ram当中, 我是用官方给的例程,没有出现断电代码消失的情况。