Hello,
I work with the microprocessor Atmel SAM3X8E and the software Atmel 7.
I want to make an ethernet communication (TCP/IP) from my PC to my programming board. For the programming board, the receive of datas shalls turn thanks to a task of freeRTOS. My computer shall send the data.
Without task, the receive of data works well but when I put the receive part in a task of FreeRTOS, after 1 receive my programme block in an handler of unused IRQs…
**
* \brief Default interrupt handler for unused IRQs.
*/
void Dummy_Handler(void)
{
while (1) {
}
}
This handler is use for all my handlers :
void EMAC_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
void USART0_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
void USART1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
void USART2_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
void PIOA_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
void PIOB_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler")));
...
After 1 send, the IRQs of my EMAC (ethernet) pass well (I check with some print). I don’t know how but my program go always into this infinite handler while all my IRQs are initialize…
I think it’s a problem of conflict from IRQs of FreeRTOS and IRQs of emac but i am not sure.
Do you have any idea to how to fixe this issues ?