Reputation: 1
i need some help over booting from external flash (NOR FLASH) using QUADSPI, problem is i have got very less internal flash and code is of large size hence need an external flash where i can store my code and boot from there only. When i tried directly booting from external flash i found that quadspi is not initialized yet hence no communication with external flash. so what i am thinking is to make a bootloader in internal flash where i only initialize quadspi and then jump to external flash starting address where my code execution starts. please help me in that.
Upvotes: 0
Views: 2219
Reputation: 68034
You need to boot from the internal flash. Initalize the QSPI interface and jump to the code in the external flash. There is no other way.
Upvotes: 1
Reputation: 1
try using bootloader, and jump to external flash.
set your app code base addr to ext flash base address.
Upvotes: 0