Thanks. My understanding is nearly there ...
"The IFC will map the NOR flash device to the system memory map such that the reset vector address points to the correct location in the NOR flash device"
Given the system memory map reset vector is fixed (0x0_FFFF_FFFC), can I assume the following IFC CS0 behavior, i.e. the last address will always overlay the reset vector?
NOR flash, 16Mbyte: BA = 0xFF00_0000, AM = 0xFF00
NOR flash, 32Mbyte: BA = 0xFE00_0000, AM = 0xFE00
NOR flash, 64Mbyte: BA = 0xFC00_0000, AM = 0xFC00
Thus can I assume IFC_CSPR0, IFC_AMASK0 are already set at code entry on core0?
And finally, ...
If my board does not present the whole flash memory range to the processor, how does the IFC know what portion of the flash memory to map? For example, the VBANK feature on T1040D4RDB switches 16MB portions of a 128MB flash device to the IFC. How does the IFC know to only map 16MB for CS0, even though the JEDEC info of the device says 128MB?
P.S. I am writing the boot program for my board, so I need to know the small details.
Kind regards,