printrbot / firmwareupdatr Goto Github PK
View Code? Open in Web Editor NEWPrintrbot Firmware Updater for Mac OS X
License: MIT License
Printrbot Firmware Updater for Mac OS X
License: MIT License
I'm trying to use your Beta version 3.0 of your Firmware updater on my mac. (I couldn't find where to post my question on PXT user page on the Printrbot Wiki: http://www.printrbottalk.com/wiki/index.php?title=User:PxT
The previous version that was released Jan 2014 the USB works fine, but on my simple Metal there appears to be an issue with the auto leveling probe/ z-axis... so I wanted to try the Beta 3.0, but can't get past the USB driver.
Not sure if anyone else has had this, but there may be an issue with the MacOS USB on 10.9.5
For the PrintrBot firmware uploader, on OSX, I can not get it to flash new firmware, the app gives me this “error”
Error!
Unable to flash new firmware. Please check your Printrbot Plus connections and then restart this app to try again.
/bin/sh -c export DYLD_LIBRARY_PATH=/Users/USERNAME/Applications/pbFU.app/Contents/Resources/app/resources/dfu-programmer/lib; /Users/USERNAME/Applications/pbFU.app/Contents/Resources/app/resources/dfu-programmer/bin/dfu-programmer at90usb1286 erase
When I try to run the commands directly in terminal:
COMPUTER:~ USERNAME$ /bin/sh -c export DYLD_LIBRARY_PATH=/Users/USERNAME/Applications/pbFU.app/Contents/Resources/app/resources/dfu-programmer/lib; /Users/USERNAME/Applications/pbFU.app/Contents/Resources/app/resources/dfu-programmer/bin/dfu-programmer at90usb1286 erase
export Apple_PubSub_Socket_Render="/private/tmp/com.apple.launchd.m6Ri56AaVU/Render"
export HOME="/Users/USERNAME"
export LANG="en_US.UTF-8"
export LOGNAME="USERNAME"
export OLDPWD
export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/usr/local/mysql/bin"
export PWD="/Users/USERNAME"
export SHELL="/bin/bash"
export SHLVL="2"
export SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.CYO98bVaKW/Listeners"
export TERM="xterm-256color"
export TERM_PROGRAM="Apple_Terminal"
export TERM_PROGRAM_VERSION="400"
export TERM_SESSION_ID="1933819F-413A-43BE-85F7-022645F7EF83"
export TMPDIR="/var/folders/zz/gv_3yc454kj99slpdf4zv6sh0000gn/T/"
export USER="USERNAME"
export XPC_FLAGS="0x0"
export XPC_SERVICE_NAME="0"
export _="/bin/sh"
dyld: Library not loaded: /Users/mick/Downloads/FirmwareUpdatr-master/dfu/lib/libusb-1.0.0.dylib
Referenced from: /Users/USERNAME/Applications/pbFU.app/Contents/Resources/app/resources/dfu-programmer/bin/dfu-programmer
Reason: image not found
Abort trap: 6
COMPUTER:~ USERNAME$
I’m not 100% certain, but it appears that the dfu-programmer may be hard-linked to the developer’s computer? I didn’t want to dive too deep in to the app to figure out if something else was going on, but thought I’d mention this as a potential bug.
The updater doesn't have support for the Printrbot Simple Metal yet. This can cause users to get confused and flash the firmware for the Simple and end up in a bad state.
this is useful if one is using their own hex and version of Marlin or whatever firmware. My printrboard won't connect to any hosts due to invalid eeprom because it still has the custom gcode from the printrbot fork of marlin in its eeprom.
The myterm.py
script currently fails on line 22:
PROGRESS:75
Flashing new firmware
Validating...
115216 bytes used (93.76%)
PROGRESS:90
Writing EEPROM parameters
Traceback (most recent call last):
File "./dfu/bin/myterm.py", line 22, in <module>
import serial
ImportError: No module named serial
Done
PROGRESS:100
Checking the script, it does indeed make a call to import serial
on line 22. However, serial is provided by the pyserial
library, which is not installed by default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.