RT1176 – Enabling XIP beyond 16MB using 4-byte addressing

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

RT1176 – Enabling XIP beyond 16MB using 4-byte addressing

Jump to solution
1,933 Views
Anni
Contributor II

I am using i.MX RT1176 with a 64MB QSPI NOR flash (IS25LP512MJ). XIP works perfectly when the FlexSPI LUT uses 3-byte address read instructions but fails when the LUT is changed to use 4-byte addressing mode for accessing memory beyond 16MB.

My question is: what additional configuration is required on RT1176 to enable XIP beyond 16MB when using 4-byte addressing? Any reference or known-good configuration for 64MB XIP on RT1176 would be helpful.

0 Kudos
Reply
1 Solution
1,899 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Anni ,

Thanks for your interest in NXP MIMXRT series!

This post is a good reference for the issue: https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Add-4-byte-addressing-to-FLEXSPI-flash-driver/m-...

And you can refer RT1170 EVKB's SDK. On RT1170 EVKB, the on-board flash is a 512Mb QSPI flash and the SDK enabled the 4 bytes mode by default. Modify the corresponding 3-byte address command to a 4-byte address command.

Best regards,
Gavin

 

 

View solution in original post

2 Replies
1,900 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Anni ,

Thanks for your interest in NXP MIMXRT series!

This post is a good reference for the issue: https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Add-4-byte-addressing-to-FLEXSPI-flash-driver/m-...

And you can refer RT1170 EVKB's SDK. On RT1170 EVKB, the on-board flash is a 512Mb QSPI flash and the SDK enabled the 4 bytes mode by default. Modify the corresponding 3-byte address command to a 4-byte address command.

Best regards,
Gavin

 

 

1,887 Views
Anni
Contributor II

Thank you for the reference and guidance. The information you shared was helpful, and the issue is now resolved.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2267807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERT1176%20%E2%80%93%20Enabling%20XIP%20beyond%2016MB%20using%204-byte%20addressing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20i.MX%20RT1176%20with%20a%2064MB%20QSPI%20NOR%20flash%20(IS25LP512MJ).%20XIP%20works%20perfectly%20when%20the%20FlexSPI%20LUT%20uses%203-byte%20address%20read%20instructions%20but%20fails%20when%20the%20LUT%20is%20changed%20to%20use%204-byte%20addressing%20mode%20for%20accessing%20memory%20beyond%2016MB.%3C%2FP%3E%3CP%3EMy%20question%20is%3A%20what%20additional%20configuration%20is%20required%20on%20RT1176%20to%20enable%20XIP%20beyond%2016MB%20when%20using%204-byte%20addressing%3F%20Any%20reference%20or%20known-good%20configuration%20for%2064MB%20XIP%20on%20RT1176%20would%20be%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2268024%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20%E2%80%93%20Enabling%20XIP%20beyond%2016MB%20using%204-byte%20addressing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2268024%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20the%20reference%20and%20guidance.%20The%20information%20you%20shared%20was%20helpful%2C%20and%20the%20issue%20is%20now%20resolved.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2267869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20RT1176%20%E2%80%93%20Enabling%20XIP%20beyond%2016MB%20using%204-byte%20addressing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252300%22%20target%3D%22_blank%22%3E%40Anni%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20interest%20in%20NXP%20MIMXRT%20series!%3C%2FP%3E%0A%3CP%3EThis%20post%20is%20a%20good%20reference%20for%20the%20issue%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FAdd-4-byte-addressing-to-FLEXSPI-flash-driver%2Fm-p%2F1579246%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT-Crossover-MCUs%2FAdd-4-byte-addressing-to-FLEXSPI-flash-driver%2Fm-p%2F1579246%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EAnd%26nbsp%3Byou%20can%20refer%20RT1170%20EVKB's%20SDK.%20On%20RT1170%20EVKB%2C%20the%20on-board%20flash%20is%20a%20512Mb%20QSPI%20flash%20and%20the%20SDK%20enabled%20the%204%20bytes%20mode%20by%20default.%20Modify%20the%20corresponding%203-byte%20address%20command%20to%20a%204-byte%20address%20command.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EGavin%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E