IMX RT 1021 evk board broken?

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX RT 1021 evk board broken?

494 Views
bp1979
Contributor V

Dear,

 

while uploading today, out of the blue, redlink fails to upload my software to my board.

Opening flash driver MIMXRT1020-EVK_IS25LP064.cfx
Sending VECTRESET to run flash driver
Flash device supported (8MB = 128*64K at 0x60000000)
Writing 20780 bytes to address 0x60000000 in Flash
ProgramPage (0x60000000, 0x200022D8, 0x4000) status 0x1 - driver reported driver error - EXTSPI driver rc 134 (0x86)
Sectors written: 1, unchanged: 0, total: 1
Closing flash driver MIMXRT1020-EVK_IS25LP064.cfx
Target error from Commit Flash write: Ef(49): Flash driver operation gave error.
GDB stub (C:\nxp\MCUXpressoIDE_11.5.1_7266\ide\plugins\com.nxp.mcuxpresso.tools.bin.win32_11.5.1.202204071413\binaries\crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.

I can switch to serial download mode, and I can mass erase. After setting the boot switches back to normal startup from flash, it gives this error. 

Any way to fix this?

 

0 Kudos
3 Replies

474 Views
Julián_AragónM
NXP Employee
NXP Employee

Hi @bp1979,

As there could be some different root causes for the issue you are seeing, could you please try first entering serial download mode, erase the flash action using LinkServer, and while still being in serial download mode, try to debug your project?

Best regards, Julian

0 Kudos

468 Views
bp1979
Contributor V

Hi @Julián_AragónM

Thx for the reply. I done that already. I can mass erase, but when i power off evk and put dip switch back to hyper flash, power on, and upload blinkt, it doesnt break anywhere. When i pause the debugger, i am somewhere in 0x20xxxx range. Is that the on chip bootloader? It Seems i am no longer able to leave serial download mode? 

0 Kudos

447 Views
Julián_AragónM
NXP Employee
NXP Employee

Hello @bp1979,

Have you made any modification to the board? As the RT1020 has a QSPI Flash by default.

Indeed, being in the 0x20 range means you are still in Serial Download Mode. Could you please try reading the flash to see if your image is valid? And if it is, please re-check your dip-switch configuration.

Best regards, Julian

0 Kudos