Tuesday, May 28, 2013

Marlin on Gen6.d - part 2


Please be careful with uploading firmware to your board. If you do not know what you are doing please consult someone with experience! Use at your own risk!

To upload firmware to the Gen6.d board you need the following:
  • The Arduino IDE
  • Sanguino dirvers
  • FTDI Drivers
  • Marlin firmware for Gen6.d
Most post on forums suggest the best working version of the Arduino IDE combined with the sangiuno drivers is a pre V1 version ( example: 0023 ). This also worked for me instead of newer versions where I usually got the message:

avrdude stk500_getsync() not in sync resp=0xd7

avrdude not in sync
All sorts of solutions are provided on the internet but the best solution seems to be to just get the 0023 verison of the arduino IDE. The only problem for the sugested Marlin firmware is it won't compile if you use a pre v1 version of the Arduino IDE. If you do you'll get the following errors:


In file included from Marlin.h:37, 

from cardreader.cpp:1: 

MarlinSerial.h:149: error: expected ',' or '...' before '&' token 

MarlinSerial.h:149: error: ISO C++ forbids declaration of 'String' with no type 

MarlinSerial.h:168: error: expected ',' or '...' before '&' token 

MarlinSerial.h:168: error: ISO C++ forbids declaration of 'String' with no type 

MarlinSerial.h: In member function 'void 

MarlinSerial::print(int)': 

MarlinSerial.h:151: error: 's' was not declared in this scope 

cardreader.cpp: In constructor 'CardReader::CardReader()': 
cardreader.cpp:28: error: 'millis' was not declared in this scope 
cardreader.cpp: In member function 'void CardReader::checkautostart(bool)': 
cardreader.cpp:422: error: 'millis' was not declared in this scope


compiling errors
With the help of a Japanese Yahoo site I managed to strip the Sanguino drivers out of a Windows based Arduino IDE V1.02 and make an OSX version of it. I also included the Windows version in this post as some of you might not be a Mac user like me! 

Below you can download version v1.02 of the Arduino IDE which I have prepared with the Sanguino drivers. This package works with the adopted Marlin firmware for the Portabee printer with the Gen6.d board ( OK-PCB-0021-B1 ). 

Arduino 1.02 with Sanguino Drivers

Operating System Info Location
Windows 7 / VistaFTDI drivers in subfolderDownload
Mac OSXFTDI as separate file includedDownload





For now this is the end of the post. I will continue the story in "Marlin on Gen6.d - Part 3"



No comments:

Post a Comment