Hello,
for past year I'm using liwp in my application running on STM32F4xx. I have a few services running like dhcp, httpd, sntp, all running fine only until I added mqtt client. Then my application started to misbehave, looking into problems I found out that lwip needs for sure a core locking that ...
Search found 3 matches
- Thu Jun 17, 2021 2:19 pm
- Forum: Small Change Requests
- Topic: lwip timer and core locking
- Replies: 0
- Views: 8147
- Wed Mar 31, 2021 12:33 pm
- Forum: Bug Reports
- Topic: ChibiStudio 2020
- Replies: 18
- Views: 64560
Re: ChibiStudio 2020
To correct my self, I spoke about tcpip thread not lwip thread. But the idea is the same.
- Wed Mar 31, 2021 9:33 am
- Forum: Bug Reports
- Topic: ChibiStudio 2020
- Replies: 18
- Views: 64560
Re: ChibiStudio 2020
Just my observation to add into discussion. I too see stkunused = 0 for my lwip(1k stack) and shell(1k stack) thread in Debug 6.x.x plugin.
I did some testing:
1. When I increase lwip stack from 1k to 20k, I see lwip stkunused 16k. Shell stkunused ~800. Then I count by function other then 0x55 bytes ...
I did some testing:
1. When I increase lwip stack from 1k to 20k, I see lwip stkunused 16k. Shell stkunused ~800. Then I count by function other then 0x55 bytes ...