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