IMXRT1062 - NOR Flash on FlexSPI B

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMXRT1062 - NOR Flash on FlexSPI B

跳至解决方案
887 次查看
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

 

标记 (2)
0 项奖励
回复
1 解答
857 次查看
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 项奖励
回复
3 回复数
858 次查看
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 项奖励
回复
839 次查看
lucas_cao
NXP Employee
NXP Employee

Hi @patriciocohen 

We have the following note on RM.

lucas_cao_0-1674006689700.png

 

0 项奖励
回复
871 次查看
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.