Hi, I'm having problems to define an address in L2 memory.
I'm using de EDMA3 for DM6437 and I'm trying to follow the defination of memory like in SPRAAN4 docs.
So, in my project is being defined:
#define DATA_SECTION( bufExt1, ".ExtBuffer" )
#pragma DATA_ALIGN ( bufExt1, EDMA3_CACHE_LINE_SIZE_IN_BYTES );
unsigned char bufExt2[345600]; //for use only Y of the frame read from TVP.
So, I need to read for analyze only a part from Y, so I defined (like the function test_2D2D_nointr() in SPRAAN4):
#define DATA_SECTION( bufL2, ".L2Buffer" )
#pragma DATA_ALIGN ( bufL2, EDMA3_CACHE_LINE_SIZE_IN_BYTES );
unsigned char bufExt2[5000];
The problem is that the bufExt2 is being created in 0x81047080 address memory in DDR2 (I think it's right) but the bufL2 is being created in 0x10E08000 that is in L1P address memory and no in 0x10800000 address memory for L2.
Obs. When I buid my project is showed:
>> warning: creating output section .ExtBuffer without SECTIONS specification
>> warning: creating output section .L2Buffer without SECTIONS specification
I try to create a extra .cmd file and include in my project for build together but it stop in ISR.
I'm using L1P, L1D and 64K for L2 cache.
So, could someone tell me what's the right way to define address memory!