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
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!
-----------------------------------------------------------------------------------------------------------------------