# AM64x\AM243x DDR Register Configuration (v08.10)

## Procedure:
1) Select Add button at the top and choose the DDR Memory Type.  Fields will be populated with default values for AM64x\AM243x EVMs<br>
2) Modify parameters based on your DDR device. Hover mouse pointer over each parameter and choose the help icon (?) for more explanation<br>
3) The 'Generated Files' section on the right has output files for your software (uboot, RTOS, or GEL) that can be saved.  A SysConfig configuration script can also be saved and then reloaded at a later time using File->Open in Sysconfg.

###GEL
1. The resulting .gel file should be placed in the CCS installation for your device, for example ccs\ccs_base\emulation\gel\AM64x\AM64_DDRSS, and loaded using a GEL_LoadGEL instruction (see example in ccs\ccs_base\emulation\gel\AM64x\AM64_DDRSS\AM64x_GP_EVM.gel)

###uboot
1. The resulting .dtsi file should be placed in arch/arm/dts, and the include statement in k3-am642-r5-<board>.dts (eg., k3-am642-r5-evm.dts for the GP EVM, or k3-am642-r5-sk.dts for the StarterKit) should reference the new .dtsi file.  The DDR driver will properly set the DDR frequency and initialize the DDR controller using the information in this .dtsi file

###RTOS
1. The resulting .h file should be placed in pdk<version>/packages/ti/board/src/<board>/include and included in pdk<version>/packages/ti/board/src/<board>/board_ddr.c
