Hello John,
I was discussing this internally with Kerry, and there are other things to take into consideration. Keep in mind that the community document was made for the RT10xx parts. The steps for the RT1170 are not the same.
In the RT1170, you don't need to modify the file fsl_flexspi_nor_boot.c. Please delete the line of code where you declared the ResetISR as extern and uncomment the line on fsl_flexspi_nor_boot.h. This step only applies to the RT10xx parts.
You also need to reallocate the stack pointer. As I mentioned in the community document, there are lots of dangerous areas in reconfiguring the FlexRAM in code. It pretty much all boils down to the fact that any code/data/stack information written to the RAM can end up changing location during the reallocation. To overcome this you'll need to place the stack at the start of the DTCM memory and change the size. This applies to all the RT parts. I'm working on updating the community document to add this information.

After doing this you also have to add a couple of instructions inside the reset handler to reallocate the SP. Here are all the instructions that you need.
/* Reallocating the FlexRAM */
__asm (".syntax unified\n"
"LDR R0, =0x20001fff\n" //Reallocating the stack pointer
"MSR MSP,R0\n"
"LDR R0, =0x400e4044\n"//Address of register IOMUXC_GPR_GPR17
"LDR R1, =0x0000aaaa\n"//FlexRAM configuration DTC = 265KB, ITC = 128KB, OC = 128KB
"STR R1,[R0]\n"
"LDR R0, =0x400e4048\n"//Address of register IOMUXC_GPR_GPR18
"LDR R1, =0x0000aaaa\n"//FlexRAM configuration DTC = 265KB, ITC = 128KB, OC = 128KB
"STR R1,[R0]\n"
"LDR R0,=0x400e4040\n"//Address of register IOMUXC_GPR_GPR16
"LDR R1,[R0]\n"
"ORR R1,R1,#4\n"//The 4 corresponds to setting the FLEXRAM_BANK_CFG_SEL bit in register IOMUXC_GPR_GPR16
"STR R1,[R0]\n"
".syntax divided\n");
__asm volatile ("MSR MSP, %0" : : "r" (&_vStackTop) : );
You need to add these instructions right after disabling the interrupts inside the ResetISR.
As Kerry mentioned to you already, you also need to modify the connect script to match the new value of the FlexRAM. I will add this in the community document as well since this applies to all the RT parts.
The changes that you made in the MCU settings and the MPU are correct. I made some tests on my end, and I was able to debug this without problems.
Regards,
Victor