Flashing the MCU without a MicroSD (Old Method) - OpenNeptune3D/OpenNept4une GitHub Wiki
- Printer’s MKS/Elegoo mainboard accessible
- Sharp metal tweezers (for bridging)
-
Locate the unpopulated BOOT switch pads next to the RESET button on the mainboard.
You will bridge these pads later. -
Power the printer on with the mainboard still accessible.
-
SSH into the printer:
ssh mks@<printer_ip>- Update packages and install
stm32flash:
sudo apt update
sudo apt install stm32flash- Launch OpenNeptune:
opennept4une-
In the menu choose:
4) Update MCU & Virtual MCU Firmware→1) STM32 -
Wait for the compilation to finish.
When prompted, ignore any extra notes and type y.
Leave the printer powered on. -
Exit OpenNeptune (type
q⏎). -
Stop Klipper:
sudo service klipper stop-
Enter bootloader mode
a) Bridge the BOOT pads with tweezers.
b) While bridged, press the RESET button.
c) Release RESET, then remove the bridge. -
Flash the firmware:
stm32flash -w ~/printer_data/config/Firmware/X_4.bin -v /dev/ttyS0- Firmware should now be updated.
If flashing fails, repeat Step 10 & 11 until it succeeds.