Dear Community,
I am attempting to use ZONE7DATA memory starting with the DMA_xintf_to_ram example provided by TI.
I do not succeed though in writing the external memory. In fact I can see that the buffer is not changed by this code:
#pragma DATA_SECTION(DMABuf1,"DMARAML4");
#pragma DATA_SECTION(DMABuf2,"ZONE7DATA");
volatile Uint16 DMABuf1[BUF_SIZE];
volatile Uint16 DMABuf2[BUF_SIZE];
[...]
for (i=0; i<BUF_SIZE; i++)
{
DMABuf1[i] = 0;
DMABuf2[i] = i;
}
[...]
In fact DMABuf2 is not affected at all by this instructions and remains full of 0xFFFF but at the end of the program DMABuf1 contains the same things. So the memory appears to be read-only. (I put a break point after the for and DMABuf1 is full of zeros after the for loop).
Is there anyone who has an idea of what is going on?
Thanks you very much for you precious time,
Andrea