Part Number: F28M35H52C
Hello, I am trying to run a program from RAM because I need it to be as fast as possible. The problem I am facing is that I do not have enough memory to do so. I have tried using the shared RAM and the C28x RAM, however the program does not fit.
Something to note is that, because of the software "nature", there are two groups of functions that could be executed (depending on a certain signal) and that run independently. Each group is composed of 6 functions and if the aforesaid signal is 0, a group (and just this group) of those functions is executed while the other is not called and if the signal is 1, it is the other way around. I thought that I could do something like, depending on this signal, place one or the other group of functions in RAM. This way it could be possible to make the program fit into that memory. I read about the ramfunc attribute but as far as I understood it is not possible to decide between different groups of functions you want to be placed in RAM. It allows you to put all the selected functions or no one. Am I correct about this or there is a way to do what I need with the ramfunc functionality? Is there any other way to achieve this?
I am not an expert (as you must have realized) but I guess this could be done with the OS (DSP/BIOS). The idea, however, is to avoid using it because the whole project is actually quiet simple.