Firmware flashing fails: avrdude won't connect

While trying to flash the firmware of my S10 over to the version that supports limit switches, I’m not able to connect. A console pops up, and after a few seconds essentially says it can’t talk to the laser:

avrdude.exe: stk500_recv(): programmer is not responding
avrdude.exe: stk500_getsync(): attempt 1 of 10: not in sync: resp=0x7e

…and then it tries 9 more times, and quits, saying it couldn’t flash the firmware.

I’ve tried the basic things you’d try if this were a stubborn Arduino refusing to be programmed: I’ve double checked the COM port, reseated the USB cable, moved the USB cable to a different port on the computer, power cycled the computer and the laser, and tried using a different computer. The error message remains the same.

Anyone familiar with this bug and how to get past it?

You can’t flash the S10 mainboard with avrdude. It’s not a 8bit-board. It’s a 32bit ESP32 board. The easiest way is to use the MKS firmware flash tool. And make sure to select the proper firmware for the S10.
Here is a full guide with all tools included: Firmware Update & Settings - Diode Laser Wiki

1 Like