Hello,
In my code I have two large independent arrays in CLA memory, since I ran out of space I tried to make RAMLS4 larger (Which is the sector assigned to "Cla1DataRam" ) in the command file, however, I'm getting peculiar results when running the CLA task, it seems like data is kind of been mixed between the two arrays or getting corrupted.
I guess this behavior is related to the memory configuration. I use MemCfg_setCLAMemType to assign the RAMLS sectors to CLA_MEM_PROGRAM or MEMCFG_CLA_MEM_DATA, nevertheless, I suppose the line:
MemCfg_setCLAMemType(MEMCFG_SECT_LS4, MEMCFG_CLA_MEM_DATA);
isn't quite right because I changed RAMLS4 size in the command file. Could it be the cause of the peculiar behavior?, is it legal to modify RAMLSx sectors to a custom size?
I guess the solution would be to assign both RAMLS4 and RAMLS5 to "Cla1DataRam" but RAMLS5 is being assigned to ".const_cla" and there isn´t any other RAMLS sector available for use
What could I do in this situation?
Thank you