Page 1 of 1

gen6 X-axis doesn't move with marlin and repetier

Posted: Wed Nov 13, 2013 12:15 am
by evil333
Hello.

I have a problem with gen6 electronics that I bought from you. The problem is that on marlin and repetier firmware the X-axis doesn't move.
There was some kind of testing program there before I installed bootloader. Though I don't remeber if X-axis moved or not.

Could you give this program to me (and the instruction how to install it - I'm not very good with arduino programming)? So that I can check if the problem is in the board or in the firmware I use.
Also - is there any difference between circuit of this board and the circuit given in reprap wiki? (http://reprap.org/mediawiki/images/0/0f ... ircuit.pdf).

Thanks in advance.

Re: gen6 X-axis doesn't move with marlin and repetier

Posted: Thu Nov 14, 2013 2:35 am
by evil333
Dear techsupport,

please answer my post.

Re: gen6 X-axis doesn't move with marlin and repetier

Posted: Thu Nov 14, 2013 9:17 am
by jack
repetier is software but firmware.

Re: gen6 X-axis doesn't move with marlin and repetier

Posted: Thu Nov 14, 2013 9:23 am
by jack
you must install bootloader before download firmware.

this is the circuit :http://www.geeetech.com/wiki/index.php/File:Gu.pdf

any other problems please prefer to :http://www.geeetech.com/wiki/index.php/ ... lectronics

Re: gen6 X-axis doesn't move with marlin and repetier

Posted: Thu Nov 14, 2013 12:17 pm
by evil333
Hello. Thanks for your reply jack.

Yes, I know about bootloader and it is already installed.

I meant that on both marlin firmware and on repetier firmware I have the same problem - X-axis is not moving. But Y-axis and Z-axis are moving fine.

My theory is that some pins for X-axis are configured in the wrong way.

The circuit you gave me is for ATMEGA644A, but on the board I see ATMEGA644P. Are you sure there is no difference between them?

Thanks in advance, Matthew.

Re: gen6 X-axis doesn't move with marlin and repetier

Posted: Fri Nov 15, 2013 11:20 am
by evil333
SOLVED

The problem was in JTAG using some of X-axis pins.

Turned off JTAG via avrdude:
cd C:\<path_to_your_arduino_ide>\hardware\tools\avr\bin
avrdude -p m644P -c usbasp -t -C C:\<path_to_your_arduino_ide>\hardware\tools\avr\etc\avrdude.conf

In interactive window.
First read the current hfuse:
avrdude> d hfuse

For me it was 0x9A - it is 10011010 in binary. Bit 7 (second from the left) is JTAG_EN: 0 - on, 1 - off. It is on by default.
So I've changed bit 7 to 1: 11011010 = 0xDA

And the wrote it:
w hfuse 0 0xDA

That's it. Afteer this X-axis began functioning for me.

Re: gen6 X-axis doesn't move with marlin and repetier

Posted: Wed Nov 20, 2013 5:34 pm
by jack
ok,Thank you for your efforts.