How to program a virgin QSPI chip for production for my MIMXRT1021 custom board

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

How to program a virgin QSPI chip for production for my MIMXRT1021 custom board

Jump to solution
880 Views
Rick_Bourgeois1
Contributor II

For background info I have been designing embedded controllers since the 1980's. I have used Motorola, Freescale, NXP, Microchip, Zilog and Intel.

The Freescale MCF25259 uP was the reccomended replacement for the Motorola MC68306FC16B when its lifetime was over in 2005.

My custom board was designed based on the MIMXRT1020 EVK.

It uses the same QSPI chip  the IS25LP064A-JBLE.

Using the MCU-LINK DEBUG PROBE I was unable to connect to the virgin QSPI for development. on my custom board through  JTAG port with the NXP MCU-LINK-PRO.

I removed the QSPI chip from the EVK board,  and was able to develop my custom firmware to test all of the peripherals using modified demo apps.

I bought a dediprog QSPI burner and created .bin, and .hex  files from my project to test the burner.

I burned the chip and installed it back to the EVK board and it failed to boot properly because there was no flashing LED. When I attempted to load an EVK project it failed.

ProgramPage (0x60000000, 0x200022D0, 0x4000) status 0x1 - driver reported driver error - EXTSPI driver rc 134 (0x86)

I took the chip off the EVK board and installed it on my custom board and got the same result.

 

 

 

 

 

 

 

0 Kudos
Reply
1 Solution
855 Views
mjbcswitzerland
Specialist V

Hi

Can you check the Q bit in the status register of the Quad flash?

mjbcswitzerland_0-1706508931558.png


The problem may be that it is not operating in QUAD mode.

mjbcswitzerland_1-1706508983236.png

 

The part that you have (and is on the EVK) looks to be a standard part that doesn't default to QUAD mode (like the Q option one does).
Possibly the ones soldered into the EVK circuit had theirs programmed (either before being mounted or using a debugger etc.) (?)

Regards

Mark (uTasker project lead)

i.MX RT 1021 EVK: https://www.utasker.com/iMX/RT1020.html
i.MX RT 1021 Mux spread-sheet: https://www.utasker.com/iMX/iMXRT1020/iMX_RT_1020.xls
i.MX RT 1021 developer's doc: https://www.utasker.com/docs/iMX/i.MX_RT_1021_uTasker.pdf

For our discounted i.MX and Kinetis production stock availability see https://www.utasker.com/Shop/semi.html

View solution in original post

0 Kudos
Reply
2 Replies
856 Views
mjbcswitzerland
Specialist V

Hi

Can you check the Q bit in the status register of the Quad flash?

mjbcswitzerland_0-1706508931558.png


The problem may be that it is not operating in QUAD mode.

mjbcswitzerland_1-1706508983236.png

 

The part that you have (and is on the EVK) looks to be a standard part that doesn't default to QUAD mode (like the Q option one does).
Possibly the ones soldered into the EVK circuit had theirs programmed (either before being mounted or using a debugger etc.) (?)

Regards

Mark (uTasker project lead)

i.MX RT 1021 EVK: https://www.utasker.com/iMX/RT1020.html
i.MX RT 1021 Mux spread-sheet: https://www.utasker.com/iMX/iMXRT1020/iMX_RT_1020.xls
i.MX RT 1021 developer's doc: https://www.utasker.com/docs/iMX/i.MX_RT_1021_uTasker.pdf

For our discounted i.MX and Kinetis production stock availability see https://www.utasker.com/Shop/semi.html

0 Kudos
Reply
798 Views
Rick_Bourgeois1
Contributor II
Thanks for your excellent advice.
0 Kudos
Reply