This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I just added a couple of CLA math functions and the CLA Math tables don't fit in RAM memory anymore. Here's what I had :
CLA1mathTables : LOAD = FLASHB, RUN = CLARAM1, LOAD_START(_Cla1mathTablesLoadStart), LOAD_END(_Cla1mathTablesLoadEnd), RUN_START(_Cla1mathTablesRunStart), LOAD_SIZE(_Cla1mathTablesLoadSize), PAGE = 1
I'd like to know if it's possible to "merge" CLARAM0 with CLARAM1. They are two separate DPSARAM banks but is it possible to use them as one big bank? I'm sure I had a pdf explaining how to play with the cmd file but I can't seem to find it.
Anyway, I have acos, asin, exp, cos, sin and sqrt used in my CLA. It doesn't fit in one 0x400 memory hole. I'm sure someone has successfully got it to work...
Thanks
Hi Mosin,
In the linker command file you can club RAM0 and RAM1 to one section "CLARAM01" and use that as the RUN location for the tables. You will, however, have to transfer ownership of both these RAMs to the CLA in the MMEMCFG register.
Thanks Vishal.
That's the solution I had in mind but I wasn't sure if it was a problem to link those two ram blocks together.