IMXRT1062 - NOR Flash on FlexSPI B

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMXRT1062 - NOR Flash on FlexSPI B

ソリューションへジャンプ
821件の閲覧回数
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 解決策
791件の閲覧回数
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 返答(返信)
792件の閲覧回数
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 件の賞賛
773件の閲覧回数
lucas_cao
NXP Employee
NXP Employee

Hi @patriciocohen 

We have the following note on RM.

lucas_cao_0-1674006689700.png

 

0 件の賞賛
805件の閲覧回数
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.