关于Makerbot的Firmware

3D打印软件设计算法
2013
01/31
00:09
分享
评论
Windows
If you're using Windows, you can use the versions of avr-gcc and avrdude that are bundled with Arduino, or install them yourself:

AVR-GCC and avrdude for Windows http://winavr.sourceforge.net/
SCons site http://www.scons.org/

Get the source
There are two ways to do this: download a tagged zip/tarball, or pull down the latest source.

Getting the latest source
You can get the latest code from the G3Firmware github repository. First install git, and then clone the tree:

git clone git://github.com/makerbot/G3Firmware.git

If you're new to git, definitely check out the tutorials.

If you've already cloned the tree in the past, you can update it by changing to the G3Firmware directory and typing:

git pull

Getting a tagged zip or tarball
If you don't have git installed or don't want to install it, you can get a tagged build from the GitHub download page.
http://github.com/makerbot/G3Firmware/downloads
Running the build
Once avr-g++, scons, and avrdude are in your path, you're pretty much ready to go. Switch to the

G3Firmware/v2

directory and type: scons

to build the motherboard firmware. If you have a cable hooked up to the board, you can upload the firmware with the scons script: scons port=/dev/NAME_OF_YOUR_SERIAL_DEVICE upload

You'll have to manually press the reset button on the board as you run the upload.
If you are trying to build firmwares for motherboards other than the default Cupcake board, you can define the platform you want to compile for with:

scons platform=rrmbv12
scons platform=mb24

You'll also have to define the platform when you upload to a board that is not the default rrmbv12.

Building and uploading the extruder firmware is similar; you'll just use the SConstruct.extruder script instead of the default SConstruct file. You specify the script with the -f flag:

scons -f SConstruct.extruder
scons -f SConstruct.extruder port=/dev/NAME_OF_YOUR_SERIAL_DEVICE upload

Like the motherboard, if you need to upload to any extruder board that is not the default Cupcake board you need to define the platform:

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

You can also define whether or not the board will be using relays or stepper extruders using the "relays=false" or "stepper=true" tags.

Don't forget you'll have to manually press the reset button on the board as you run the upload.

Remember, to upload to an extruder board, you must have your USB-serial cable connected correctly to the extruder board itself! You cannot program an extruder board via the motherboard.


上一篇:replicatorg-0025 不完全汉化版
下一篇:CAD造型软件输出STL文件方法
回复

使用道具 举报

推动3D打印

关注南极熊

通知

联系QQ/微信9:00-16:00

392908259

南极熊3D打印网

致力于推动3D打印产业发展

Copyright © 2024 南极熊 By 3D打印 ( 京ICP备14042416号-1 ) 京公网安备11010802043351
快速回复 返回列表 返回顶部