NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
AM437x DDR Configuration and Programming Guide
Determining the Register Values[edit]
The following information describes how to set the EMIF registers in the AM437x EMIF module depending on the DDR memory that you are using (LPDDR2 or DDR3).
The primary resources should be the app note AM43xx EMIF Tools and its accompanying spreadsheet.
Verifying DDR Configuration[edit]
This tool can be useful for trying to debug issues, or simply as some additional verification.
Here's how to use download and use this script:
- Download am43xx-ddr-analysis.dss.
- Launch CCS.
- Create an appropriate target configuration file for connecting to your board.
- File -> New -> Target Configuration File
- Supply a name/location for the file.
- View -> Target Configurations to see the available target configurations (yours should now be among them!).
- Double-click your file in the Target Configurations panel to open it for editing.
- Select your emulator and processor. Save.
- Launch the debugger, but do not connect to any CPUs.
- In the Target Configurations window, right-click on your ccxml file and select "Launch Selected Configuration"
- Launch the scripting console by going to View -> Scripting Console.
- Load am43xx-ddr-analysis.dss in the scripting console by executing "loadJSFile <path-to-dss-file>/am43xx-ddr-analysis.dss".
- It will use the Debug Access Port (DAP) unobtrusively behind the scenes such that the Cortex A9 is never halted.
- Output files from the tool will be on your desktop:
- am43xx-ddr-analysis_yyyy-mm-dd_hhmmss.txt
- am43xx-ddr-analysis_yyyy-mm-dd_hhmmss.csv
The txt file will decode many of the registers so you can sanity check your values. If the tool encounters an illegal or unusual setting, it will be noted in the output.