我用MIMXRT1020-EVK 开发板在keil 环境下载程序,但下载没有成功,出现Cannot enter Debug Mode?
Hi xuli yang ,
楼主你好!
1. 你看看你的CMSIS DAP debug在不在?
2. 你的板子是否在internal boot模式:SW8 1-OFF, 2-OFF, 3-ON, 4-OFF
3. 如果上面两个点都是对的,那么你用MCUBootutility软件,进入serial downloader模式(SW8 1-OFF, 2-OFF, 3-OFF, 4-ON), 然后把外部的flash都擦一遍,再跑代码。
另外,我建议你的代码直接用官方的SDK工程, 等测试通了再用你自己的工程。
MCUBootutility软件和文档如下:
https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v2.1.0
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility
希望能帮到你。
Have a great day,
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.
-------------------------------------------------------------------------------