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.

CCS/TMS320F28377S: illegal ISR

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Hi all,

We are facing a serious problem in the Delfino controller TMS320F28377S. when it executes certain I2C read functions implemented for EEPROM ,bulk delays and LCD functions

the whole control hangs and stops in "illegal ISR" interrupt We are seeing this problem frequenctly when the MODE change over takes place in MCU, To counter this problem we had

to increase the stack size and this solved the problem to some extent but temporarily. We are facing this problem again and tried to counter it in many ways. but it didnt worked.

Need a solution to this prpoblem please suggest thanks in advance.

Regards

Naveen Reddy

  • Is there a specific line that causes the illegal ISR to be triggered or is it sporadic? Are you seeing actual signs of stack overflow? Like if you use the memory browser to write a pattern to the stack memory, can you see it getting completely wiped out by the time the illegal ISR occurs?

    Is the code that's executing from flash or RAM? If you are executing from flash, can you check that there aren't any "ramfuncs" that weren't copied into RAM properly before execution?

    Thanks,

    Whitney