Two questions:
1. I'm trying to find example code for setting up DDR3 memory on the AM3359 ICE v2.1 board. I've looked in icev2AM335x.c in the PDK, and found this:
/* Set the desired DDR3 configuration -- assumes 66.67 MHz DDR3 clock input */
Board_STATUS Board_DDR3Init()
{
return BOARD_SOK;
}
/* Set the desired DDR3 configuration -- assumes 66.67 MHz DDR3 clock input */
Board_STATUS Board_PLLInit()
{
return BOARD_SOK;
}
This clearly does nothing! Where can I find some real sample code?
2. When I start a debug session in Code Composer, somehow the DDR3 memory is already set up, even though I've deleted all the set-up code from my GEL file. How is DDR configured at the start of a debug session?