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
Process:
  1. Connect to SSH of your OctoPi
  2. Update your repositories
    pi@octopi:~ $ sudo apt-get update
  3. Install avrdude
    pi@octopi:~ $ apt-get install avrdude
  4. Find the location of avrdude
    pi@octopi:~ $ which avrdude
    /usr/bin/avrdude

  5. Download the firmware file (Marlin-Ai3M-v1.4.6-stock_drivers.hex) from here (https://github.com/davidramiro/Marlin-Ai3M on the releases page)
  6. 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
  7. Click on the Wrench Icon at the top right
  8. Under "Plugins" click on "Firmware Updater"
  9. Beside "... from file" click on "Browse" and locate the file you downloaded in step 5
  10. Click on the wrench icon in the top right (Just above "Flash from File")
  11. In "Flash Method" select "avrdude (Atmel AVR Family)"
  12. In "AVR MCU" select ATmega2560
  13. In "Path to avrdude" enter the response from step 4 (/usr/bin/avrdude)
  14. In "AVR Programmer Type" select "wiring"
  15. Click "Save"
  16. Click "Flash from File"
  17. Wait for the process to complete
  18. Close the settings menu
  19. Power cycle your 3D printer
  20. Re-connect OctoPi to your 3D printer 
  21. Issue the following 2 commands in the Octoprint Terminal to reset the EEPROM
  • M502
  • M500
Validate you are running the expected firmware
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

Popular posts from this blog

Webex Support with Windows 7

Installing TinyCore 8x Linux to the Hard Drive via Command Line