Repetier for RostockMax and RAMBO
Re: Repetier for RostockMax and RAMBO
I just read through all these posts. Seems like everyone is going to repetier firmware, repetier host, and kisslicer.
Spent the last couple days going through the forum planning out what I needed for my build.
So hopefully I've got everything I need for the software side of this. I'm no software guru so some of this jargon doesn't click with me. I'm not 100% about how the github works either when downloading and installing firmware, plus understanding what's inside the firmware to make changes.
glad there is forum for this and people on here that know how to these things work. I'm sure i'm gonna run into some problems. These were my concerns initially when purchasing the rostock kit.
I hope u guys aren't planning any long vacations anytime soon... imma need your support.
Spent the last couple days going through the forum planning out what I needed for my build.
So hopefully I've got everything I need for the software side of this. I'm no software guru so some of this jargon doesn't click with me. I'm not 100% about how the github works either when downloading and installing firmware, plus understanding what's inside the firmware to make changes.
glad there is forum for this and people on here that know how to these things work. I'm sure i'm gonna run into some problems. These were my concerns initially when purchasing the rostock kit.
I hope u guys aren't planning any long vacations anytime soon... imma need your support.
My rostock build log http://forum.seemecnc.com/viewtopic.php?f=42&t=1228
- daftscience
- Printmaster!
- Posts: 205
- Joined: Sun Jan 13, 2013 12:37 pm
Re: Repetier for RostockMax and RAMBO
cambo3d wrote:I just read through all these posts. Seems like everyone is going to repetier firmware, repetier host, and kisslicer.
Spent the last couple days going through the forum planning out what I needed for my build.
So hopefully I've got everything I need for the software side of this. I'm no software guru so some of this jargon doesn't click with me. I'm not 100% about how the github works either when downloading and installing firmware, plus understanding what's inside the firmware to make changes.
glad there is forum for this and people on here that know how to these things work. I'm sure i'm gonna run into some problems. These were my concerns initially when purchasing the rostock kit.
I hope u guys aren't planning any long vacations anytime soon... imma need your support.
https://www.youtube.com/watch?v=r059aWPsoJ4
https://www.youtube.com/watch?v=QyDwYAnvG0I
Hope that helps you out.
Re: Repetier for RostockMax and RAMBO
That just helped me out, thanks!
"Now you see why evil will always triumph! Because good is dumb." - Spaceballs
Re: Repetier for RostockMax and RAMBO
Just wonder about stopping bug, so if I put my gcode on SDcard and run it from there it shouldn't stop since its related to USB connection. Is that correct?
Re: Repetier for RostockMax and RAMBO
I think Highcooley also had a problem doing that too. Check back on his recent posts about this.
Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art
Start Here:
A Strategy for Successful (and Great) Prints
Strategies for Resolving Print Artifacts
The Eclectic Angler
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
I think the bug is related to errors and the binary protocol in Repetier, forcing the ASCII protocol might fix it.
I can actually do a copy of the problematic file to the SDCard using Repetier host if I use the ASCII protocol, using the Binary protocol it quickly freezes the connection.
The Binary protocol uses a single bit to identify binary commands and I suspect this is where the issue lies if that bit is corrupted then it interprets it as ASCII and it seems the protocol gets out of sync and never recovers.
As an aside, the error rate to the RAMBO board also seems a lot higher than I would expect, I just tried one of the suggestions from the repetier author which was to hit the EStop button after starting repetier host, apparently this toggles the DTR line which shouldn't matter, but apparently does since it dramatically reduces the error rate at least at first glance.
I can actually do a copy of the problematic file to the SDCard using Repetier host if I use the ASCII protocol, using the Binary protocol it quickly freezes the connection.
The Binary protocol uses a single bit to identify binary commands and I suspect this is where the issue lies if that bit is corrupted then it interprets it as ASCII and it seems the protocol gets out of sync and never recovers.
As an aside, the error rate to the RAMBO board also seems a lot higher than I would expect, I just tried one of the suggestions from the repetier author which was to hit the EStop button after starting repetier host, apparently this toggles the DTR line which shouldn't matter, but apparently does since it dramatically reduces the error rate at least at first glance.
Printer blog http://3dprinterhell.blogspot.com/
- daftscience
- Printmaster!
- Posts: 205
- Joined: Sun Jan 13, 2013 12:37 pm
Re: Repetier for RostockMax and RAMBO
Is there a way to force ascii in the firmware? I'm having connection issues if I use any other host. However, those hosts work fine if I am running marlin.
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
No the selection is in the host software, it's in the printer setup, it defaults to auto, you can force binary or ascii.daftscience wrote:Is there a way to force ascii in the firmware? I'm having connection issues if I use any other host. However, those hosts work fine if I am running marlin.
It doesn't change anything in the firmware, when repetier sends a binary command it sets the first bit of the packet to denote it as not ASCII, the firmware just checks the bit for every command.
In fact I think this is the issue here, if the first bit of the command it corrupt it changes which path it is using.
When you say you have comms erros with other hosts what sort of errors?
Printer blog http://3dprinterhell.blogspot.com/
- daftscience
- Printmaster!
- Posts: 205
- Joined: Sun Jan 13, 2013 12:37 pm
Re: Repetier for RostockMax and RAMBO
Polygonhell wrote: No the selection is in the host software, it's in the printer setup, it defaults to auto, you can force binary or ascii.
It doesn't change anything in the firmware, when repetier sends a binary command it sets the first bit of the packet to denote it as not ASCII, the firmware just checks the bit for every command.
In fact I think this is the issue here, if the first bit of the command it corrupt it changes which path it is using.
When you say you have comms erros with other hosts what sort of errors?
Thanks, I'm still not completely familiar with the protocol. So in ASCII the first bit is always 0? The problems happen when I start to print. I can connect just fine, make manual moves, set the temps etc. In repetier-server when I start a print job it sends a bunch of commands and says "Print completed" in less than 1 second. In octoprint, same thing. Everything goes fine till I print. 3 or 4 lines will send then it says "Expected line 5 got line 4" I've played with the "#define ACK_WITH_LINENUMBER" setting but didn't notice any difference.
- daftscience
- Printmaster!
- Posts: 205
- Joined: Sun Jan 13, 2013 12:37 pm
Re: Repetier for RostockMax and RAMBO
Bit of an update. Commenting out the #define WAITING_IDENTIFIER and leaving the ACK_WITH_LINENUMBER uncommented seems to work IF I send M111 S1... I'm trying to figure out why.
-
- Printmaster!
- Posts: 121
- Joined: Sun Nov 18, 2012 10:23 am
Re: Repetier for RostockMax and RAMBO
Yup, I had the same issue printing via USB or from the SD card.gabrielk wrote:Just wonder about stopping bug, so if I put my gcode on SDcard and run it from there it shouldn't stop since its related to USB connection. Is that correct?
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
The SDCard issue is a bit odd, there is definitely an issue with the binary protocol and high error rates over USB, a fix was just posted and I'll try and integrate it into my build tonight.Highcooley wrote:Yup, I had the same issue printing via USB or from the SD card.gabrielk wrote:Just wonder about stopping bug, so if I put my gcode on SDcard and run it from there it shouldn't stop since its related to USB connection. Is that correct?
I don't know I'll have a chance to dry run your GCode to verify the fix tonight though.
There is a contributing issue in it seems that for some reason if the DTR line on the arduino is left high the RAMPS board seems to throw a LOT of USB errors, maybe this is also affecting the SDCard, that you can work around by pushing the EStop button in repetier host after initially connecting, and from my trivial test it's the difference between no errors in 2M+ lines and several thousand errors.
Printer blog http://3dprinterhell.blogspot.com/
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
OK I just merged the latest changes into my firmware drop.
HOWEVER you should use the master branch, not the development branch that was being used previously.
I've done minimal testing, LCD still works, and the first print I ran completed.
https://github.com/polygonhell/Repetier-Firmware
HOWEVER you should use the master branch, not the development branch that was being used previously.
I've done minimal testing, LCD still works, and the first print I ran completed.
https://github.com/polygonhell/Repetier-Firmware
Printer blog http://3dprinterhell.blogspot.com/
Re: Repetier for RostockMax and RAMBO
kool, i was holding off until this bug was fixed. thanks for the info
My rostock build log http://forum.seemecnc.com/viewtopic.php?f=42&t=1228
-
- Printmaster!
- Posts: 121
- Joined: Sun Nov 18, 2012 10:23 am
Re: Repetier for RostockMax and RAMBO
I'm looking forward to test the fix. However, this has to wait a couple of days as I'm off over the weekend.
- Eaglezsoar
- ULTIMATE 3D JEDI
- Posts: 7185
- Joined: Sun Apr 01, 2012 5:26 pm
Re: Repetier for RostockMax and RAMBO
We all owe you thanks for your help and time to get this fixed. Thanks!Polygonhell wrote:OK I just merged the latest changes into my firmware drop.
HOWEVER you should use the master branch, not the development branch that was being used previously.
I've done minimal testing, LCD still works, and the first print I ran completed.
https://github.com/polygonhell/Repetier-Firmware
Carl
Re: Repetier for RostockMax and RAMBO
I'm getting an error when compiling this in Arduino 1.0.2
'DIO34_WPORT' was not declared in this scope
I'm getting tons of Repetier.h and commands.cpp errors thrown.
I've done the previous version by PolygonHell with no problems. Anyone know what's going on?
'DIO34_WPORT' was not declared in this scope
I'm getting tons of Repetier.h and commands.cpp errors thrown.
I've done the previous version by PolygonHell with no problems. Anyone know what's going on?
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
What version of arduino tools are you using?theverant wrote:I'm getting an error when compiling this in Arduino 1.0.2
'DIO34_WPORT' was not declared in this scope
I'm getting tons of Repetier.h and commands.cpp errors thrown.
I've done the previous version by PolygonHell with no problems. Anyone know what's going on?
Printer blog http://3dprinterhell.blogspot.com/
Re: Repetier for RostockMax and RAMBO
Arduino 1.0.2
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
I'm using 1.0.3 and not seeing errors just to confirm you are using the master and NOT the development branch?
Printer blog http://3dprinterhell.blogspot.com/
Re: Repetier for RostockMax and RAMBO
I think it's the Master
1. https://github.com/polygonhell/Repetier-Firmware
2. Branch set to "master"
3. Download ZIP
4. ????
I'll try the next .1 v of Arduino.
1. https://github.com/polygonhell/Repetier-Firmware
2. Branch set to "master"
3. Download ZIP
4. ????
I'll try the next .1 v of Arduino.
Re: Repetier for RostockMax and RAMBO
Same result with Arduino 1.0.4
-
- ULTIMATE 3D JEDI
- Posts: 2430
- Joined: Mon Mar 26, 2012 1:44 pm
- Location: Redmond WA
Re: Repetier for RostockMax and RAMBO
If I get chance later I'll try downloading and building the zip, but Git doesn't show any differences to what's on my machine.
Are you using a PC or Mac?
Are you using a PC or Mac?
Printer blog http://3dprinterhell.blogspot.com/
- daftscience
- Printmaster!
- Posts: 205
- Joined: Sun Jan 13, 2013 12:37 pm
Re: Repetier for RostockMax and RAMBO
theverant wrote:I'm getting an error when compiling this in Arduino 1.0.2
'DIO34_WPORT' was not declared in this scope
I'm getting tons of Repetier.h and commands.cpp errors thrown.
I've done the previous version by PolygonHell with no problems. Anyone know what's going on?
In arduino click "Tools -> Board -> Arduino Mega 2560"
I just changed from that to UNO and I got the same DIO34_WPORT error.
Re: Repetier for RostockMax and RAMBO
Derp. That's what I get for using Arduino for other things besides upload firmware to my Max.daftscience wrote: In arduino click "Tools -> Board -> Arduino Mega 2560"
I just changed from that to UNO and I got the same DIO34_WPORT error.