I modified the 'read write ' program for my encoder application(For DM6467 evm).
But there is a problem in dsp side, that not executing after a particular line of my program.
I gave enough space for code/data in DDR memory.
This is my memory map configuration,
{
0, /* ENTRY : Entry number */
"DSPLINKMEM", /* NAME : Name of the memory region */
0x8FEF0000, /* ADDRPHYS : Physical address */
0x8FEF0000, /* ADDRDSPVIRT : DSP virtual address */
(Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */
0x5000, /* SIZE : Size of the memory region */
TRUE /* SHARED : Shared access memory? */
},
{
1, /* ENTRY : Entry number */
"DSPLINKMEM1", /* NAME : Name of the memory region */
0x8FEF5000, /* ADDRPHYS : Physical address */
0x8FEF5000, /* ADDRDSPVIRT : DSP virtual address */
(Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */
0xFB000, /* SIZE : Size of the memory region */
TRUE /* SHARED : Shared access memory? */
},
{
2, /* ENTRY : Entry number */
"RESETCTRL", /* NAME : Name of the memory region */
0x8FFF0000, /* ADDRPHYS : Physical address */
0x8FFF0000, /* ADDRDSPVIRT : DSP virtual address */
(Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */
0x00000080, /* SIZE : Size of the memory region */
FALSE /* SHARED : Shared access memory? */
},
{
3, /* ENTRY : Entry number */
"DDR", /* NAME : Name of the memory region */
0x8FFF0080, /* ADDRPHYS : Physical address */
0x8FFF0080, /* ADDRDSPVIRT : DSP virtual address */
(Uint32) -1, /* ADDRGPPVIRT : GPP virtual address (if known) */
0x2000000, /* SIZE : Size of the memory region */
FALSE /* SHARED : Shared access memory? */
}
Corresponding to this I also modified the .tci file(Increased DDR memory size).
My program using 34KB of shared memory in 'DSPLINKMEM1' memory area.
My dsp executable size is 856KB.
But still my application not working after some lines in dsp side application.
I don't know whether I have to modify any other configuration files, corresponding to .tci file.
I am compiling the dsp program in linux environment using the make files provided with the examples.
Please help me to solve the problem.
Thanks in advance.