What happened?
The printer is showing the message "Reading ESP firmware failed."
Error name: ESP Error
Error code: #26504 (MK4S) #13504 (MK4) #21504 (MK3.9) #23504 (MK3.5)
On the Original Prusa MK4/MK3.9/MK3.5, the xBuddy board can be extended with a Wi-Fi module. The error is triggered when the xBuddy does not correctly find or read the firmware installed on the Wi-Fi module, needed to achieve Wi-Fi connectivity.
How to fix it?
Re-flash firmware
The firmware needed for the Wi-Fi module is included in the MK4S/MK4/MK3.9/MK3.5 firmware file. Download the firmware and if necessary the bootloader, and transfer it to your USB drive. Make sure to unmount the drive from your operating system before physically removing it.
Insert the USB drive back into the printer and reboot the printer using the reset button directly next to the knob to initiate the flashing procedure. In case the procedure does not start, reboot the printer again by pressing the same reset button, and while the printer is booting up, press once the rotating knob.
The printer will let you know when the flashing is done. When installing the bootloader along with the firmware, it may take several minutes.
A visual inspection
Access the xBuddy board by loosening the four screws in the below picture, and inspect it for any visible damage.
![](https://cdn.help.prusa3d.com/wp-content/uploads/2023/04/754b36a4adbfe826a6b9387094c2c9f4_painted.jpeg)