silverreed-firmware (MathKnitting) errors
3 failures reported against silverreed-firmware (MathKnitting), sorted by how they fail and ranked by impact.
#250 by errors trackedEmbedded & firmware
Recurring silverreed-firmware (MathKnitting) errors, by impact
- 1For the ESP32-C3 board in an open knitting-machine controller (silverreed-firmware), the docs say the DC jack is enough to knit without USB. The firmware waits in while(!Serial) for a USB host, so on DC power alone it never reaches the main loop. It also only takes patterns over USB serial, so the documented setup couldn't work even if startup didn't hang.Embedded & firmware · Crash or hard error · 1 report66
- 2On the ESP32, needles are selected in the CCP interrupt, which can run while cnfLine() is updating the line. cnfLine() first clears the active buffer, then fills it with the new line. If a CCP edge happens between these two steps, the interrupt can read a cleared bit, which belongs to neither the old line nor the new one. It sets DOB LOW, and the needle can be selected incorrectly.Embedded & firmware · Crash or hard error · 1 report66
- 3The debug_esp32 diagnostic firmware can briefly turn off the solenoid power while the carriage is moving. manage_solenoid_power() reads the current time, then last_movement_ms. Between the two, the CCP interrupt can store a newer time. The unsigned subtraction then wraps around to a very large value, so the firmware behaves as if the carriage had been inactive for more than 2 seconds.Embedded & firmware · Crash or hard error · 1 report66
How it fails
Sourced from public community reports. Costs and delays on individual entries are modeled estimates, not measurements.