RT595 External Flash Memory Driver V.2 startup failed (MT25QU512ABB)

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

RT595 External Flash Memory Driver V.2 startup failed (MT25QU512ABB)

39 Views
Saleh_94
Contributor I

I am using a costume board RT595 and the flash I am using is MT25QU512ABB, in my costume board I configured my board's ISP mode to be working in flexspi mode, and can't change it, so the main issue is that the memory is not detected. Even though,  if I make mcu to program from RAM, it will work fine, so the issue is with the flash, not the hardware connection. furthermore, I am concerned about the MT25QU512ABB extra pin compared with the default QSPI flash memory on the evaluation board S25WP064AJBLE, will it affect the functionality of the flash or will it not change anything?

I tried changing the FCB by following the procedure provided in the documentation of AN13304 nothing changed, also the error that I'm facing is as you can see below: 

##NXP: MIMXRT595

DAP stride is 1024 bytes (256 words)

Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT500_SFDP_QSPI.cfx

Image 'iMXRT500_SFDP_QSPI Sep 19 2024 18:26:43'

Opening flash driver MIMXRT500_SFDP_QSPI.cfx

VECTRESET requested, but not supported on ARMv8-M CPUs. Using SOFTRESET instead.

Using SOFT reset to run the flash driver

Driver V.2 dynamic startup failed - driver Init provided no flash parameters

Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.

Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPIJ driver rc 20107 (0x4E8B)

chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.

failed to initialize flash driver MIMXRT500_SFDP_QSPI.cfx##

I can't provide the schematic, but the connection of the MT25QU512ABB flash is from T17 to N12, the QSPI (S25WP064AJBLE) flash connection in your evaluation board is from T17 to R12 so the extra pin that I added is the reset pin. the pictures that I provided can help you in understanding my case. 

Saleh_94_0-1742103052517.png

 

and the picture down below is the MT25QU512ABB:

 

Saleh_94_1-1742103052489.png

 

 

 

the connections are: 

SCLK ---> T17 

CS_L ---> U16

DQ0 ---> T15

DQ1 ---> T14

DQ2(W_L) ---> R13

DQ3(HOLD_L) ---> R12

RESET_L (The extra pin in my case) ---> N12

Vcc ---> 1.8V, Vss ---> GND. 

The supplied voltage to the chip and the pull ups is _MCU_A01V8. 

## side question: if I removed my memory and added the one in the evaluation board, will it work right away (Octal not Qspi)##

0 Kudos
Reply
2 Replies

18 Views
Sam_Gao
NXP Employee
NXP Employee

@Saleh_94 

1. side question: if I removed my memory and added the one in the evaluation board, will it work right away (Octal not Qspi)

--> No, different flash type, different principle and mechanism.

2. Please use flexSPI polling example to test if the flexSPI nor flash is workable or not.

0 Kudos
Reply

9 Views
Saleh_94
Contributor I
# what I meant by this one is, if I changed the flash in my board and designed another one from the beginning and followed the connection in evaluation board schematics will the octal flash memory work or not. #

Regarding step #2 the same error will generate.
0 Kudos
Reply