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.

dsplink samples run error

Other Parts Discussed in Thread: OMAPL138

Hi, I am trying to change the default DSPLink memory map and run the Readwrite example but keep getting this error:

root@evm:~# ./readwritegpp readwrite.out 0xc60000000 1024  1

============= Sample Application : READWRITE ==========

Error: DSP-side memory map does not match configuration.

Compare DSP-side TCF/MAP file with /dsplink/config/all/CFG_.c PROC_load failed.

 Here are the changes I made in CFG_OMAPL138_SHMEM.c (only the beginning of the file, the rest left unchanged): /** ============================================================================ *

@file CFG_OMAPL138_SHMEM.c * * @path $(DSPLINK)/config/all/ * *

#define RSTENTRYID 0u

#define RESETCTRLADDR 0xC5000000u--------------(changed)

#define RESETCTRLSIZE 0x80u

#define CODEENTRYID 1u

#define CODEMEMORYADDR (RESETCTRLADDR + RESETCTRLSIZE)

#define CODEMEMORYSIZE 0x2800000u ------------(chanded)

STATIC LINKCFG_MemEntry LINKCFG_memTable_00 [] ---------(changed to match)

; Here are the changesi made in dsplink-omapl138-base.tci :

/** ============================================================================ *

@file dsplink-omapl138-base.tci * * @path $(DSPLINK)/dsp/inc/DspBios/5.XX/OMAPL138GEM

var RESET_VECTOR = prog.module("MEM").create("RESET_VECTOR");

RESET_VECTOR.base = 0xC5000000 ;------(changed)

RESET_VECTOR.len = 0x00000080;

RESET_VECTOR.space = "code/data";

RESET_VECTOR.createHeap = false;

RESET_VECTOR.comment = "RESET_VECTOR";

DDR.base = RESET_VECTOR.base + RESET_VECTOR.len ;

DDR.len = 0x2800000;-------(changed)

DDR.space = "code/data";

DDR.createHeap = true;

DDR.heapSize = 0x1000000;

DDR.comment = "DDR";

Can anyone tell me what's wrong?

Thanks