C90TFS with SPI flash driver

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

C90TFS with SPI flash driver

848 次查看
jonathan_guinta
Contributor I

Anyone have example code on how to do this successfully? I cannot for the life of me make this work successfully.

I've tried:

Relocating FlashCommandSequence to SRAM

Enabling and Disable Interrupts - around the Flash function calls

setting MCM_PLACR |= MCM_PLACR_ESFC_MASK

I'm not sure what else to do, I'm at a loss. Please post some code that makes the SPI driver fetching 1kB sector and writing that same 1kB sector to internal flash in a loop at subsequent addresses. I can't imagine no one has done this before.

Thanks!

Jon

标签 (1)
0 项奖励
回复
1 回复

742 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Jon,

I think you may misunderstand the C90TFS Flash software driver. This software driver is applicable to the embedded FTFx Flash module, not to the external SPI Flash device.

Hope it hleps.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复