Tuesday, March 10, 2020

Getting Marlin 2.0.x to work with Anet A8 and Ramps 1.4

Requirements: 

  • Prusa i3 or similar clone printer 
  • Ramps 1.4 board with Rep Rap Discount Full Graphic LCD Smart controller 
  • Arduino IDE v 1.8.12 from Windows Store 
  • Marlin v 2.0.4.4 
  • You can try other variations, but I am no guru on any of this so I cannot advise further. This is just what I got to work, through much trial and error.  

Problem 1: Display is garbled.
Solution: Do the suggested edit by "Coolision" found on https://github.com/MarlinFirmware/Marlin/issues/15391

just spent some hours on it as wel, found a fix for marlin 2.0, in the file src/lcd/dogm/ultralcd_DOGM.h on line 54 (you'l see somewhere above that line a comment saying RepRap Discount Full Graphics Smart Controller) change the line from #define U8G_CLASS U8GLIB_ST7920_128X64_RRD to #define U8G_CLASS U8GLIB_ST7920_128X64_1X that worked for me

Problem 2: Display reads "EEPROM version mismatch"
Solution: Do the suggested edit by "Roxy-3D" found on https://github.com/MarlinFirmware/Marlin/issues/12860

Doing a M502 followed by a M500 should resolve any EEPROM version mismatch...

Your mesh data for bed leveling will be preserved. But any other changes to your configuration values will be reset.

Note: This also fixed a CRC error being thrown during compile.

Problem 3: The endstops and motor directions are all screwed up and inverted from the identical mechanical setup that worked on Marlin 1.9
Solution: Currently working on it and will share my configuration.h file when I get it sorted out.

That is all for today...