TCP fasttmr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-05 4:12 AM - last edited on ‎2025-05-05 6:08 AM by mƎALLEm
I have created TCP client on my STM32H723 module. Now I am stress-testing the code by abruptly closing the server before the TCP client could connect. As per my code it retries TCP connection after 30 seconds. But after multiple times the code freezes. I debugged it and it was getting stuck in tcp_fasttmr function:
All the conditions under the while are not satisfied so it directly jumps to line 1519 and back 1489.
- Labels:
-
LwIP
-
STM32H7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-12 4:34 AM
Hello @jowakar122,
Thank you for your contribution. This issue is being tracked internally. An internal ticket (209492) has already been raised for follow-up.
With Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-17 3:18 AM
Hello,
Could you please confirm if you are using an RTOS and whether the tcp_fasttmr API is being called exclusively from a single context?
For your implementation, it is important to ensure compliance with the multithreading guidelines outlined here: https://www.nongnu.org/lwip/2_1_x/multithreading.html.
With Regards,
