processor goes to HardFault at __ISB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-13 1:41 AM - last edited on ‎2025-05-20 7:00 AM by Saket_Om
Hello,
I've bought Riverdi board and I'm developing a code that uses Ethernet and act as TCP server.
The code sends "Hello word %d", i++ every 10ms on that TCP socket and it works fine,
but when I try to send some byte on client size it goes to HardFault:
Can some one help me ?
it is related to HardFault_Handler when enable LWIP and touchgfx - Page 2 - STMicroelectronics Community
- Labels:
-
Ethernet
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-23 7:13 AM
Hello @MauFanGilaMedical,
Thank you for your report.
The HardFault you are encountering might be due to a stack overflow. To prevent this, you can try increasing the stack size in your project settings. Additionally, ensure that the data being sent does not exceed buffer limits, and consider testing with smaller data payloads to see if the issue persists.
Sharing more details about your project could also help us provide more specific assistance.
With Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-23 7:37 AM
Watch that Invalidate Cache does not discard data on stack, and throwing away pending write buffers.
Output useful data in HardFault_Handler
Up vote any posts that you find helpful, it shows what's working..
