mindthomas
Member level 4
- Joined
- Mar 2, 2007
- Messages
- 75
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,288
- Location
- Denmark
- Activity points
- 1,855
Hi.
I have been trying hard to get my FreeRTOS v7.3.0 system working together with lwIP v1.4.1 and I have sucessfully managed to get connection and DHCP.
But when I try to use sockets it only works sometimes.
Most of the times it takes long, trying to connect, and then it times out.
I have been trying almost everything from changing the Heap Size, changing the TCP-IP stack and priority.
But as I don't know that much about RTOS yet, I am unsure if the problem might have something to do with interrupt priority of the Ethernet layer.
I don't know if the NVIC IRQ Priority of the Ethernet HAL should be set lower or higher.
I have been trying with
as it was how it was in the example STM32 Ethernet port.
Have any of you experienced the same type of timeouts or VERY slow response?
Thanks a lot.
Regards Thomas
I have been trying hard to get my FreeRTOS v7.3.0 system working together with lwIP v1.4.1 and I have sucessfully managed to get connection and DHCP.
But when I try to use sockets it only works sometimes.
Most of the times it takes long, trying to connect, and then it times out.
I have been trying almost everything from changing the Heap Size, changing the TCP-IP stack and priority.
But as I don't know that much about RTOS yet, I am unsure if the problem might have something to do with interrupt priority of the Ethernet layer.
I don't know if the NVIC IRQ Priority of the Ethernet HAL should be set lower or higher.
I have been trying with
Code:
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 2;
Have any of you experienced the same type of timeouts or VERY slow response?
Thanks a lot.
Regards Thomas