-
Notifications
You must be signed in to change notification settings - Fork 542
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
[Bug]: Long G-code replies can crash WiFi boards in standalone mode #1073
Comments
In addtion to the description above, the Duet is equipt with an PT100 daugther board. and today I was able to reproduce the WIFI Module stuck.
it took me some time to get it trigger this SPI conflict - i do often see
but rarly the SPI timeout - the Problem with the SPI timeout is that the printer won't recover, you need to power cycle the printer. Output of M122 after Power-Cycle
|
Ok, will take a look. |
Sending M122 twice in an single line reproduced the disconnection in 3.6beta3 on a duet 2 wifi for me |
Added extra parameter to OutputBuffer::Allocate to specify if the buffer to be allocated may be taken from the output buffer reserve. This is always true except if appending to an existing output buffer chain or when the request may be repeated without downsides. Also reduced the number of reserved output buffers to 2 on Duet 2 series
I have implemented a fix for a bug which could lead to the web server hanging up from multiple I have not yet checked if this has an impact on the reported SPI transfer errors but it is quite possible. |
@timschneider Here a new Duet 2 build. Please let me know if that resolves your connectivity problems. |
Added extra parameter to OutputBuffer::Allocate to specify if the buffer to be allocated may be taken from the output buffer reserve. This is always true except if appending to an existing output buffer chain or when the request may be repeated without downsides. Also reduced the number of reserved output buffers to 2 on Duet 2 series
Duet Forum Discussion Thread
https://forum.duet3d.com/topic/37322/3-6-0-beta-3-dwc-connection-issues-duet2-duex5
Which Duet products are you using?
Firmware Version
3.6.0-beta.3
Duet Web Control Version
3.6.0-beta.3
Are you using a Single Board Computer (RaspberryPi) with your Duet?
Please upload the results of sending M122 in the gcode console.
Please upload the content of your config.g file.
Please upload the content of any other releveant macro files.
Details specific to your printer.
No response
Links to additional info.
No response
What happened?
Three consecutive M122 calls (
M122 M122 M122
) make create issues with the SPI communication between RepRapFirmware and DuetWiFiServer:The text was updated successfully, but these errors were encountered: