Failed to debug MIMXRT1020

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Failed to debug MIMXRT1020

跳至解决方案
351 次查看
ffjunq
Contributor I

Hello everybody.

My problem is to debug the MMIMXRT1020-EVK board
The problem started after I changed the value of an sdk project variable evkmimxrt1020_flexspi_nor_polling_transfer. In the flexspi_nor_enable_quad_mode() function I changed the value of the uint32_t writeValue variable. After that, I was never able to debug the board again. The following error appears:

ffjunq_0-1685475464444.png

I performed some tests to try to fix it, such as using a PE-Micro to write the firmware with the correct value of the writeValue variable, however, all operations return an invalid status.

Can anyone help me?

标签 (1)
0 项奖励
1 解答
329 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ffjunq ,

  Please don't worry, you may download the code to the flash, and you may disable the quad mode, then it will cause the chip read the flash code in quad mode failed, then the boot failed, and you meet the issues.

   Now, please do the mass erase first, you can refer to this post:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

If you still have issues about it, please kindly let me know.

Best Regards,

Kerry

在原帖中查看解决方案

1 回复
330 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ffjunq ,

  Please don't worry, you may download the code to the flash, and you may disable the quad mode, then it will cause the chip read the flash code in quad mode failed, then the boot failed, and you meet the issues.

   Now, please do the mass erase first, you can refer to this post:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

If you still have issues about it, please kindly let me know.

Best Regards,

Kerry