Firmware Uploading Issue

260 views
Skip to first unread message

hisashime

unread,
Aug 23, 2013, 5:21:26 AM8/23/13
to jetty-f...@googlegroups.com
Hi,

I use to be able to upload firmware using my Ubuntu and Macbook Air OS X 10.7 using ReplicatorG 40r22. Lately I am having trouble uploading the firmware. I have tried both Ubuntu 12.04 and Macbook but still the message uploading fail. Does anyone have any idea about this?? I have previously install Makerware and now uninstalled it but still fail to upload.

ReplicatorG in windows successfully upload the firmware.

Ben Mah

Gregory Sullivan

unread,
Aug 23, 2013, 10:07:34 AM8/23/13
to jetty-f...@googlegroups.com

If you own a makerbot call support and get their upload tool.  It bypasses mw and repg. I doubt they support jetty so chose your words carefully. With that tool you click and press reset at the same time..  I'm 6 for 6 with it but did find out that it was the laptop (mine worked at first also).

--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Martin Bogomolni

unread,
Aug 23, 2013, 10:18:29 AM8/23/13
to jetty-firmware

Or bypass the whole "Go through MakerBot Support" .. and here's the tool.    I think it's silly do to a song-and-dance to get it.  
macBotTool.zip

Gregory Sullivan

unread,
Aug 23, 2013, 10:44:56 AM8/23/13
to jetty-f...@googlegroups.com
cool, I only had the win version

Jetguy

unread,
Aug 23, 2013, 11:05:23 AM8/23/13
to jetty-f...@googlegroups.com
Can you attach the Windows version to this thread too?

Dan Newman

unread,
Aug 23, 2013, 11:53:09 AM8/23/13
to jetty-f...@googlegroups.com

On 23 Aug 2013 , at 2:21 AM, hisashime wrote:

> Hi,
>
> I use to be able to upload firmware using my Ubuntu and Macbook Air OS X
> 10.7 using ReplicatorG 40r22. Lately I am having trouble uploading the
> firmware. I have tried both Ubuntu 12.04 and Macbook but still the message
> uploading fail. Does anyone have any idea about this?? I have previously
> install Makerware and now uninstalled it but still fail to upload.

You may not have completely uninstalled it on the Mac at least. Simply
removing MW doesn't completely remove it. It leaves background applications
in system folders and has them started by launchd (managed by launchctl).
Each time I've installed MW, I've had to go to some extra effort to get
it entirely removed: I'd find converyor running under python in the background,
even after rebooting the mac. Again, because of the binaries buried in
system folders and automatically started (and restarted) by launchd.

Dan

ben

unread,
Aug 23, 2013, 11:12:36 PM8/23/13
to jetty-f...@googlegroups.com
Thanks Martin. That a great help.

Ben Mah

ben

unread,
Aug 23, 2013, 11:21:56 PM8/23/13
to jetty-f...@googlegroups.com

Hi Dan,

I have used appcleaner to looks for files related to MW. And also run
the build in dmg MW installer. How do I remove the background application??

Ben Mah

Dan Newman

unread,
Aug 24, 2013, 12:17:06 AM8/24/13
to jetty-f...@googlegroups.com

On 23 Aug 2013 , at 8:21 PM, ben wrote:

>
> Hi Dan,
>
> I have used appcleaner to looks for files related to MW. And also run the build in dmg MW installer. How do I remove the background application??

I'd have to install a recent version on my Mac to find you the
current up-to-date locations down /System and /Library. I don't
care to do that. Sorry.

If you know how to open up the terminal application (/Applications/Utilities/Terminal),
then from a terminal window you can

% ps -eax | grep -i python

and see if in the output you spot python processes running which are running
conveyor. If you don't see anything, then give

% ps -eax | grep -i conveyor

a try. From the same terminal window, you can try

% launchctl list | grep conveyor

and see if anything is turned up. If something is, then you will need to
learn how to use launchctl to remove that app from it's knowledge base. It'll
be along the lines of

% sudo launchctl unload /Library/LaunchDaemons/...some file name…

Basically, doing this requires some sys admin knowledge for OS X.

Dan

ben

unread,
Aug 24, 2013, 12:26:00 AM8/24/13
to jetty-f...@googlegroups.com
Thanks Dan. Thats is good enough. I have knowledge of it. Really appreciate it.

ben

unread,
Aug 24, 2013, 10:51:33 AM8/24/13
to jetty-f...@googlegroups.com
Unfortunately this uploader is meant for mightyboards only. I am on TOM Gen4. Thanks anyway.

On 8/23/13 10:18 PM, Martin Bogomolni wrote:

ben

unread,
Aug 24, 2013, 10:56:26 AM8/24/13
to jetty-f...@googlegroups.com
Hi Dan,

Done the steps given by you.

Result came out clear of conveyor but still fail to upload. Just for your info I am talking about TOM Gen4 electronics.
The attachment by Martin is for Mightyboards only.



On 8/24/13 12:17 PM, Dan Newman wrote:
On 23 Aug 2013 , at 8:21 PM, ben wrote:

Hi Dan,

I have used appcleaner to looks for files related to MW. And also run the build in dmg MW installer. How do I remove the background application??
I'd have to install a recent version on my Mac to find you the
current up-to-date locations down /System and /Library.  I don't
care to do that.  Sorry.

If you know how to open up the terminal application (/Applications/Utilities/Terminal),
then from a terminal window you can

% ps -eax | grep -i python
650 ttys000    0:00.00 grep -i python

and see if in the output you spot python processes running which are running
conveyor.   If you don't see anything, then give

% ps -eax | grep -i conveyor
660 ttys000    0:00.00 grep -i conveyor

a try.  From the same terminal window, you can try

% launchctl list | grep conveyor
Nothing came out

Dan Newman

unread,
Aug 24, 2013, 12:12:01 PM8/24/13
to jetty-f...@googlegroups.com

On 24 Aug 2013 , at 7:56 AM, ben wrote:

> Hi Dan,
>
> Done the steps given by you.
>
> Result came out clear of conveyor but still fail to upload. Just for your info I am talking about TOM Gen4 electronics.
> The attachment by Martin is for Mightyboards only.

Either you do not have the timing right on pressing the reset button OR
you have lost the bootloader from the Arduino. Either is a distinct
possibility. If you've lost the bootloader, you will need an ISP programmer
to put one back on. There's a bootloader for each Arduino board supplied
with the Arduino application.

Dan

ben

unread,
Aug 24, 2013, 9:59:46 PM8/24/13
to jetty-f...@googlegroups.com
Hi Dan,

I have tried uploading to 2 set of Gen 4 electronic that is in working condition. Just want to do an reload of the sailfish. I have success in uploading using Windows Vista using ReplicatorG40r22.

1. Tried using my Ubuntu 12.04 RepG40r22 - Failed
2. Tried using Macbook Air OS X 10.7 RepG40R22 - Failed
3. Windows Vista RepG40r22 - Successful.

Though I can use windows to do the uploading, I want to find out what is causing it not to be able to upload anymore in Ubuntu and Mac OS X (Both OS have previously installed Makerware. Windows is free of MW). I don't want to pin point to MW as there are other possibility.

Note : Arduino IDE on Ubuntu 12.04 can upload to my MEGA 2560 and UNO. On MAC Arduino failed to upload to MEGA 2560 but successful in UNO. Any relation???
 

Dan Newman

unread,
Aug 24, 2013, 11:11:20 PM8/24/13
to jetty-f...@googlegroups.com

On 24 Aug 2013 , at 6:59 PM, ben wrote:

> Hi Dan,
>
> I have tried uploading to 2 set of Gen 4 electronic that is in working condition. Just want to do an reload of the sailfish. I have success in uploading using Windows Vista using ReplicatorG40r22.
>
> 1. Tried using my Ubuntu 12.04 RepG40r22 - Failed
> 2. Tried using Macbook Air OS X 10.7 RepG40R22 - Failed
> 3. Windows Vista RepG40r22 - Successful.
>
> Though I can use windows to do the uploading, I want to find out what is causing it not to be able to upload anymore in Ubuntu and Mac OS X (Both OS have previously installed Makerware. Windows is free of MW). I don't want to pin point to MW as there are other possibility.
>
> Note : Arduino IDE on Ubuntu 12.04 can upload to my MEGA 2560 and UNO. On MAC Arduino failed to upload to MEGA 2560 but successful in UNO. Any relation???

No idea if there's any relation.

Look at the system logs and see what avrdude has reported. It logs
its activity. You can run the Console app on OS X to see what was
logged by avrdude.

Dan

TramALot

unread,
Sep 16, 2013, 9:50:42 AM9/16/13
to jetty-f...@googlegroups.com
sorry, been busy


On Friday, August 23, 2013 10:44:56 AM UTC-4, TramALot wrote:
cool, I only had the win version
On Fri, Aug 23, 2013 at 10:18 AM, Martin Bogomolni <marti...@gmail.com> wrote:

Or bypass the whole "Go through MakerBot Support" .. and here's the tool.    I think it's silly do to a song-and-dance to get it.  
On Fri, Aug 23, 2013 at 9:07 AM, Gregory Sullivan <sull...@gmail.com> wrote:

If you own a makerbot call support and get their upload tool.  It bypasses mw and repg. I doubt they support jetty so chose your words carefully. With that tool you click and press reset at the same time..  I'm 6 for 6 with it but did find out that it was the laptop (mine worked at first also).

On Aug 23, 2013 5:21 AM, "hisashime" <hisa...@gmail.com> wrote:
Hi,

I use to be able to upload firmware using my Ubuntu and Macbook Air OS X 10.7 using ReplicatorG 40r22. Lately I am having trouble uploading the firmware. I have tried both Ubuntu 12.04 and Macbook but still the message uploading fail. Does anyone have any idea about this?? I have previously install Makerware and now uninstalled it but still fail to upload.

ReplicatorG in windows successfully upload the firmware.

Ben Mah

--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmware+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmware+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmware+unsubscribe@googlegroups.com.
winBotToolv1.zip

ben

unread,
Sep 16, 2013, 11:32:09 AM9/16/13
to jetty-f...@googlegroups.com
Using ReplG in windows does not have any issue. Upload is successful. Only having this problem in Macbook Air and ubuntu 12.04. Still have not find any solution to it.

Ben Mah
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.

David Lancaster

unread,
Sep 16, 2013, 12:06:45 PM9/16/13
to jetty-f...@googlegroups.com
Don't have a TOM, but Something to do with auto-reset maybe?  IIRC, the FTDI drivers behave differently on Linux/OS X than on Windows, so just opening the serial port toggles DTR and can reset anything hooked to it...
Might explain why it works in Windows but not Linux/OS X.

D.

ben

unread,
Sep 16, 2013, 10:51:59 PM9/16/13
to jetty-f...@googlegroups.com
Windows was my last option. All my work is done on ubuntu and mac. I have no problem connecting using ubuntu or mac. Only can't upload firmware (weird). So how do i do a reset these ports?

Ben Mah
On 9/17/13 12:06 AM, David Lancaster wrote:
Don't have a TOM, but Something to do with auto-reset maybe?  IIRC, the FTDI drivers behave differently on Linux/OS X than on Windows, so just opening the serial port toggles DTR and can reset anything hooked to it...
Might explain why it works in Windows but not Linux/OS X.

D.
On Mon, Sep 16, 2013 at 12:32 PM, ben <hisa...@gmail.com> wrote:
Using ReplG in windows does not have any issue. Upload is successful. Only having this problem in Macbook Air and ubuntu 12.04. Still have not find any solution to it.

Ben Mah
On 9/16/13 9:50 PM, TramALot wrote:
sorry, been busy

On Friday, August 23, 2013 10:44:56 AM UTC-4, TramALot wrote:
cool, I only had the win version
On Fri, Aug 23, 2013 at 10:18 AM, Martin Bogomolni <marti...@gmail.com> wrote:

Or bypass the whole "Go through MakerBot Support" .. and here's the tool.    I think it's silly do to a song-and-dance to get it.  
On Fri, Aug 23, 2013 at 9:07 AM, Gregory Sullivan <sull...@gmail.com> wrote:

If you own a makerbot call support and get their upload tool.  It bypasses mw and repg. I doubt they support jetty so chose your words carefully. With that tool you click and press reset at the same time..  I'm 6 for 6 with it but did find out that it was the laptop (mine worked at first also).

On Aug 23, 2013 5:21 AM, "hisashime" <hisa...@gmail.com> wrote:
Hi,

I use to be able to upload firmware using my Ubuntu and Macbook Air OS X 10.7 using ReplicatorG 40r22. Lately I am having trouble uploading the firmware. I have tried both Ubuntu 12.04 and Macbook but still the message uploading fail. Does anyone have any idea about this?? I have previously install Makerware and now uninstalled it but still fail to upload.

ReplicatorG in windows successfully upload the firmware.

Ben Mah
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

David Lancaster

unread,
Sep 17, 2013, 8:37:09 AM9/17/13
to jetty-f...@googlegroups.com
The driver behaves like it does, there's nothing you can change there.

Again, I don't have a TOM, but on an Arduino board, there's a trace or solder jumper that dis/en-ables the auto-reset.  If the trace is connected, the computer can/will reset the board over USB.  If the trace is cut, the computer cannot reset the board and you must reset it manually using the reset button.  AFAIK, the trace *should* be cut and hence you have to manually push the reset button when prompted.

Look for two solder pads labelled "RESET-EN" and see if there's continuity between them.  

D.

Jetguy

unread,
Sep 17, 2013, 11:08:27 AM9/17/13
to jetty-f...@googlegroups.com
Also, for the record, if you have a mega 2560, and BTW, being the clones on Amazon are $20 you would be stupid not to, you MUST absolutely cut that reset jumper trace if you want Replicator-G to connect. It does an auto reset which then throws the timing off and it NEVER connects.
 
A 1280 can have the reset enabled and will connect to Rep-G the last time I tried it.
 
The difference in behavior  is due to timing and how the USB to serial is made on the board.
1280 uses a FTDI chip and matching driver in the OS
2560s use an 8u2 processor flashed with USB to serial and matching driver
 
You want the 2560 for code space as there are features missing in the 1280 versions.

ben

unread,
Sep 17, 2013, 10:48:14 PM9/17/13
to jetty-f...@googlegroups.com
Hi Jetguy, I have no problem connecting to my TOM using ReplicatorG in Ubuntu and Macbook. Only cannot upload firmware. It use to be able to do the upload firmware but suddenly no success. I have tried uploading on 2 of my gen4 electronics without success. Everyone still think it my timing issue. I have done it many times so its not timing issue. Any idea?? Ahh maybe I'll just reinstall a fresh copy of ubuntu but I can't do that on my Macbook...

Ben Mah

ben

unread,
Sep 17, 2013, 10:50:21 PM9/17/13
to jetty-f...@googlegroups.com
I don't have this problem previously but Y suddenly?? and only on mac and ubuntu??

Ben Mah

Dan Newman

unread,
Sep 17, 2013, 11:17:01 PM9/17/13
to jetty-f...@googlegroups.com

On 17 Sep 2013 , at 7:48 PM, ben wrote:

> Hi Jetguy, I have no problem connecting to my TOM using ReplicatorG in Ubuntu and Macbook. Only cannot upload firmware. It use to be able to do the upload firmware but suddenly no success. I have tried uploading on 2 of my gen4 electronics without success. Everyone still think it my timing issue. I have done it many times so its not timing issue. Any idea?? Ahh maybe I'll just reinstall a fresh copy of ubuntu but I can't do that on my Macbook…

It's possible you've lost the boot loader on the AVR. Of course, if it works from Windows,
then that's not the case. And, on a Mac at least, if you've ever installed MakerWare then
you may still have a conveyor process in the background. It gets installed as a launchd process
and removing MW doesn't necessarily remove Conveyor as some of it lives off in system directories.
(I know, I've been hit by this in the past.)

Dan

Dan Newman

unread,
Sep 17, 2013, 11:18:41 PM9/17/13
to jetty-f...@googlegroups.com

On 17 Sep 2013 , at 7:50 PM, ben wrote:

> I don't have this problem previously but Y suddenly?? and only on mac and ubuntu??

Also, look in the system logs: avrdude will log its activity and errors. On Mac, just
open the Console utility from Applications > Utilities. Then select "All System Messages"
(or some name like that). Then try to download the firmware. avrdude will log its
activity. On Ubuntu, I assume you'll find it in /var/logs or similar.

Dan

ben

unread,
Sep 17, 2013, 11:43:43 PM9/17/13
to jetty-f...@googlegroups.com
OK I'll check that out.

Ben Mah

ben

unread,
Sep 17, 2013, 11:47:02 PM9/17/13
to jetty-f...@googlegroups.com
Oh yes I have clean out what ever possible conveyor that could be laying
around. I have also follow your steps previously in this post. Also uses
apps to locate all Makerware files, plist etc. Maybe I missed out
something .


Ben Mah

ben

unread,
Sep 19, 2013, 10:10:38 AM9/19/13
to jetty-f...@googlegroups.com
This is my console log



Ben Mah
On 9/18/13 11:18 AM, Dan Newman wrote:
console_log.txt

David Lancaster

unread,
Sep 19, 2013, 12:49:08 PM9/19/13
to jetty-f...@googlegroups.com
Is the RESET_EN trace cut?  Are you pushing the reset button at the right time?

Is this a Mega2560 with Atmega8u2?  Perhaps the Atmega8u2 needs a firmware update...

D.


--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmware+unsubscribe@googlegroups.com.

Dan Newman

unread,
Sep 19, 2013, 2:22:26 PM9/19/13
to jetty-f...@googlegroups.com

On 19 Sep 2013 , at 7:10 AM, ben wrote:

> <console_log.txt>

Those timeouts mean that either the Arduino isn't responding correctly OR you have the timing off
on pressing reset then starting the download. Either results in avrdude reporting that timeout
error. Again, if it weren't for the fact that you can download from Windows, I'd say that you
lost the bootloader on the Arduino.

Dan

ben

unread,
Sep 19, 2013, 10:54:27 PM9/19/13
to jetty-f...@googlegroups.com
The weird thing is that Arduino IDE (Mac) also cannot upload standard
scripts to all my MEGA 2580 boards, even my newly bought Mega2580 BUT
everything works fine with Arduino UNO Rev3.
I don't know if its related to Gen4 Mega2580 or not.



Ben Mah

ben

unread,
Sep 19, 2013, 10:57:57 PM9/19/13
to jetty-f...@googlegroups.com
Very interesting. I have a look later.

Ben Mah
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.

ben

unread,
Sep 19, 2013, 11:33:12 PM9/19/13
to jetty-f...@googlegroups.com
Done cutting the RESET_EN Trace. Still does not work. Done checking Version of firmware don't need update.
*BUMP*


Ben Mah
On 9/20/13 12:49 AM, David Lancaster wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jetty Firmware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jetty-firmwar...@googlegroups.com.

Dan Newman

unread,
Sep 19, 2013, 11:40:16 PM9/19/13
to jetty-f...@googlegroups.com

On 19 Sep 2013 , at 7:54 PM, ben wrote:

> The weird thing is that Arduino IDE (Mac) also cannot upload standard scripts to all my MEGA 2580 boards, even my newly bought Mega2580 BUT everything works fine with Arduino UNO Rev3.

You likely need new USB drivers from FTDI,

http://www.ftdichip.com/Drivers/VCP.htm

I ran into that as well recently.

I believe it's the VCP drivers you want, not the D2XX but I could well be wrong.
Remember to reboot your Mac afterwards.

Dan

ben

unread,
Sep 19, 2013, 11:46:44 PM9/19/13
to jetty-f...@googlegroups.com
Done That already as well. Even though all my Mega 2560 uses the new chip.

Ben Mah

David Lancaster

unread,
Sep 20, 2013, 9:18:19 AM9/20/13
to jetty-f...@googlegroups.com
Was the trace un-cut previously?  Did you have to switch from auto-reset to manually resetting by pushing the button?  (i.e. are you sure you're getting the timing right?)


MacGyver

unread,
Sep 20, 2013, 2:16:52 PM9/20/13
to jetty-f...@googlegroups.com
In order for me to update the firmware on mine I have to repeatedly hit the reset button 6 or 7 times and watch the RX/TX LED until it starts flashing rapidly.  I once even had to call Makerbot and they shipped me a new board.  While on the phone with them I was getting frustrated and just started pressing reset over and over when it started flashing.    Weird stuff.

ben

unread,
Sep 20, 2013, 11:24:17 PM9/20/13
to jetty-f...@googlegroups.com
The trace is un-cut originally(tested using a multimeter). It makes no difference whether its auto or manual.

But i have solve the Ubuntu 12.04 part of my problem. Its not makerware conveyor services. I have replace ReplicatorG40r22(sailfish)'s Avrdude and avrdude.conf with  the latest version from Arduino IDE 1.05 and it start uploading whether conveyor is running or not. UBUNTU PART SOLVED.

MY Macbook Air is still not working. Cannot upload to any Arduino Mega 2560 boards using Arduino IDE and ReplicatorG. Tried the trick above. I suspect there is a Avrdude 64bit version that may help solve this as there is a 64 bit version for linux.

Reply all
Reply to author
Forward
0 new messages