Hello everyone, I have the following problem : I am designing a webserver using RLARM libraries and uVision. I have a RTOS, and the webserver is based on keil cgi functions.
The problem is when I want to make some debug. When I set a breakpoint, sometime I cannot continue my code. In fact the processor is stuck in the ETH_IRQHandler routine, and never gets out of it.
Has anyone already have this kind of problem ? Do you have any idea of what it could come from ?
Thanks in advance for your answers, Best regards,
It likely gets stuck because you fail to clear or service the interrupt source properly. If you have the ethernet controller set to receive all traffic it's likely to interrupt a lot.
Hi everybody, The problem is solved. The interrupts are not all cleared during the interruption routine in the origical code. So I replaced
ETH->DMASR = INT_RBUIE
by
ETH->DMASR = INT_AISE | INT_RBUIE
Like suggested in another thread. Best regards