Hi,
I have developed some test for my Internal RAM, External RAM and Internal Flash.
So I create an array like this:
uint16_t source[DATA_SIZE];
With the destiny address
uint32_t target = 0x80000000;
It writes and compares correctly when the size is 512. This checks that my SDRAM works.
The problem becomes when the DATA_SIZE is bigger than 512. I get a memory abort and I can see that the code crashes on __aebi_memcpy8.
I am running this test because I want to make sure that my RM48 HDK has the SDRAM configured properly, as in my main code I'm getting other memory aborts.
I was wondering if both aborts have some kind of relationship and if missed any configuration.
In other hand, I have the HDK SDRAM chip IS42S16400F-7BL running at 220Mhz, so I have the clock for the EMIF at 31.5 Mhz (so I avoid timming issues)
Any help?
Thanks,