RT1170 custom bootloader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1170 custom bootloader

331 Views
sandeepc
Contributor III

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

@kerryzhou 

0 Kudos
6 Replies

223 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 Kudos

207 Views
sandeepc
Contributor III
Thanks for the reply.
i will refer...

326 Views
Bkaya
Contributor III

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

 

https://github.com/NXP/mcu-smhmi

0 Kudos

321 Views
sandeepc
Contributor III
Thanks,
i will go through your code.

Do you have any document to understand well xip boot?

Regards,
Sandeep c

Regards,
sabdeep C
0 Kudos

312 Views
Bkaya
Contributor III

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.

0 Kudos

309 Views
sandeepc
Contributor III
Ok, thanks i will go through your code.
Regards,
Sandeep C
0 Kudos