Failed to debug MIMXRT1020

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

Failed to debug MIMXRT1020

Jump to solution
635 Views
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?

Labels (1)
0 Kudos
Reply
1 Solution
613 Views
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

View solution in original post

1 Reply
614 Views
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