reconfigure XIP mode to access bootflash for ls1043a

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

reconfigure XIP mode to access bootflash for ls1043a

1,803 次查看
lgx
Contributor I

my project use the ls1043a cpu, there are 2 qspi flashes, separated attached to cs0 and cs1.

cs0 flash is bootflash, run on XIP mode.  cs1 flash is data flash.

 

During bootup,  it will copy load_firmware.bin to run in OCRAM, responsible for loading firmware from data flash (cs1) and then return to bootflash.

 

After accessing data flash using AHB mode, how could i reconfigure QSPI controller to access bootflash in XIP mode ?

 

0 项奖励
回复
8 回复数

1,781 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Investigating.

0 项奖励
回复

1,720 次查看
yipingwang
NXP TechSupport
NXP TechSupport

QSPI flash is XIP mode so based on the address scheme you define for your system, when you access back the bootflash address range, you will be in XIP mode.
Is there something I am missing? Please detail if yes.

0 项奖励
回复

1,717 次查看
lgx
Contributor I

Hi Yiping,

I am not sure about that. From my perspective, QSPI controller need to be setting to a special state to realize XIP access.

 

After i access the CS1 data sNOR, i need to configure the QSPI controller to AHB/IP mode to READ/ERASE/Program.   The qspi controller is not in the initial state (maybe bootROM configure for bootflash)

0 项奖励
回复

1,543 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please provide more details on what issue is being faced.

Our RDB also has two flash and can be used for experimenting.

The QSPI flash is XIP which why it can be used as boot flash.

0 项奖励
回复

1,482 次查看
lgx
Contributor I
I have the similar requirements of "Multiple flash implementing RWW". cs0 is the boot sNOR, works on XIP mode, cs1 is the data sNOR.

https://www.nxp.com.cn/docs/en/application-note/AN12564.pdf

Do we have the demo logic to realize RWW on ls1043a ?
0 项奖励
回复

1,454 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Would you please create a new thread to address you new requirement?

0 项奖励
回复

1,433 次查看
lgx
Contributor I
0 项奖励
回复

1,428 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Thanks a lot.

0 项奖励
回复