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

From Texas Instruments Wiki
Jump to: navigation, search

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:

  1. Download am43xx-ddr-analysis.dss.
  2. Launch CCS.
  3. 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.
  4. 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"
  5. Launch the scripting console by going to View -> Scripting Console.
  6. Load am43xx-ddr-analysis.dss in the scripting console by executing "loadJSFile <path-to-dss-file>/am43xx-ddr-analysis.dss".
  7. It will use the Debug Access Port (DAP) unobtrusively behind the scenes such that the Cortex A9 is never halted.
  8. 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.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article AM437x DDR Configuration and Programming Guide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article AM437x DDR Configuration and Programming Guide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article AM437x DDR Configuration and Programming Guide here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article AM437x DDR Configuration and Programming Guide here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article AM437x DDR Configuration and Programming Guide here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM437x DDR Configuration and Programming Guide here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article AM437x DDR Configuration and Programming Guide here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article AM437x DDR Configuration and Programming Guide here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article AM437x DDR Configuration and Programming Guide here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity