This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM814x EVM (Mistral baseboard PG2.1) GPMC

Hi,

I would like to test the GPMC interface of the DM814x.

1. Step: Try out the GPMC configuration of the included GEL file (DM814X_PG2.1_DDR2_DDR3_V3_EVM_)

I run the 'Centaurus_System_Initialisation_GP_Device', 'DDR3_EMIF0_EMIF1_Config' scripts --> no problem

When I run the 'GPMC_ClkEnable_API' afterwards I see on the output console that the clock and pinmux of GPMC is configured correctly. But when doing the writing test (also included in the GEL file) I get the following error:

CortexA8: Trouble Writing Memory Block at 0x2000000 on Page 0 of Length 0x4: (Error -1065 @ 0x3D5A) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.569.0)GPMC_ClkEnable_API() cannot be evaluated.

target access failed

at *((unsigned int *) (0x02000000+(4*i)))=(unsigned int) (0xABCD0000+i) [DM814X_PG2.1_DDR2_DDR3_V3_EVM_.gel:684]

at GPMC_ClkEnable() [DM814X_PG2.1_DDR2_DDR3_V3_EVM_.gel:146]

at GPMC_ClkEnable_API()

The memory map in the datasheet shows that 0x01000000-0x1FFFFFFF (496 MB) belongs to GPMC. Address 0x02000000 is defined as the GPMC_MEM_BASE_ADDR in the gel file. Do I miss something or am I doing something wrong?

Any hints are appreciated.

Thank you and best regards,

GINNI

 

  • Hi GINNI,

    Do you get your GEL file from here? 

    http://processors.wiki.ti.com/index.php/DM814x_Overview

    BR,

    Viet

  • Hi Viet Dinh,

    thank you very much for looking into this. No the one from the wiki only enables the GPMC clock, without configuring the Pinmux and the write/read test. I am using the original gel file included in the AV_BIOS_SDK in the NSP for example. I attached it.

    Best Regards,

    GINNI

  • Gregor,

    For GPMC and other tests, please use the Diagnostics Software that can be download from Mistral website.  The GEL file only do setup.

    http://www.mistralsolutions.com/pes-support/support-downloads/tmdxevm8148.html?phpMyAdmin=01ab13889148490e8d23c7ff6925ee04

    BR,

    Viet

  • Hi Viet,

    thank you very much for this hint. The gel file within this Diagnostics Software still doesn't do, what I would expect from it to do, but the NAND example in the Diagnostics software makes use of the GPMC and gives me an idea of how to proceed with my testings. I can build and run it --> shows that the read/write to the NAND flash works.

    I would like to do synchronous transfers (single and multiple read/writes) like for a NOR/SRAM device to test the throughput of the GPMC interface for this case. I am wondering whether it is somehow possible to realize a kind of benchmark setup for the GPMC (synchronous mode) on the Mistral DM814x EVM, without actually having a NOR/SRAM device connected? I mean configuring the GPMC to work in synchronous mode and make fake reads/writes to an address and just measure the GPMC signals (digital analyzer), from which I could calculate the throughput.

    Many thanks and best regards,

    GINNI