Writing QSPI Flash on FRDM-MXCN947 board.

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

Writing QSPI Flash on FRDM-MXCN947 board.

991件の閲覧回数
takagi_y
Contributor III

I am using the FRDM-MXCN947 board and am trying to write to QSPI Flash from the download during debugging in MCUXpresso IDE, but the following error occurs.

 

a.bmpb.bmpc.bmp

The flash driver uses MCXN9xx_SFDP_FlexSPI.cfx.

Do I need to modify the driver?

Thank you.

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

851件の閲覧回数
takagi_y
Contributor III

Thank you for your reply.

It is now possible to write to Flash from the IDE using XIP with FRDM-MXCN947.

Best regards

0 件の賞賛
返信

963件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @takagi_y 

If you want to run code from external memory,

You can refer to this article

Running code from external memory with MCX N94x - NXP Community

BR

Harry

0 件の賞賛
返信

959件の閲覧回数
takagi_y
Contributor III

Thank you for your reply.

I have checked the article you introduced.

In this case, you need to start the board in ISP mode.

Is it possible to write to the QSPI Flash by downloading (debug) from the MCUXpresso IDE like the RT1060?

If there is a way to write from the IDE, please let me know.

Best regards

タグ(1)
0 件の賞賛
返信

953件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @takagi_y 

"Is it possible to write to the QSPI Flash by downloading (debug) from the MCUXpresso IDE like the RT1060?"

Yes, but you need to change the CMPA to boot from external flash.

Snipaste_2025-02-25_18-14-54.png

So first you need to refer to this article to change CMPA.

And then write to the QSPI Flash by downloading (debug).

BR

Harry

0 件の賞賛
返信

950件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @takagi_y 

You can also refer to hello_world_qspi_xip example.

Snipaste_2025-02-25_18-34-22.png

BR

Harry

0 件の賞賛
返信