Uploading Techzone Gen 3 Mendel Firmware

Uploading firmware for the Mendel generation 3 electronics is documented, but tends to be written for 2010. Things have changed a bit since then and this post describes the steps to upload firmware to the RepRap MB v1.2 Techzone Remix board. Uploading firmware for the extruder controller is not discussed, as our Mendrel does not use the extruder controller.

Extract arduino and reprap to wherever you like. Extract Sanguino and move it to arduino-0018/hardware/Sanguino.

Go to <reprap>/mendel/firmware/FiveD_GCode/FiveD_GCode_Interpreter. Make a copy of Configuration.h.dist to Configuration.h. Open up arduino. Open <reprap>/mendel/firmware/FiveD_GCode/FiveD_GCode_Interpreter/FiveD_GCode_Interpreter.pde Configuration file tab. Because of how the motor is setup we need to invert the direction of the Z axis. This can be done in the configuration file by setting:

#define INVERT_Z_DIR 0


#define INVERT_Z_DIR 1

Set Tools -> Board -> Sanguino. Set the port to the correct serial port (usually /dev/ttyUSB0 for Linux and something like COM5 for windows).

When you upload using Arduino, you need to make sure to press the reset button immediately after seeing Binary sketch size:. You cannot hold it and then let go, you need to press the reset button.

If you do not get it , you will end up with:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

If you hit the reset button at the correct time the red LED will start flashing and eventually Arduino will produce “Update Done”. The firmware should be ready to go.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s