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.
Part Number: LAUNCHXL-F28377S
hello,
I have developed an application in F28377s launchpad which includes data acquisition using an ADC. The program runs fine while running from RAM but when I tried to run it from flash the program is trapped into "illegal ISR" function. I tried to step through the program and this problem occurs when the DELAY_US(1000) runs inside the ConfigureADC() function.
Can someone suggest a solution, please?
Thanks.
Solved it! The problem was I did not have any "Predefined Symbols" (Properties--->CCS Build--->C2000 Compiler--->Advanced Options--->Predefined Symbols) for the #ifdef to check. This means that the "memcpy" inside the
#ifdef _FLASH
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);
#endif
will never run and ultimately do not copy the DELAY_US to the RAM from FLASH. So I added "_FLASH" to the Predefined Symbols and solved the problem. Thanks again for your suggestions.