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.

issues when running from flash (delfino F28335) CCS v5

Hello,

I am having some trouble when I run my code using flash memory. There is not any problem while compiling but, as soon as click run this funcions is called:

interrupt void ILLEGAL_ISR(void) // Illegal operation TRAP
{
// Insert ISR Code here

// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm(" ESTOP0");
for(;;);

}

I have tried the same code using RAM and everything works great, I think this problem is related to the ADC since Im using it to read 5 inputs which are divided into 2 sequences ( a fast one and a slow one). I have no idea what is wrong, I would appreciate some help.

Thanks,

Antony

  • Hi Antony,

    That code snippet is supplied to you to catch interrupt vectors that you may not have mapped with your own ISR.

    Create a global variable and see if you can update this with the IFR register to identify which interrupt is pending.

    If the interrupt is being generated by a peripheral that you are not using, then simply disable the peripheral and interrupts from that peripheral.

  • TI should enable down-vote on answers. you should re-read the documentation.

    This issue is clearly related to flash-ram loading.