Writing QSPI Flash on FRDM-MXCN947 board.

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

Writing QSPI Flash on FRDM-MXCN947 board.

1,200 次查看
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 回复数

1,060 次查看
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 项奖励
回复

1,172 次查看
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 项奖励
回复

1,168 次查看
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 项奖励
回复

1,162 次查看
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 项奖励
回复

1,159 次查看
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 项奖励
回复