Welcome! Log In Create A New Profile

Advanced

Gen7 20MHz running Marlin firmware?

Posted by Phizinza 
Gen7 20MHz running Marlin firmware?
January 16, 2013 10:21PM
Is there anyone out there running Marlin firmware on 20MHz Gen7 electronics?

Does it work, any problems/limitations?
Re: Gen7 20MHz running Marlin firmware?
January 17, 2013 03:32AM
Hi Phizinza!
Yes I do;
There are some points you have to consider to get it running :
- Use the GEN7 Arduino files which come with Marlin (otherwise you'll get compile errors)
- Till Gen7 v1.4.1 there is a hardware issue (wrong coil was used) which might lead to brown-outs. You could either change L1 from 100uH to an 10uH coil , or try to set your brown out detection from 4,3V to 2,7V. Both solutions worked in my case. (Gen7 v1.4.1)


In my case I haven't noticed any other limitations with marlin.
Re: Gen7 20MHz running Marlin firmware?
January 18, 2013 03:55AM
Thank you!

I'm using a 1.3.1 board but I suppose I could upgrade..
Re: Gen7 20MHz running Marlin firmware?
January 29, 2013 10:30PM
Looking in the Marlin firmware config file I'm having trouble figuring out what I need to set and change...

First issue is the define temp sensors section.
I am to assume temp sensor 0 is the hot end on my gen7 board?
The thermistor I used on my heat bed is not in the list. Do I just have to add the table to the thermistortables.h as another number and then choose that number in configuration.h for the temp_sensor_bed?

Next endstops...
I only use the min endstops on my gen7, do I comment out the define endstoppullup max options?
Why is the min endstop for Z axis already commented out?

Thanks!
Re: Gen7 20MHz running Marlin firmware?
March 02, 2013 08:18PM
I've got marlin compiled and uploaded to the 1.3.1 board, with the 10uH inductor. I have a problem with the thermistors, they read quite low (-23c) when I issue the M80 to start the PSU (still haven't done the insulated thermistor standby by power mod so I have to start the PSU before Marlin lets me do anything due to the safety cuts with temps. But the only thing I can get marlin to do is move the Y and X axes 6 to 7mm at a time and it only does that when I press the home button in Pronterface..? No other buttons work or do anything. And the movement is only away from the end stops...?

Any idea where I have gone wrong?
Re: Gen7 20MHz running Marlin firmware?
March 03, 2013 06:43AM
Are your endstops working properly? In standard configuration Marlin insists on them and reports their status with M119.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 20MHz running Marlin firmware?
March 03, 2013 08:01PM
Printer works fine with teacup, although I have reversed the end stops on x and y to the other sides.
Re: Gen7 20MHz running Marlin firmware?
May 18, 2013 06:03PM
Since the topics here, i have a question regarding marlin.

I have managed to upload firmware (Arduino 1.0) after coil change, and everything seems to work except thermistors (temperature is 0), heaters and extruder motor.

My specs:

-Gen7 1.41 with ATmega 1284p 20MHz
-Optical endstops

Thank you in advance.

Edited 2 time(s). Last edit at 05/18/2013 06:05PM by len24.
Re: Gen7 20MHz running Marlin firmware?
May 18, 2013 08:44PM
Have you calculated your tables using the generator from the Marlin firmware? That's what I had to do.
Re: Gen7 20MHz running Marlin firmware?
May 18, 2013 09:55PM
No i didnt. My hotend has little info on thermistor ( just that its 100k) and HPB thermistor is NTC 100k.

Just now i have noticed that HPB heater led lights up and IRLB8743 is smoking ! Temperatures still zero.

Besides that, dont understand why extruder motor isnt working.
Re: Gen7 20MHz running Marlin firmware?
May 18, 2013 11:01PM
Marlin won't run the extruder motor while the hotend is cold. You should be getting messages about 'cold extrusion prevented'.

But I'd be more worried about that smoking mosfet. You'll need to replace that, for starters. Get the thermistors working before you do anything else.
Re: Gen7 20MHz running Marlin firmware?
May 18, 2013 11:10PM
Didnt report no such thing. Well i am worried because it hasnt done it before, not in teacup and not after couple of seconds. Configured pins according to this (https://github.com/ErikZalm/Marlin/blob/1a18a487f972880ef64e7787f99d6276f16291a9/Marlin/pins.h)

Thought it would work right away.

Think its burned out, unusable? Right now not sure how i would get thermistors working..but that is my goal.

Edited 2 time(s). Last edit at 05/18/2013 11:18PM by len24.
Re: Gen7 20MHz running Marlin firmware?
May 19, 2013 07:24AM
Quote

Just now i have noticed that HPB heater led lights up and IRLB8743 is smoking !

You managed to get this fat MOSFET smoking? That means you hooked up a bed before checking wether the MOSFET is working.

I'd guess your pinout is wrong. The MOSFET I/O pin isn't served at all by the ATmega, accordingly the voltage on this pin is floating. You should ensure the LED lights up in accordance to the heater commands given (M140 S80 vs. M140 S0). If that works, hook up the bed.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 20MHz running Marlin firmware?
May 19, 2013 12:05PM
Well, that is the problem. When i connect gen7 with marlin hpb heater led is lit all the time.
In fact, even when i upload teacup heater led is lit up.

Oh dear, have gotten myself in deep trouble.

Edited 1 time(s). Last edit at 05/19/2013 12:09PM by len24.
Re: Gen7 20MHz running Marlin firmware?
May 19, 2013 12:45PM
No, does not respond to M140 S80 and M140 S0. Just stays always lit.
Re: Gen7 20MHz running Marlin firmware?
May 19, 2013 09:56PM
As last resort i downloaded fresh copy of marlin v1 from github.

Didnt mess with pins.h, uploaded and now extruder heater and thermistor is working, but no such luck with heatbed (still zero, no matter which thermistor i chose from the list).

Still wondering what went wrong with previous upload?
Did everything per instruction except, when i now cross reference config.h, swapped 0 and 1 pin in temps....

Edited 1 time(s). Last edit at 05/19/2013 10:16PM by len24.
Re: Gen7 20MHz running Marlin firmware?
May 20, 2013 06:33AM
Can you measure the voltage on R11/R12? Doesn't matter which side of it. It should be 0V with heater off, 5V with heater on. If that happens, but the LED still doesn't light, the MOSFET needs replacement.

You could also use SetupTest.ino to check the MOSFETs. Very simple to configure, see the first lines of its source code.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 20MHz running Marlin firmware?
May 22, 2013 10:35AM
Traumflug Wrote:
-------------------------------------------------------
> Can you measure the voltage on R11/R12? Doesn't
> matter which side of it. It should be 0V with
> heater off, 5V with heater on.

I did measure and it is.


> If that happens, but the LED still doesn't light, the MOSFET needs
> replacement.

As soon as i connect in repetier host bed heater LED is on.
Doesn´t matter if the heater is on/off, it just always stays lit.
Re: Gen7 20MHz running Marlin firmware?
May 23, 2013 07:00AM
Quote

I did measure and it is.

It is what? 0V or 5V or does it change depending on the G-code sent? In case it's always 5V it might be a burned ATmega pin. You can try to use one of the remaining pins. Requires cutting the regular track on the PCB, the re-soldering it to the new pin.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 20MHz running Marlin firmware?
May 23, 2013 09:23AM
Heater off 0V

Heater on 5V
Re: Gen7 20MHz running Marlin firmware?
May 24, 2013 06:54AM
Quote

Heater off 0V

Heater on 5V

Then your MOSFET is damaged and needs replacement. Next time you experiment with firmware, please disconnect the load (heated bed) until you see the LEDs working as expected.

... and I guess Gen7 v1.6 gets a pull-down resistor for those few minutes in its life it runs without proper firmware.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 20MHz running Marlin firmware?
June 12, 2013 07:50AM
Replaced MOSFET, but now all of a sudden none of the motors are working. Theres no movement on any axis.

For me, this marlin firmware is like a pandoras box.
Re: Gen7 20MHz running Marlin firmware?
June 14, 2013 06:06AM
Does the firmware its self still work, can you still communicate with it, does M114 report position changes?


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 20MHz running Marlin firmware?
June 14, 2013 11:26AM
Yes it does, i can connect in repetier and pronterface.

Extruder heater and its thermistor work, heatbed thermistor still shows zero temp but heater LED light goes on and off at command (after MOSFET replacement).

M114 reports position changes on all axis except it doesnt report homing movement on X.

Strange enough, motors were working fine until i replaced burnt out MOSFET.
Now they dont work at all. Not in Marlin and not in Teacup also.

Edited 1 time(s). Last edit at 06/14/2013 11:26AM by len24.
Re: Gen7 20MHz running Marlin firmware?
June 26, 2013 01:34AM
I am running Marlin on Gen7 1.4.1. Its fast heating the extruder and the bed, faster then my RAMPS. So far so good, but it just few small prints yet
Sorry, only registered users may post in this forum.

Click here to login