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