Upgrading to the Marlin firmware on the Anycubic Mega S
I recently started to try to use my 3D Printer again, and I decided to upgrade the firmware to the newest version of Marlin to use the mesh levelling system.
Pre-requisites
- Raspberry Pi with Octopi Installed
- Stock (IE: No hardware upgrades!) Anycubic Mega-S
- Atmega 2560 board (I would open the unit up and check the board yourself to make sure!)
- Some time on your hands
- Connect to SSH of your OctoPi
- Update your repositories
pi@octopi:~ $ sudo apt-get update - Install avrdude
pi@octopi:~ $ apt-get install avrdude - Find the location of avrdude
pi@octopi:~ $ which avrdude
/usr/bin/avrdude - Download the firmware file (Marlin-Ai3M-v1.4.6-stock_drivers.hex) from here (https://github.com/davidramiro/Marlin-Ai3M on the releases page)
- Install the Firmware Update plugin module on your Octopi if you have not already done so
- Click on the Wrench Icon at the top right
- Click on "Plugin Manager"
- Click on "Get More"
- Search for "Firmware Updater"
- Install it
- Click on the Wrench Icon at the top right
- Under "Plugins" click on "Firmware Updater"
- Beside "... from file" click on "Browse" and locate the file you downloaded in step 5
- Click on the wrench icon in the top right (Just above "Flash from File")
- In "Flash Method" select "avrdude (Atmel AVR Family)"
- In "AVR MCU" select ATmega2560
- In "Path to avrdude" enter the response from step 4 (/usr/bin/avrdude)
- In "AVR Programmer Type" select "wiring"
- Click "Save"
- Click "Flash from File"
- Wait for the process to complete
- Close the settings menu
- Power cycle your 3D printer
- Re-connect OctoPi to your 3D printer
- Issue the following 2 commands in the Octoprint Terminal to reset the EEPROM
- M502
- M500
You can validate the firmware version you are running by issuing M115 in the Octoprint terminal which should return something like this:
Recv: FIRMWARE_NAME:Marlin 1.1.9 (Github, davidramiro) MARLIN-AI3M_VERSION:v1.4.6
SOURCE_CODE_URL:https://github.com/davidramiro/Marlin-AI3M PROTOCOL_VERSION:1.0
MACHINE_TYPE:Anycubic i3 Mega EXTRUDER_COUNT:1
Comments