MIMXRT1020-EVK 开发板在keil 环境下载程序,出现Cannot enter Debug Mode?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT1020-EVK 开发板在keil 环境下载程序,出现Cannot enter Debug Mode?

763 Views
13750026835
Contributor I

我用MIMXRT1020-EVK 开发板在keil 环境下载程序,但下载没有成功,出现Cannot enter Debug Mode? 

Tags (1)
0 Kudos
1 Reply

691 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi xuli yang ,

   楼主你好!

  1. 你看看你的CMSIS DAP debug在不在? 46.jpg

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.
-------------------------------------------------------------------------------

0 Kudos