hi James,
Some points regarding to DCD for boot via QSPI -> DDR:
1- the dcd i sent you is from "vf65gs10_a5_ddr.mac" (IAR macro for DDR) and it works fine at TWR (with the same DDR we use);
2- the file you sent me ('vybrid_10.c') is not a DCD (device configuration data); i mean, it's not a table but a function
that should be called anywhere;
3- i took all register and values from your "Vybrid_DDRMC_DDR3_register_programming_aid_1V1.xlsx", from the tab "RealView.inc file",
and translate it to the DCD format, for example:
Excel:
"setmem /32 0x40048220 = 0x00000180 // IOMUXC_DDR_A_15 "
My file.c:
"byte_swap32(0x40048220), byte_swap32(0x00000180),"
and so on...
3- after some commands there is a code to check if the previous command was done;
ex.:
DCD_WRITE_CMD4(1,0,0),
byte_swap32(0x40050030), byte_swap32(0x2001), // pll2
// check something...
//while ((reg32_read(0x40050030) & 0x80000000) != 0x80000000) {}
DCD_CHECK_DATA_CMD4(0,1),
byte_swap32(0x40050030), byte_swap32(0x80000000),
- should i keep these lines in my dcd?
4- the DCD i made from RealView.inc didn't work too, even after the second reset;
5- please check attached dcd file.
thank you,
jamesbone