Thanks David,
I have make an error reading specification of board.
But I have tried the XPC567XRKIT PinToggleStationery CW210 and it contains an error.
If I activate the INIT_EXTERNAL_BUS_INTERFACE_SETUP in MPC55xx_init_debug.c as I ran the program in RAM.
- INIT_ExternalBusAndMemory initialize PCR properly to access to all 4Mbits until 2007FFFF addresses.
- But it misses to initialize PCR 260 to 262
But in the External_SRAM_init of main.c:
- It misses to initialize the corresponding PCR of D_ADD13 to D_ADD15. Otherwise there is only 64KBytes available as at address 20010000 you have the same data as at address 20000000. Here after a code to add in function.
/* D_ADD13 - D_ADD15 PCR 260 - 262 */
for (count = 260; count <= 262; count++)
{
SIU.PCR[count].R = 0x0443;
};
- The initialization of D_ADD9 to D_ADD12 is conditioned on different daughter board but could be activated by default
I have another question is the function INIT_ExternalBusAndMemory partially doing same task with External_SRAM_init ?
I understand it initialize the MMU to access to external device.