Hi,
I want develop custom boot loader using Qspi external flash.
If you have any better document to understand the memory organization to implementation of boot loader please shar with me.
processor: imxrt1170
External flash: winbond(W25Q64JV)
Mode: XIP mode
Regards,
Sandeep C
Hi @sandeepc ,
About the bootloader, we have a lot of codes for your reference.
1. SBL/SFW
https://www.nxp.com/docs/en/user-guide/MCUOTASBLSFWUG.pdf
2. sdk
https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1170-EVK
\SDK_2_15_000_MIMXRT1170-EVK\boards\evkmimxrt1170\ota_examples
About the flash operation, you can refer to SDK:
SDK_2_15_000_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\fsl_romapi
SDK_2_15_000_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\flexspi\nor
Wish it helps you!
If you still have question about it, please kindly let me now.
If your question is solved, please help to mark the correct answer, just to close this case, thanks.
Best Regards,
Kerry
Hi @sandeepc ,
You can use SDK example bootloader or i shared link below that i used while designing my bootloader project. I can not share my code but if you have any question i want to help.
Best Regards,
Basri KAYA
You are welcome. That is not my code but it will be very usefull to start writing your code.
For Xip Boot, you can import SDK example romapi_cm7 for 1170.