i.MX RT1176 – Boot from FlexSPI2 HyperFlash using fuses (currently FlexSPI1 NOR working)

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

i.MX RT1176 – Boot from FlexSPI2 HyperFlash using fuses (currently FlexSPI1 NOR working)

Jump to solution
140 Views
Tarak_777
Contributor III

Hello,

I am working with an i.MX RT1176 based custom board.

1. FlexSPI1: Connected to QSPI NOR flash

2. FlexSPI2: Connected to HyperFlash

Currently, I have successfully configured and blown the fuses to boot from FlexSPI1 NOR. The board is booting correctly from external flash on FlexSPI1 in XIP mode, so the FlexSPI1 fuse settings are confirmed working.

Now I want to:

Boot from FlexSPI2, where we have a HyperFlash device connected.

I have a few questions:

1. Can I reuse the same fuse configuration that I am using for FlexSPI1, or do I need a different fuse setup for FlexSPI2 HyperFlash?

2. If a different configuration is required, which specific fuse fields need to be changed to switch the boot source to FlexSPI2 HyperFlash?

Could you please provide:

The exact fuse names and bitfields that must be updated (for example, boot device, FlexSPI instance, device type etc.), and

The recommended fuse values or an example configuration for booting from FlexSPI2 HyperFlash on RT1176?

Are there any additional changes needed on the software side (for example, FCB contents, IVT location, or linker script base address for XIP from FlexSPI2)?

Any detailed guidance, example fuse map, or application note reference specific to FlexSPI2 HyperFlash boot on RT1176 would be very helpful.

Thank you,
Amarnath

0 Kudos
Reply
1 Solution
54 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Tarak_777 ,

Thanks for your interest in NXP MIMXRT series!

First, using different FlexSPI instances as boot devices corresponds to different fuses. You can refer to this fuse map in Reference Manual:

Gavin_Jia_0-1765178694255.png

Since the fuse can only be programmed once, it is recommended that you first configure the boot options via the GPIO settings in the EVK/EVKB. After verifying that everything is correct, proceed to modify the fuse:

Gavin_Jia_1-1765178800500.png

 

Additionally, there are two points to note: The FlexSPI2 mapping address is 0x6000_0000, so the link script requires attention. FlexSPI does not support the combination of PORTA and PORTB for 8 data lines; please select the same PORT.

Best regards,
Gavin

 

 

View solution in original post

0 Kudos
Reply
2 Replies
55 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Tarak_777 ,

Thanks for your interest in NXP MIMXRT series!

First, using different FlexSPI instances as boot devices corresponds to different fuses. You can refer to this fuse map in Reference Manual:

Gavin_Jia_0-1765178694255.png

Since the fuse can only be programmed once, it is recommended that you first configure the boot options via the GPIO settings in the EVK/EVKB. After verifying that everything is correct, proceed to modify the fuse:

Gavin_Jia_1-1765178800500.png

 

Additionally, there are two points to note: The FlexSPI2 mapping address is 0x6000_0000, so the link script requires attention. FlexSPI does not support the combination of PORTA and PORTB for 8 data lines; please select the same PORT.

Best regards,
Gavin

 

 

0 Kudos
Reply
50 Views
Tarak_777
Contributor III

Hi @Gavin_Jia ,

 

Thanks for the inputs and clarification.

 

Best regards,

Amarnath.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2255701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX%20RT1176%20%E2%80%93%20Boot%20from%20FlexSPI2%20HyperFlash%20using%20fuses%20(currently%20FlexSPI1%20NOR%20working)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2255701%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20working%20with%20an%20i.MX%20RT1176%20based%20custom%20board.%3C%2FP%3E%3CP%3E1.%20FlexSPI1%3A%20Connected%20to%20QSPI%20NOR%20flash%3C%2FP%3E%3CP%3E2.%20FlexSPI2%3A%20Connected%20to%20HyperFlash%3C%2FP%3E%3CP%3ECurrently%2C%20I%20have%20successfully%20configured%20and%20blown%20the%20fuses%20to%20boot%20from%20FlexSPI1%20NOR.%20The%20board%20is%20booting%20correctly%20from%20external%20flash%20on%20FlexSPI1%20in%20XIP%20mode%2C%20so%20the%20FlexSPI1%20fuse%20settings%20are%20confirmed%20working.%3C%2FP%3E%3CP%3ENow%20I%20want%20to%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EBoot%20from%20FlexSPI2%3C%2FSTRONG%3E%2C%20where%20we%20have%20a%20HyperFlash%20device%20connected.%3C%2FP%3E%3CP%3EI%20have%20a%20few%20questions%3A%3C%2FP%3E%3CP%3E1.%20Can%20I%20reuse%20the%20same%20fuse%20configuration%20that%20I%20am%20using%20for%20FlexSPI1%2C%20or%20do%20I%20need%20a%20different%20fuse%20setup%20for%20FlexSPI2%20HyperFlash%3F%3C%2FP%3E%3CP%3E2.%20If%20a%20different%20configuration%20is%20required%2C%20which%20specific%20fuse%20fields%20need%20to%20be%20changed%20to%20switch%20the%20boot%20source%20to%20FlexSPI2%20HyperFlash%3F%3C%2FP%3E%3CP%3ECould%20you%20please%20provide%3A%3C%2FP%3E%3CP%3EThe%20%3CSTRONG%3Eexact%20fuse%20names%20and%20bitfields%20that%20must%20be%20updated%3C%2FSTRONG%3E%20(for%20example%2C%20boot%20device%2C%20FlexSPI%20instance%2C%20device%20type%20etc.)%2C%20and%3C%2FP%3E%3CP%3EThe%20recommended%20fuse%20values%20or%20an%20example%20configuration%20for%20booting%20from%20FlexSPI2%20HyperFlash%20on%20RT1176%3F%3C%2FP%3E%3CP%3EAre%20there%20any%20additional%20changes%20needed%20on%20the%20software%20side%20(for%20example%2C%20FCB%20contents%2C%20IVT%20location%2C%20or%20linker%20script%20base%20address%20for%20XIP%20from%20FlexSPI2)%3F%3C%2FP%3E%3CP%3EAny%20detailed%20guidance%2C%20example%20fuse%20map%2C%20or%20application%20note%20reference%20specific%20to%20FlexSPI2%20HyperFlash%20boot%20on%20RT1176%20would%20be%20very%20helpful.%3C%2FP%3E%3CP%3EThank%20you%2C%3CBR%20%2F%3EAmarnath%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2256835%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX%20RT1176%20%E2%80%93%20Boot%20from%20FlexSPI2%20HyperFlash%20using%20fuses%20(currently%20FlexSPI1%20NOR%20working)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2256835%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%2F255253%22%20target%3D%22_blank%22%3E%40Tarak_777%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20interest%20in%20NXP%20MIMXRT%20series!%3C%2FP%3E%0A%3CP%3EFirst%2C%20using%20different%20FlexSPI%20instances%20as%20boot%20devices%20corresponds%20to%20different%20fuses.%20You%20can%20refer%20to%20this%20fuse%20map%20in%20Reference%20Manual%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Gavin_Jia_0-1765178694255.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Gavin_Jia_0-1765178694255.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Gavin_Jia_0-1765178694255.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368903i787DB6D4FC94809C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Gavin_Jia_0-1765178694255.png%22%20alt%3D%22Gavin_Jia_0-1765178694255.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESince%20the%20fuse%20can%20only%20be%20programmed%20once%2C%20it%20is%20recommended%20that%20you%20first%20configure%20the%20boot%20options%20via%20the%20GPIO%20settings%20in%20the%20EVK%2FEVKB.%20After%20verifying%20that%20everything%20is%20correct%2C%20proceed%20to%20modify%20the%20fuse%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Gavin_Jia_1-1765178800500.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Gavin_Jia_1-1765178800500.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Gavin_Jia_1-1765178800500.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368905i85B77645E166EBB2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Gavin_Jia_1-1765178800500.png%22%20alt%3D%22Gavin_Jia_1-1765178800500.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAdditionally%2C%20there%20are%20two%20points%20to%20note%3A%20The%20FlexSPI2%20mapping%20address%20is%200x6000_0000%2C%20so%20the%20link%20script%20requires%20attention.%20FlexSPI%20does%20not%20support%20the%20combination%20of%20PORTA%20and%20PORTB%20for%208%20data%20lines%3B%20please%20select%20the%20same%20PORT.%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%3CLINGO-SUB%20id%3D%22lingo-sub-2256912%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX%20RT1176%20%E2%80%93%20Boot%20from%20FlexSPI2%20HyperFlash%20using%20fuses%20(currently%20FlexSPI1%20NOR%20working)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2256912%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%2F203261%22%20target%3D%22_blank%22%3E%40Gavin_Jia%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%20for%20the%20inputs%20and%20clarification.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EAmarnath.%3C%2FP%3E%3C%2FLINGO-BODY%3E