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.
I’m working with a F28335 and observe some abnormal issue during my debugging.
My setup as below: CCS version: 6.2.0.00050 Compiler Version: V15.12.3.LTS
I have many computations to perform in a short period of time, so I want put as much math functions and tables into RAM to execute as possible.
i used HVPM_Sensorless_2833X. project as a startup.
i got #pragma CODE_SECTION(); into RAM, the project runs normally
the map as below.
name origin length used unused attr fill
RAML0 00008000 00004000 00001d50 000022b0 RWIX
FLASHA 00338000 00007f80 00003b6a 00004416 RWIX
The issue is that, When I put more functions into ram, For example, ten functions,
Program would stuck in the AD initialization part, in DELAY function, as below
DELAY_US(ADC_usDELAY);
#define ADC_usDELAY 50000L
#define DELAY_US(A) DSP28x_usDelay(((((long double)A*1000.0L)/(long double) CPU_CLOCK_SPEED)-9.0)/5.0L)
the map as below
name origin length used unused attr fill
RAML0 00008000 00004000 00001d50 000022b0 RWIX
FLASHA 00338000 00007f80 00003b6a 00004416 RWIX
Any suggestion how to solve this problem, appreicated thanks.