Friday, May 31, 2013

Marlin on Gen6.d - Part 3

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!

This is the end of an 3 part story about uploading firmware on you Gen6.d motherboard by "romscraj". The two other parts can be viewed at the following locations:

Part OneLink
Part TwoLink

Now finally you have managed to secure yourself a working version of the Arduino IDE with the Sanguino drivers. Only the firmware remains now! Before you continue please take note of the warning on the top of the page! I really would hate to see you ruining your board because of this.

I've shared a location on my google drive to share you the firmware! The Marlin firmware is preconfigured to work with the Gen6.d PCB version B1 ( OK-PCB-0021-B1 ). If you have this PCB version, the one with a ATMEGA644PA, it will probably work. If you have another motherboard version you will probably be better of with the provided firmware on the "romscraj" github page ( link )

Prepared Marlin Firmware for Gen6.d ( OK-PCB-0021-B1 )

If you have a look in the pins.h file you can see the comment says is has been adopted for a different pin layout! To look at pins.h extract the zip to a destination on your computer. Next start the program "" ( for OSX ) discussed in the previous article of this series ( link ) and open "Marlin.ino".
Select the sketch "Marlin.ino"
Then go to tab "pins.h" by selecting under the arrow in the upper right corner. Here, at the pin assignments of motherboard number 65 you will see the following comment added in this Marlin firmware:

// romscraj gen.d revision B1 pin assignment
Tab "pins.h" in the Marlin firmware sketch

Now the only thing left to do is select the correct board and correct port under the tools option. This will be Sanguino W/Atmega664P and the corresponding port on OSX or Windows. If you do not know which port this is go to ( for Mac OSX )  "About this mac" under the apple sign in the upper left corner of your screen. Then select "More Info...". You will see a similar screen:

The "More Info..." screen
Click the "System Report" button and go to the USB tab. If your printer is connected and has power you will find a device with the name "FT232R USB UART". If you select this you will be able to see the serial number ( string ), in this case:"AM01S70X".

Overview device "FT232R USB UART".

This Serial number will correspond in some way with the port name available for selection under the "Tools" menu option in "". If it doesn't show up in the "Tools" menu there probably is a different problem. If this happens you could try to solve the problem by reinstalling the drivers and checking if the main power-cord hasn't come loose at the connector where it connect's to the board ( happened to me once and it took me an hour to figure it out )

Serial port selection in
The motherboard is preselected as can be viewed in the "configuration.h" tab. It is possible to adjust some acceleration and feedrate options but the printer will print good enough for a first run. If everything works out "LED1" on the board will start flashing and eventually you should get "Done uploading" in the Arduino screen when you press the upload button ( Second button upper right corner in the screen ).