Firmware...

76 views
Skip to first unread message

Conrad2468

unread,
Aug 18, 2009, 1:25:59 PM8/18/09
to MakerBot Operators
Can somebody give me (and everyone else who needs it) a step by step
on how to install the firmware?
I unzipped it and put the files into the correct spot in the arduino
15 software...there are tons of different files that open up along
with the program i click on in the tabs!!....when i click upload, it
gives me the error....

"26: error: SimplePacket.h: No such file or directory In function
'void check_tool_version(byte)':
In function 'void get_tool_temp(byte)':
In function 'void set_tool_temp(byte, unsigned int)':
In function 'void set_motor1_pwm(byte, byte)':
In function 'void set_motor2_pwm(byte, byte)':
In function 'void toggle_motor1(byte, boolean, boolean)':
In function 'void toggle_motor2(byte, boolean, boolean)':
In function 'void toggle_fan(byte, boolean)':
In function 'void toggle_valve(byte, boolean)':
In function 'void get_motor1_pwm(byte)':
In function 'void get_motor2_pwm(byte)':
In function 'void set_servo1_position(byte, byte)':
In function 'void set_servo2_position(byte, byte)':
In function 'void get_filament_status(byte)':
In function 'void process_host_packets()':
In function 'void handle_query(byte)':
In function 'void handle_commands()':
In function 'bool ping_tool(byte)':
In function 'void init_tool(byte)':
In function 'void select_tool(byte)':
In function 'bool is_tool_ready(byte)':
In function 'void send_tool_query()':
In function 'void send_tool_command(CircularBuffer::Cursor&)':
In function 'void send_tool_simple_command(byte, byte)':
In function 'boolean send_packet()':
In function 'bool read_tool_response(int)':"
can anyone help? I feel so close to completion!

Adam Mayer

unread,
Aug 18, 2009, 1:31:31 PM8/18/09
to make...@googlegroups.com
The instructions are up on the reprap wiki:
http://reprap.org/bin/view/Main/Generation3Firmware

It looks like you missed the step where you copy the libraries over to
the arduino installation.

-a

Conrad Farnsworth

unread,
Aug 18, 2009, 1:34:49 PM8/18/09
to make...@googlegroups.com
This step?

"

Arduino Libraries

We have written a few libraries to enable extra functionality such as our packet system and SD card reading/writing. You will need these libraries in order to compile and upload the firmwares. This is very simple to accomplish. Just copy the folders in the libraries/ directory into the hardware/libraries/ folder contained in the Arduino software.

To rephrase: Copy reprap-r3g-firmware-1.x/libraries/* to arduino-00xx/hardware/libraries/"

--
50 12'48.28" N  8 52'08.17" E
elevation 489 ft

Adam Mayer

unread,
Aug 18, 2009, 1:38:40 PM8/18/09
to make...@googlegroups.com
Yep, that's the one. The error you attached means that the arduino
software can't find the SimplePacket library.

-a

Conrad Farnsworth

unread,
Aug 18, 2009, 1:44:14 PM8/18/09
to make...@googlegroups.com
ok, heres what i did.....i opened up the file...copied the 2 files that it asked me to....spotlighted arduino, went into libraries...oh never mind! I put it into hardware but failed to go a step further and add it to libraries! IDIOT!

Adrian Bowyer

unread,
Aug 18, 2009, 1:45:15 PM8/18/09
to make...@googlegroups.com
On this general topic, when our machine arrives (USPS has it somewhere
in mid-Atlantic...) we'll be rationalizing the host software and
firmware so that it all works both on RepRap and Makerbot. This means
there will be:

The Java RepRap Host software
Skeinforge

and both of these will talk to

The five-dimensional RepRap G-code firmware
The Gen3 Firmware

Best wishes

Adrian

Dr Adrian Bowyer
http://people.bath.ac.uk/ensab
http://reprap.org
--

Conrad Farnsworth

unread,
Aug 18, 2009, 1:48:45 PM8/18/09
to make...@googlegroups.com
the programmer isnt responding.....now what?

Adam Mayer

unread,
Aug 18, 2009, 1:52:30 PM8/18/09
to make...@googlegroups.com
Getting the firmware onto the v1.1 and v1.2 boards is a little tricky,
because the arduino software can't reset them automatically. There
are some tips here:

http://wiki.makerbot.com/tips-and-tricks

-a

On Tue, Aug 18, 2009 at 1:48 PM, Conrad

Conrad Farnsworth

unread,
Aug 18, 2009, 2:03:27 PM8/18/09
to make...@googlegroups.com
ok, i read it! But everytime i get the bytes message i also get the error message! at the same time! so i cant reset! Any help ther?

Adam Mayer

unread,
Aug 18, 2009, 2:07:04 PM8/18/09
to make...@googlegroups.com
Hm, that's odd. What's the text of the error message the arduino
software is giving you?

The primary thing I would double-check is that you've set the arduino
software to use the correct port.
-a

On Tue, Aug 18, 2009 at 2:03 PM, Conrad

Conrad Farnsworth

unread,
Aug 18, 2009, 2:14:49 PM8/18/09
to make...@googlegroups.com
"Binary sketch size: 15002 bytes (of a 63488 byte maximum)

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding"
it said all that at the same time!

Bo

unread,
Aug 18, 2009, 2:27:41 PM8/18/09
to MakerBot Operators
Adam,

Glad you are explaining this in baby steps... very helpful, thank you.

Im still trying to figure the uploading part, but think I got a bit
closers after I googled arduino soft.. :-)

http://www.arduino.cc/en/Main/Software



On Aug 18, 11:07 am, Adam Mayer <pho...@gmail.com> wrote:
> Hm, that's odd.  What's the text of the error message the arduino
> software is giving you?
>
> The primary thing I would double-check is that you've set the arduino
> software to use the correct port.
> -a
>
> On Tue, Aug 18, 2009 at 2:03 PM, Conrad
>
> Farnsworth<robot.lig...@gmail.com> wrote:
> > ok, i read it! But everytime i get the bytes message i also get the error
> > message! at the same time! so i cant reset! Any help ther?
>
> > On Tue, Aug 18, 2009 at 12:52 PM, Adam Mayer <pho...@gmail.com> wrote:
>
> >> Getting the firmware onto the v1.1 and v1.2 boards is a little tricky,
> >> because the arduino software can't reset them automatically.  There
> >> are some tips here:
>
> >>http://wiki.makerbot.com/tips-and-tricks
>
> >> -a
>
> >> On Tue, Aug 18, 2009 at 1:48 PM, Conrad
> >> Farnsworth<robot.lig...@gmail.com> wrote:
> >> > the programmer isnt responding.....now what?
>
> >> > On Tue, Aug 18, 2009 at 12:45 PM, Adrian Bowyer <A.Bow...@bath.ac.uk>
> >> >> >>> On Tue, Aug 18, 2009 at 1:25 PM, Conrad2468<robot.lig...@gmail.com>

Conrad Farnsworth

unread,
Aug 18, 2009, 2:28:51 PM8/18/09
to make...@googlegroups.com
do u have the right port selected? I just uploaded the firmware to my extruder! yay but my mobo fails!

Adam Mayer

unread,
Aug 18, 2009, 2:29:19 PM8/18/09
to make...@googlegroups.com
Ah, it seems like you're looking at the arduino console, which buffers
everything so much that it's difficult to use it to gauge the timing.
If you know how, try starting the arduino software from a terminal
program; the same messages will appear (but in a timely fashion).
Otherwise, try resetting about four seconds after you initiate the
upload and see if that works.

-a

On Tue, Aug 18, 2009 at 2:14 PM, Conrad

Conrad Farnsworth

unread,
Aug 18, 2009, 2:32:04 PM8/18/09
to make...@googlegroups.com
SUCCESS!!! THANKS! Now what?

Adam Mayer

unread,
Aug 18, 2009, 2:34:30 PM8/18/09
to make...@googlegroups.com
Now it's time to print! We have instructions to walk you through your
first print:
http://wiki.makerbot.com/how-to-print

Good luck!

-a

On Tue, Aug 18, 2009 at 2:32 PM, Conrad

Adam Mayer

unread,
Aug 18, 2009, 2:35:12 PM8/18/09
to make...@googlegroups.com
(After you install the extruder firmware on the extruder board, that is. :)

-a

Conrad Farnsworth

unread,
Aug 18, 2009, 3:00:48 PM8/18/09
to make...@googlegroups.com
done! clicked on replicator g and it gave me the error "toolbar has not been tested on this version, toolbar bundle will not be loaded" then it gave me another error "the machine discription file 'machines.xml' was not found make sure your running replicator g from the correct directory" how do i fix this?

TeamTeamUSA

unread,
Aug 24, 2009, 12:31:27 AM8/24/09
to MakerBot Operators
I'm getting closer, but avrdude ain't playing nice:

stk500_recv(): programmer is not responding error.

Three questions:

1. For the pre-soldered motherbords that came with batch 5, does the
firmware need to be upgraded to 1.2:
http://softlayer.dl.sourceforge.net/project/reprap/Gen3%20Firmware/v1.2/reprap-gen3-firmware-1.2.zip
2. If so, when upoading the 1.2 firmware, does the PSU need to be
plugged into the motherboard, or can the USB-to-TTL cable provide
enough power?
3. Must Arduino 0017 be used for the firmware upgrade, or can
ReplicatorG 0005 be used?

Thanks,

=ml=
> >>> >> >> Farnsworth<robot.lig...@gmail.com> wrote:
> >>> >> >> > the programmer isntresponding.....now what?
>
> >>> >> >> > On Tue, Aug 18, 2009 at 12:45 PM, Adrian Bowyer
> >>> >> >> > <A.Bow...@bath.ac.uk>
> >>> >> >> >> >>> Conrad2468<robot.lig...@gmail.com>

Chris Holloway

unread,
Aug 24, 2009, 6:07:44 AM8/24/09
to make...@googlegroups.com
We are using the 1.2 firmware on our batch 5 preassembled motherboard. We
uploaded it with 0017. One thing I noticed is that I had to manually reset
the motherboard right after I clicked the upload button in the Arduino
environment. If I did not, I would get similar errors about the programmer
not responding. Try hitting the upload button, pausing one second and then
hitting reset on the motherboard. The timing has to be just right since
Arduino recompiles the pde each time you upload it.

Adam Mayer

unread,
Aug 24, 2009, 9:44:48 AM8/24/09
to make...@googlegroups.com
Hi,

You can't currently upload from ReplicatorG itself, but given the
amount of trouble people are having installing new firmware, I'm
considering adding that.

-a

Bo Lorentzen

unread,
Aug 24, 2009, 9:46:40 AM8/24/09
to make...@googlegroups.com
YEAH....

Adam, My Leica camera updates by sticking a SD card in with new
firmware on the card.

Bo

TeamTeamUSA

unread,
Aug 24, 2009, 11:07:17 AM8/24/09
to MakerBot Operators
Thanks, Adam.

I tried your suggestions, but am still receiving the avrdude error.

A few more questions:

* Do I need to upgrade the firmware on batch 5 mobos? Or is it already
1.2?

If I do need to upgrade the firmware then

* Does the PSU need to be plugged into the mobo during the upgrade
process? I've tried both.
* On OS X 10.5.7, should I use /dev/tty.usbserial-FTE3PVGI or /dev/
cu.usbserial-FTE3PVGI as the serial port when using the USB-to-TTL
cable? I've tried both.
* Should any of the mobo LEDs be lit when the USB-to-TTL cable and PSU
are plugged into the mobo? Nothing is lit up with or without the PSU
and USB-to-TTL cable plugged in.

Thanks,

=m i l e s=

On Aug 24, 3:07 am, "Chris Holloway" <im.chrishollo...@gmail.com>
wrote:
> We are using the 1.2 firmware on our batch 5 preassembled motherboard.  We
> uploaded it with 0017.  One thing I noticed is that I had to manually reset
> the motherboard right after I clicked the upload button in the Arduino
> environment.  If I did not, I would get similar errors about the programmer
> not responding.  Try hitting the upload button, pausing one second and then
> hitting reset on the motherboard.  The timing has to be just right since
> Arduino recompiles the pde each time you upload it.
>
> -----Original Message-----
> From: make...@googlegroups.com [mailto:make...@googlegroups.com] On Behalf
>
> Of TeamTeamUSA
> Sent: Sunday, August 23, 2009 11:31 PM
> To: MakerBot Operators
> Subject: [MakerBot] Re: Firmware...
>
> I'm getting closer, but avrdude ain't playing nice:
>
> stk500_recv(): programmer is not responding error.
>
> Three questions:
>
> 1. For the pre-soldered motherbords that came with batch 5, does the
> firmware need to be upgraded to 1.2:http://softlayer.dl.sourceforge.net/project/reprap/Gen3%20Firmware/v1...

TeamTeamUSA

unread,
Aug 24, 2009, 11:32:29 AM8/24/09
to MakerBot Operators
Sorry Chris, I meant to thank you.

I'm beginning to think one or both of the PSU and MoBo are
malfunctioning. Are there sanity checks that can be performed for the
PSU and MoBo, before upgrading the firmware?

How can I can rule out that one or both are NOT malfunctioning?

* How can I tell if the PSU is working? Can I test the output voltage
easily? Which pins and multimeter settings?
* How can I tell if the MoBo is working? Should any LEDs be lit? Can I
test the input from the PSU? Which pins and multimeter settings?

Thanks,

=ml=
> ...
>
> read more »

Jordan Miller

unread,
Aug 24, 2009, 12:01:30 PM8/24/09
to make...@googlegroups.com
hi miles,

did you try to install avr again? follow the sanguino instructions,
install crosspack-avr on your computer, then copy to the correct
directory inside Arduino.app/Contents/Resources/... and rename to
avr/ ...

that seemed to work for me for some reason using 0017... i was getting
these errors:
avrdude: stk500_getsync(): not in sync: resp=0x48
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x48

Jordan

Adam Mayer

unread,
Aug 24, 2009, 12:02:50 PM8/24/09
to make...@googlegroups.com
Hi,

The firmware preinstalled on the batch 5 mobos is 1.1.

If you plug the PSU into the mobo and turn on the small power switch
on the mobo, it should turn on the PSU. If the fan on the PSU doesn't
turn on, it can mean that the firmware isn't correctly burned on the
mobo, or there's something wrong with the PSU.

You can test your PSU without the mobo by jumping the PS_ON signal to
ground. See:
http://www.techpowerup.com/articles/other/22
The fan should spin up when the PSU turns on.

-a

Jordan Miller

unread,
Aug 24, 2009, 12:17:55 PM8/24/09
to make...@googlegroups.com
Hi, this is great info to have. it would be excellent to put on the
Motherboard wiki located on reprap.org. However, no one is allowed to
create an account there. please help!

Jordan

TeamTeamUSA

unread,
Aug 24, 2009, 12:30:56 PM8/24/09
to MakerBot Operators
Thanks, Jordan.

Did you plug the PSU into the MoBo when you upgraded the firmware?

I followed these Sanguino instructions: http://sanguino.cc/softwareformac
I downloaded and installed CrossPack-AVR:
http://www.obdev.at/downloads/crosspack/CrossPack-AVR-20090415.dmg

What from CrossPack-AVR do I copy and rename to the Arduino directory?

I've already copied these

* copy sanguino-software-1.4-r1/cores/sanguino to arduino-0017/
hardware/cores/sanguino
* copy sanguino-software-1.4-r1/bootloaders/atmega644p to
arduino-0017/hardware/bootloaders/atmega644p
* copy all the folders in sanguino-software-1.4-r1/libraries/ to
arduino-0017/hardware/libraries/ overwriting the existing libraries.

Thanks,

=ml=
> ...
>
> read more »
Message has been deleted

Jordan Miller

unread,
Aug 24, 2009, 2:31:22 PM8/24/09
to make...@googlegroups.com
yep, I think everything was plugged in and power switch on the MoBo
was on (LEDs were definitely on/blinking).

The old instructions are here:
http://wulfden.org/downloads/manuals/SanguinoForMacOSX.pdf

I used CrossPack-AVR-20090415.dmg

1. First, download and install the latest version of AVR Mac
Pack. http://www.obdev.at/products/crosspack/download.html
2. Second, make a backup copy of the folder in arduino-
0011/hardware/tools/avr.
3. Finally, copy (not move) the folder located at
/usr/local/AVRMacPack to arduino-
0011/hardware/tools/avr. Its important that the
AVRMacPack folder be copied to arduino-
0011/hardware/tools and renamed to be just avr.

Jordan





On Aug 24, 2009, at 12:32 PM, TeamTeamUSA wrote:

>
> Thanks, Jordan.
>
> Did you plug the PSU into the MoBo when you upgraded the firmware?
>
> I followed these Sanguino instructions: http://sanguino.cc/softwareformac
> I downloaded and installed CrossPack-AVR:
> http://www.obdev.at/downloads/crosspack/CrossPack-AVR-20090415.dmg
>
> What from CrossPack-AVR do I copy and rename to the Arduino directory?
>
> I've already copied these
>
> * copy sanguino-software-1.4-r1/cores/sanguino to arduino-0017/
> hardware/cores/sanguino
> * copy sanguino-software-1.4-r1/bootloaders/atmega644p to
> arduino-0017/hardware/bootloaders/atmega644p
> * copy all the folders in sanguino-software-1.4-r1/libraries/ to
> arduino-0017/hardware/libraries/ overwriting the existing libraries.
>
> Thanks,
>
> =ml=
>
> On Aug 24, 9:01 am, Jordan Miller <jsmil...@seas.upenn.edu> wrote:
>> ...
>>
>> read more »
> >
>

TeamTeamUSA

unread,
Aug 24, 2009, 4:42:04 PM8/24/09
to MakerBot Operators
Thanks, Jordan.

Yes, I installed the CrossPack and ensured that all libraries, etc.
from the RepRap firmware were copied over to the Arduino directories.

I still get the same avrdude error.

I verified that shorting the PWR [green] and COM [black] pins on the
PSU starts the fan; it does. So the PSU is good.

It's looking like the MoBo doesn't have a valid bootloader or is DOA:
no LEDs lit, no fan when MoBo power switch is ON.

So, is the next step to re-burn the bootloader? If so, can I use the
USB-to-TTL cable or do I need the USBtinyISP?

Before I build up the USBtinyISP, is there anything else I can do to
rule out that the MoBo isn't just DOA?

Thanks,

=ml=

On Aug 24, 9:01 am, Jordan Miller <jsmil...@seas.upenn.edu> wrote:
> ...
>
> read more »

Rick Pollack

unread,
Aug 24, 2009, 6:14:29 PM8/24/09
to make...@googlegroups.com
TeamTeam, you said in a previous thread that your power supply came from the deluxe kit - so this is probably not your issue. Flipping the power switch on the mobo grounds pin 14 on the PSU through a 10k resistor. You might want to try using a 10k resistor, if you have one handy, and do the pin 14 to ground trick to see if your power supply starts. The power supply I'm using, not from MakerBot, needs a 330 ohm resistor to start. Assuming this is not your issue then it seems like there is a mobo problem...

Jordan Miller

unread,
Aug 24, 2009, 6:50:09 PM8/24/09
to make...@googlegroups.com
can you take a high res pic of your mobo? maybe we can spot an error.
otherwise check all the solder points? that's what i'd do (but i'm not
an expert on mobo's by any means)

TeamTeamUSA

unread,
Aug 24, 2009, 7:00:21 PM8/24/09
to MakerBot Operators
Rick, thanks for the feedback. Yep, I think it's the MoBo too.

I'm going to build the USBtinyISP and burn the bootloader again and
see if that fixes it.

Thanks,

=ml=

On Aug 24, 3:14 pm, Rick Pollack <rick.poll...@gmail.com> wrote:
> TeamTeam, you said in a previous thread that your power supply came from the
> deluxe kit - so this is probably not your issue. Flipping the power switch
> on the mobo grounds pin 14 on the PSU through a 10k resistor. You might want
> to try using a 10k resistor, if you have one handy, and do the pin 14 to
> ground trick to see if your power supply starts. The power supply I'm using,
> not from MakerBot, needs a 330 ohm resistor to start. Assuming this is not
> your issue then it seems like there is a mobo problem...
>
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages