nobody wrote on Thursday, April 12, 2007:
I am running FreeRTOS on a LPC2378 using IAR.
When I use a ‘normal’ ISR there is no problem:
__irq __nested __arm void EMACHandler (void)
If I use the asm wrapper from the ‘uIP_Demo_IAR_ARM7’ Demo:
portSAVE_CONTEXT ; Save the context of the current task.
bl EMACHandler ; Call the ISR routine.
portRESTORE_CONTEXT ; Restore the context of the current task -
; which may be different to the task that
; was interrupted.
__arm void EMACHandler( void )
the MCU gives a prefetch abort exeption!
What i wrong?? Can anyone help?