Makerbot的Firmware的源代码下载地址
https://github.com/makerbot/G3Firmware
使用方法:
http://wiki.makerbot.com/v2-firmware
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.
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.
|