building the firmware

109 views
Skip to first unread message

Marcus Wolschon

unread,
May 16, 2011, 2:00:37 AM5/16/11
to MakerBot Operators

Hello,

I'm having a look at the firmware to see where I can improve things.
(Haven't done c/c++ in ages but I guess I'll manage.)
https://github.com/makerbot/G3Firmware/tree/master/v2

How do you build it?
There is no Makefile, ant build.xml or automake -file.

v2/README.txt
doesn't mention the required toolchain and build+install+test process.

v2/make-eprom.py was my best bet but that says it just
parses some CSV-file.

How safe is it to install a patched firmware?
Do firmware-updates happen only via the bootloader
and still work even if the firmware itself is foobar?
Any simulation-environment, unit-tests, integration-tests?

Marcus

Joheinz

unread,
May 16, 2011, 2:16:54 AM5/16/11
to make...@googlegroups.com
Hi Marcus,

the firmware is build using Scons. There is some information about the build process on the makerbot wiki:

There are now also a number of firmware derivates, in order to decide which is your best fit, it would probably better to wait until some others respond as well.

Markus


2011/5/16 Marcus Wolschon <marcus....@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
To post to this group, send email to make...@googlegroups.com.
To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/makerbot?hl=en.




--
http://justjoheinz.posterous.com/
http://softwarepoets.org
http://twitter.com/joheinz

Robert Hunt

unread,
May 16, 2011, 8:31:22 AM5/16/11
to MakerBot Operators
Hi Marcus,

I have managed to build the firmware in the past without any issues. I
would highly recommend using Ubuntu or another form of Linux as it
makes it a lot easier. I use VirtualBox under Windows 7 and it works
perfectly fine, I can even connect ReplicatorG in the VM to the Thing-
O-Matic and run prints without issue.

There is some documentation about it at: http://wiki.makerbot.com/v2-firmware

This should get you up and running:

cd to the V2 directory and run:

scons platform=mb24
scons -f SConstruct.extruder platform=ec36

This will build the firmware for the Gen 4 electronics.

On May 16, 6:00 am, Marcus Wolschon <marcus.wolsc...@googlemail.com>
wrote:
> Hello,
>
> I'm having a look at the firmware to see where I can improve things.
> (Haven't done c/c++ in ages but I guess I'll manage.)https://github.com/makerbot/G3Firmware/tree/master/v2

Marcus Wolschon

unread,
May 16, 2011, 8:34:18 AM5/16/11
to MakerBot Operators

I'm trying to set things up on Windows as described in the wiki.
HDD is nearly full.

Robert Hunt

unread,
May 16, 2011, 6:49:11 PM5/16/11
to MakerBot Operators
I never had much luck with it under Windows, several problems
involving paths and include files and git was a pain on Windows.
Similar problem when I came to use Eclipse to build ReplicatorG under
windows, it was having none of it. In the end I just brought up Ubuntu
in VirtualBox and it was just a case of apt-get for scons and a few
other dependencies and I had it compiled without any issues in about
10 minutes of booting the VM. If you are hitting a brick wall with
Windows I would invest in an extra hard disk and suggest a VM.

On May 16, 1:34 pm, Marcus Wolschon <marcus.wolsc...@googlemail.com>
wrote:

Marcus Wolschon

unread,
May 17, 2011, 12:42:49 AM5/17/11
to make...@googlegroups.com

2 words:
Laptop and Traveling. ;)
New HDDs for the file-server at home are coming, so I should
have more free space again in the future.

Marcus Wolschon

unread,
May 17, 2011, 1:02:49 AM5/17/11
to MakerBot Operators


Seems to work fine as long as you set your AVR32_HOME to use the 8.3 -
filename
of "x:\Programme (x86)" as displayed with "dir /X c:\"

Marcus

Marcus Wolschon

unread,
May 17, 2011, 4:46:55 AM5/17/11
to MakerBot Operators
I started modifying the firmware.
(added a belt on/off to the zero-button in jog-mode and started on a
third jog-mode mode
that would control the extruder.)

Can anyone with an interface-board tell me how exactly one leaves the
different modes
and goes back to the main-menu?

Marcus

Marcus Wolschon

unread,
May 17, 2011, 5:35:27 AM5/17/11
to MakerBot Operators

Oh and I have an untested "% done" added to the monitor-mode
for builds from sd-card based on the number of bytes read and file-
size.
Is there a timer, I could use to calculate an estimated time
remaining?

Marcus

On 17 Mai, 10:46, Marcus Wolschon <marcus.wolsc...@googlemail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages