reprappro / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
46 stars 66 forks source link

Legacy #19

Open mrgmatthews opened 10 years ago

mrgmatthews commented 10 years ago

I currently have inherited a Melzi with an atmega644.

Would like to use 1.0.5 Arduino software to fix the firmware.

Currently this only seems to support the newer after the support for Arduino v1 later for the more powerful chip.

Boards.txt, could I use the old hex files for this as a work around and including (updated fuse settings) for the board?

RRP-support commented 10 years ago

Hi Generally, the Atmega644-based boards are not very reliable; see: http://reprap.org/wiki/Melzi#Melzi_Version_1.0_.28Ardentissimo.29 Their smaller memory is a bit of a problem, as our current firmware takes up a bit more than 64K (about 78.5K). It can fit, but you have to turn off SD card support. Do this by commenting out line 403 in https://github.com/reprappro/Marlin/blob/master/Marlin/Configuration.h Compiling the firmware then brings it to just over 61K. You may be able to turn off other features instead, but this is the easiest. However, as always when printing over USB, this is generally more unreliable. Another option is to replace the Arduino chip yourself. You’ll need access to surface mount soldering equipment to repair it. Atmel ATMEGA1284P-AU chips are available from reputable sources such as Farnell for around £7 ex VAT, or from less reputable sources such as ebay. The chip will come completely empty; you’ll have to flash the bootloader with an AVR programmer before you can flash the firmware. See: http://reprap.org/wiki/Melzi#Bootloader_Upload I hope that helps. Ian RepRapPro tech support