Dear All,
I have a question/problem with my MCU (F28377D). I been writing a program which includes reading an encoder speed sensor. I did the setup following the example included in ControlSuite for my device. I included all the paths and libraries (IQmath, 2837x_RAM_IQMATH_lnk_cpu1) in the C2000 Linker fields and it worked fine at the beginning.
Later on, I added a lot of extra code to my program and I got a memory oversize error (http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10099) Then I decided to write my code in the FLASH memory (I switched to 2837x_FLASH_IQMATH_lnk_cpu1) rather than in the RAM but I got the same oversize error. However, if I eliminate the encoder reading code and change the C2000 Linker files to 2837x_FLASH_lnk_cpu1 it works well (no oversize) and looking at the memory allocation option there is plenty of free space.
I am not an expert in MCUs so I am slightly lost about what is going on. My only feeling is that 2837x_FLASH_IQMATH_lnk_cpu1 allocates memory (IQmath libraries, etc) in a particular way and there is no enough room for my the rest of my code. So I was wondering if it is possible to combine the FLASH and RAM configurations, let's say use the FLASH memory for my code, and maybe store all the encoder libraries in the RAM memory. I would say if it is possible to include the files 2837x_FLASH_lnk_cpu1 and 2837x_RAM_IQMATH_lnk_cpu1 at the same time in the C2000 Linker or do something similar... or somebody can suggest me another possible solution because I have to deep experience with MCUs.
Thanks in advance for your replies.
Danilo