1985410_en-US

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

1985410_en-US

1985410_en-US

Issue with Debugging Mode After Changing XIP Boot Mode from FLEXSPI1 to FLEXSPI2 on Custom RT1170 B

Hello NXP Support Team,

I am working with a custom board based on the RT1170 and have made the following modification: I switched the XIP boot mode from FLEXSPI1 to FLEXSPI2. After making this change, I ensured that all necessary modifications were applied, including:

  • Pinout Adjustments: Updated all relevant pin configurations for FLEXSPI2.
  • Frequency Settings: Set up FLEXSPI2 with the appropriate clock frequency for XIP.
  • Additional Peripheral Configurations: Verified all peripheral and memory configurations as outlined in the reference manual.

Issue:

  • While the system operates correctly in release mode, I am unable to use debugging mode. Debugging does not initialize as expected when booting from FLEXSPI2.
  • Is there any additional configuration or setting specific to debugging that could be impacting this mode after switching to FLEXSPI2?

Could you advise on any additional settings, configurations, or specific areas in the memory map, clock setup, or debugging interface that might be impacted by this change? Any guidance on what might be necessary to adapt the debugging functionality would be greatly appreciated.

Thank you for your support


i.MXRT 106xRe: Issue with Debugging Mode After Changing XIP Boot Mode from FLEXSPI1 to FLEXSPI2 on Custom RT117

Dear @yosri_c ,


Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

https://www.nxp.com/webapp/Download?colCode=IMXRT1170RM 

This link is MIMXRT1170 reference manual. Please pay attention to chapter 10 System Boot

1: Please check the Flash location in your project configuration.

FlexSPI2: 0x60000000

FlexSPI1:  0x30000000 , this is for the NXP MIMXRT1170-EVKB board.

2: Please check BOOT config  and BOOT mode pin setting in your board.

   Those PINs setting should be consistent to your project design.

3: I suggest you can import SDK demo "evkbmimxrt1170_fsl_romapi_cm7" , set Link application to RAM, modify relative configuration from FlexSPI1 to FlexSPI2, debug and check whether FLEXSPI2 NOR flash work OK. 

mayliu1_1-1730449933591.png


I think this link is very useful for FLEXSPI Booting, you can refer to.

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/i-MX-RT-FLEXSPI-booting-guide/ta-p/1669262

Also,  maybe you can refer to this case, this case is also about FLEXSPI2.

https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-with-FlexSPI2-on-i-MX-RT1172-and-QSPI-f...


Wish it helps you.
If you still have question about it, please kindly let me know.


Wish you a nice day!

mayliu

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 03:32 PM
Updated by: