IMXRT1062 - NOR Flash on FlexSPI B

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

IMXRT1062 - NOR Flash on FlexSPI B

Jump to solution
975 Views
patriciocohen
Contributor IV

Hi, 

I have a custom PCB with a W25Q128JW NOR Flash, that I know it is correctly wired because I modified and run from the internal RAM the evkmimxrt1060_flexspi_nor_polling_transfer example successfully. The output I got is the following:

FLEXSPI example started!
Vendor ID: 0xef
Erasing Serial NOR over FlexSPI...
Erase data - successfully.
Program data - successfully.

The NOR flash IC is connected to FlexSPI 1 - Port B, now my question is the following:

How do I get MCUXpresso to download firmware directly to flash? 

For example I want to try a simple Hello World example where MCUXpresso should be able to write the binary directly to the external NOR flash. At the moment, I'm only able to run the "Hello World" example if I allocate the code into the internal RAM.

I have followed several guidelines and app notes, that say the MIMXRT1060_SFDP_QSPI.cfx is the driver that should be used, but I suspect it is hard coded to use FlexSPI port A. At the moment I haven't been able to figure how to force the driver to use port B.

Is there a way of changing this to port B?

Thank you,

Patricio

 

Tags (2)
0 Kudos
Reply
1 Solution
945 Views
patriciocohen
Contributor IV

Thank you Lucas. I will have to rework the PCB for making it work.

That is a limitation, please let NXP consider this for future devices.

Thanks again,

Patricio

 

View solution in original post

0 Kudos
Reply
3 Replies
946 Views
patriciocohen
Contributor IV

Thank you Lucas. I will have to rework the PCB for making it work.

That is a limitation, please let NXP consider this for future devices.

Thanks again,

Patricio

 

0 Kudos
Reply
927 Views
lucas_cao
NXP Employee
NXP Employee

Hi @patriciocohen 

We have the following note on RM.

lucas_cao_0-1674006689700.png

 

0 Kudos
Reply
959 Views
lucas_cao
NXP Employee
NXP Employee

I cannot help on your question but i would like to share this information, prot B cannot be a boot device interface. 

Only port A can be a boot device interface.