-
Notifications
You must be signed in to change notification settings - Fork 6.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32 usb networking stack threading issue #53989
Comments
These two statements are at odds with each other, civetweb was unmaintained for a few releases and was removed prior to the 3.2 release. Please fix your post |
@Coi-l Would you be able to share a project that could be used to reproduce the issue you're seeing? |
I'm not sure why you have such an aggressive tone. While I am new to zephyr community interactions I sincerely hope that your attitude is not representative for the rest of the community here. |
I can't share the full project. I will try to put together a smaller example. |
However, you should understand that you are probably reporting a bug in your project to upstream. There is no more support for civetweb, your description is very vague, and claims to be a bug in upstream. Please report it so that it can be reproduced with few changes in the tree, without external dependencies (like civetweb). @erwango +1 to move to discussion. |
I understand that. I am very open for the possibility that it is a bug in my own project/civetweb integration. However the behaviour I saw at least in my opinion hinted at a bug somewhere in the stm32 networked usb stack. |
ok, moving to discussion until a genuine upstream bug is characterized |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
I am using RNDIS/ECM on an stm32 nucleo-h743zi2 board.
I am using civetweb as a webserver.
I have a html page which in turn loads a number of other javascript files.
When I am using only 1 worker thread in civetweb everything works perfectly, but a bit slow due to only one thread.
When I try to increase this to 2 or more threads I get decoding/loading issues on the files that are loaded after the first html file is loaded. The files are corrupt and can't be completely unpacked by the browser.
When I try the same but using the RJ45 connection and normal ethernet driver on the same board it works perfectly.
I can make the USB connection work by adding a lot of debug logs while sending the data.
I've tested the USB connection on a nrf board where it works without issue.
This leads me to believe it is a problem with the thread safety of the usb networking stack on the stm32 platform.
To Reproduce
See above
Expected behavior
Pages should be sent without error
Impact
showstopper
Logs and console output
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: