Page 1 of 1

Firmware Help

Posted: Wed May 15, 2013 6:00 pm
by USMCPelto
Alright, so I've gotten some older firmware to run correctly. It seems the only way I ever get firmware to successfully compile or "verify" on Arduino is if I find a complete set. I've seen a lot of links to firmwares people say they're running successfully, but I seem to never be able to even open it. Most of these I see are missing .PDE files. Does anyone have a Repetier firmware set that has all the necessary files to successfully compile for a Rostock Max and has some settings for the Rostock? The default Repetier firmware didn't look set up for the Rostock by default.

My original assumption was that you take an existing set of files, then copy over them with the seemingly "incomplete" set that was missing the .pde....but then they don't verify/compile correctly. Any thoughts?

Even better, can someone comment or post a guide to Firmwares? It's impossible to search the forums because "repetier" and "Firmware" are both too common.

Re: Firmware Help

Posted: Wed May 15, 2013 6:23 pm
by foshon
USMCPelto wrote:Alright, so I've gotten some older firmware to run correctly. It seems the only way I ever get firmware to successfully compile or "verify" on Arduino is if I find a complete set. I've seen a lot of links to firmwares people say they're running successfully, but I seem to never be able to even open it. Most of these I see are missing .PDE files. Does anyone have a Repetier firmware set that has all the necessary files to successfully compile for a Rostock Max and has some settings for the Rostock? The default Repetier firmware didn't look set up for the Rostock by default.

My original assumption was that you take an existing set of files, then copy over them with the seemingly "incomplete" set that was missing the .pde....but then they don't verify/compile correctly. Any thoughts?

Even better, can someone comment or post a guide to Firmwares? It's impossible to search the forums because "repetier" and "Firmware" are both too common.

Go back to the SeeMeCnc homepage and click on the downloads tab. Download the RostockMAX repetier firmware. Once downloaded, open arduino and find the .pde. For now don't make any changes to it. Make sure you have the COM port selected correctly and hit upload. What happens?

Re: Firmware Help

Posted: Wed May 15, 2013 6:58 pm
by USMCPelto
That's just it...I click the link, it downloads the Zip file labeled "RepetierMAX-master"...I extract and see some Github files...open the folder I see labeled "Repetier" and there is no .pde file. The list of files in that folder are

Commands.cpp
configuration.h
eeprom.cpp
eeprom.h
extruder.cpp
fastio.h
FatStructs.h
gcode.cpp
gcode.h
motion.cpp
pins.h
Repetier.INO
Repetier.h
SDCard.cpp
SDFat.cpp
SDFat.h
ui.cpp
ui.h
uiconfig.h
uilang.h
uhmenu.h

Re: Firmware Help

Posted: Wed May 15, 2013 7:05 pm
by foshon
USMCPelto wrote:That's just it...I click the link, it downloads the Zip file labeled "RepetierMAX-master"...I extract and see some Github files...open the folder I see labeled "Repetier" and there is no .pde file. The list of files in that folder are

Commands.cpp
configuration.h
eeprom.cpp
eeprom.h
extruder.cpp
fastio.h
FatStructs.h
gcode.cpp
gcode.h
motion.cpp
pins.h
Repetier.INO
Repetier.h
SDCard.cpp
SDFat.cpp
SDFat.h
ui.cpp
ui.h
uiconfig.h
uilang.h
uhmenu.h

INO is the new .pde. You should be able to play with the newer versions of arduino.

Re: Firmware Help

Posted: Wed May 15, 2013 8:09 pm
by USMCPelto
That took care of it. What board do you have selected in the Arduino 1.5.2? I don't see the Rambo on there. I tried to compile with default and it spat an error, telling me to use "Mega 2560" I used that and it compiled.

Re: Firmware Help

Posted: Wed May 15, 2013 9:00 pm
by foshon
USMCPelto wrote:That took care of it. What board do you have selected in the Arduino 1.5.2? I don't see the Rambo on there. I tried to compile with default and it spat an error, telling me to use "Mega 2560" I used that and it compiled.
That is the processor core of the Rambo, you have the correct one selected.

Re: Firmware Help

Posted: Thu May 16, 2013 10:46 am
by USMCPelto
Awesome. Thanks. Is there anyway to verify what firmware is on the Rambo? I went to upload it, and it did say "Finished uploading" But also mentioned "avrdude: stk500v2_ReceiveMessage (): timeout"

Re: Firmware Help

Posted: Thu May 16, 2013 11:23 am
by Eaglezsoar
Your problem with that error code can be caused by a multitude of problems.
I put "avrdude: stk500v2_ReceiveMessage (): timeout" in google and it found dozens of links for people with the
same problem. The solution is or can be so many different things, please google that error and see if one of the
links can help you. I wish I could be more helpful but you really need to read some of the links. Please let us
know what the solution was, we can all benefit when someone has such a problem then finds a solution.
As far as I know there is no way to read the Rambo to see what is on it. I asked that same question on this
forum and was told that.

Re: Firmware Help

Posted: Thu May 16, 2013 11:53 am
by foshon
Eaglezsoar wrote:Your problem with that error code can be caused by a multitude of problems.
I put "avrdude: stk500v2_ReceiveMessage (): timeout" in google and it found dozens of links for people with the
same problem. The solution is or can be so many different things, please google that error and see if one of the
links can help you. I wish I could be more helpful but you really need to read some of the links. Please let us
know what the solution was, we can all benefit when someone has such a problem then finds a solution.
As far as I know there is no way to read the Rambo to see what is on it. I asked that same question on this
forum and was told that.

Carl is right you cannot (as far as I know) retrieve the boards firmware using Arduino. You should be able to see your firmwares version on the lcd after turning the machine on or in Repetier Hosts display output screen (on the bottom).

Re: Firmware Help

Posted: Thu May 16, 2013 12:07 pm
by foshon
USMCPelto wrote:Awesome. Thanks. Is there anyway to verify what firmware is on the Rambo? I went to upload it, and it did say "Finished uploading" But also mentioned "avrdude: stk500v2_ReceiveMessage (): timeout"

Try making a copy of repetier.ino and renaming it repetier.pde. You may want to move the .ino first just to make sure you have the original safe. Then try to open it with your older version arduino and upload it. That error is coming from some changes in the newer versions of Arduino, from what I can gather. Another possible fix may be to replace the AVR folder in the Arduino folder with an older version.

Got most of this from here:

http://forum.arduino.cc/index.php?actio ... ic=83079.0

Re: Firmware Help

Posted: Thu May 16, 2013 4:44 pm
by USMCPelto
Awesome, thanks. I will report back tomorrow once I've tried some things...I was thinking I was having a possible firmware issue since one of my motors was acting crazy....I'm pretty sure it turned out to be a loose belt >.<. It could print the first layer and loop....second layer once it sped up...one arm would only move down and gah, it was hectic...after a bit of examining wires, I determined a loose belt....Looser on the troubled axis (X) Compared to the others...seems to have fixed it! I will still tinker with firmware though, for now I need a thread protector for a "Jet Perforating Gun." (I'm in the oil industry.)

Re: Firmware Help

Posted: Thu May 16, 2013 4:54 pm
by foshon
Sounds cool! Glad you got it fixed. If your able post some pics of that print.

Re: Firmware Help

Posted: Fri May 17, 2013 8:30 pm
by USMCPelto
http://forum.seemecnc.com/viewtopic.php?f=41&t=1901 Done. Again, it had about 8mm left to go vertically...but I think a loose belt killed it :/