Good day to you again.
Since i have working ethernet boot, i want to put all my program sections in the DDR3. I know that i will not be able to do Global_Default_Setup, etc. Simple code like:
memset( (void *) &sFlags, 0x01, sizeof(platform_init_flags));
memset( (void *) &sConfig, 0x01, sizeof(platform_init_config)); // было 0x01
sFlags.pll = 1; /* PLLs for clocking */
sFlags.ddr = 1; /* External memory */
sFlags.tcsl = 1; /* Time stamp counter */
#ifdef _SCBP6618X_
sFlags.phy = 0; /* Ethernet */
#else
sFlags.phy = 1; /* Ethernet */
#endif
sFlags.ecc = 1; /* Memory ECC */
sConfig.pllm = 1; /* Use libraries default clock divisor */
is not working in my case. I can't init DDR with one setup and then load my program, because i must reset board power after every load. Maybe there are still possibilities to init DDR trhough program?