Firmware updater app for mac

Code hacking talk

Firmware updater app for mac

Postby PxT » 2013-Jun-Tue-20-Jun

I packaged up my Firmware Updater App for Mac OS and put a link on my wiki page:
http://www.printrbottalk.com/wiki/index ... e=User:PxT

Drag and drop a firmware hex file onto the app icon to launch the app and install that hex onto your printer, no other external utilities required. It will walk you through the necessary steps.
If you double-click the app to launch instead it will try to retrieve and install the latest shipping firmware.

An updated firmware guide incorporating those steps is at the above link as well. So far only tested on Mac OS v10.8 – anyone who tries it, please let me know whether or not it works for you, especially if you are running a different OS version.
  • 5

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Firmware updater app for mac

Sponsor

Sponsor
 

Re: Firmware updater app for mac

Postby PxT » 2013-Jun-Fri-09-Jun

Note that this thread is reserved for discussions of the app itself. Firmware-specific discussions have been split into separate topics for clarity.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby andersonmatt1125 » 2013-Jul-Fri-17-Jul

Oh god thank you thank you thank you!

I've never gotten this damn printer even connected to my computer until I just flashed the firmware with this! I suspect there was never anything installed on it, or it was corrupted somehow. I've been trying everything I could find for 4 days now with no help from Printrbot, and was a couple of hours away from packing it back up and returning it!

Again, thank you!
  • 0

andersonmatt1125
Levelling print bed...
 
Posts: 46
Joined: 2013-Jun-Fri-12-Jun
Reputation: 1

Re: Firmware updater app for mac

Postby PxT » 2013-Jul-Sat-11-Jul

Great, glad it worked for you!
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby PxT » 2013-Aug-Mon-10-Aug

Note to those who are interested, I have posted the source code for this app:
https://github.com/Printrbot/FirmwareUpdatr
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby PxT » 2013-Aug-Mon-12-Aug

Note that there is a new version posted now which adds compatibility for 32-bit systems as well as older versions of Mac OS X. If you have had any problems running the app please re-download the latest version from the link in my signature.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby plexus » 2013-Aug-Mon-14-Aug

no way. great stuff. i guess I missed this in June when you posted. I just downloaded and will try it. thanks PxT very useful as now I wont have to boot windoze and wonder if its windoze or what that sometimes prevents me from loading new firmware.
  • 0

User avatar
plexus
Site Admin
 
Posts: 2116
Joined: 2011-Dec-Mon-16-Dec
Location: Toronto, Canada
Reputation: 95

Re: Firmware updater app for mac

Postby nepaholic » 2013-Aug-Tue-10-Aug

Wow PXT
this app work awsome now on my old macbook with OsX 10.6.8

thank you so much for this.

Cheers
Jens
  • 0

nepaholic
Solid infill...
 
Posts: 201
Joined: 2012-Nov-Wed-11-Nov
Location: Stade/Germany
Reputation: 1

Re: Firmware updater app for mac

Postby Yammerton » 2013-Sep-Fri-07-Sep

Hi PxT, I posted this in another forum but think that this may be the correct place to post. Thank you for putting in all the time in compiling the firmware info and update app. I'm still having issues with updating though using the App. I get a generic "Error" message at 60% Progress (Erasing). I've tried going the Arduino route with even less success. Any thoughts?

Mac OS X 10.6.8
Printrboard Rev.D
Printrbot Simple
  • 0

Yammerton
Levelling print bed...
 
Posts: 35
Joined: 2011-Dec-Thu-06-Dec
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Sep-Fri-13-Sep

Do you have the latest version of the app from the link in my signature? It should show version 1.04 from the About menu item.

If you have verified that then you can try this manual troubleshooting from the command line (Terminal app) by running the following commands after putting your board into boot-loader mode (assumes you have the app in the /Applications folder).

Code: Select all
cd /Applications/Printrbot\ Firmware\ Updater.app/Contents/Resources/
export DYLD_LIBRARY_PATH=./dfu/lib
./dfu/bin/dfu-programmer at90usb1286 erase


If that succeeds you can flash a firmware file. Replace <filename> with the path to your .hex file:
Code: Select all
./dfu/bin/dfu-programmer at90usb1286 flash <filename>


Either way please copy & paste any / all output and I'll try to help.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby Yammerton » 2013-Sep-Fri-20-Sep

Amazing PxT, it worked! Today you've taught a man to fish, thank you so much.
  • 0

Yammerton
Levelling print bed...
 
Posts: 35
Joined: 2011-Dec-Thu-06-Dec
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Sep-Sat-22-Sep

So that worked with no problems? Can you copy/paste the entire successful output if you still have it? The GUI app is doing nothing different than the above so I'm curious why one worked and the other didn't.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby FineAirDE » 2013-Sep-Sun-06-Sep

Thank you very much for this great app, it works fantastic.
  • 0

User avatar
FineAirDE
Loading filament...
 
Posts: 15
Joined: 2012-Sep-Mon-01-Sep
Location: Wiesbaden - Germany
Reputation: 0

Re: Firmware updater app for mac

Postby Yammerton » 2013-Oct-Thu-19-Oct

@PxT // Damn. Unfortunately I didn't document the terminal output.
  • 0

Yammerton
Levelling print bed...
 
Posts: 35
Joined: 2011-Dec-Thu-06-Dec
Reputation: 0

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Tue-15-Oct

Maybe I was supposed to reply here instead

It is version 1.04, here's the terminal stuff you requested

Last login: Sun Oct 6 15:58:27 on ttys000
~ Andrea$ cd Downloads/
Downloads Andrea$ cd Printrbot\ Firmware\ Updater.app/
Printrbot Firmware Updater.app Andrea$ cd Contents/Resources/
Resources Andrea$ export DYLD_LIBRARY_PATH=./dfu/lib
Resources Andrea$ ./dfu/bin/dfu-programmer at90usb1286 erase
Resources Andrea$ ./dfu/bin/dfu-programmer at90usb1286 flash ../../../LC_FW.cpp.hex
Validating...
Image did not validate.
Resources Andrea$ ls -la ../../../LC_FW.cpp.hex*
-rw-r--r--@ 1 Andrea staff 188523 7 Oct 19:16 ../../../LC_FW.cpp.hex
-rw-r--r--@ 1 Andrea staff 33 7 Oct 19:26 ../../../LC_FW.cpp.hex.md5
Resources Andrea$ md5 ../../../LC_FW.cpp.hex
MD5 (../../../LC_FW.cpp.hex) = 14d461b58d167fb71144e20a549d674a
Resources Andrea$ cat ../../../LC_FW.cpp.hex.md5
14d461b58d167fb71144e20a549d674a
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Thu-14-Oct

Looks like a false-alarm "Image did not validate" message has been reported as a bug in come versions of dfu-programmer. I'll try to compile a newer version and see if that helps.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Sat-19-Oct

v1.05 of the updater app is posted now at the link in my signature. This one bundles the latest and greatest version of dfu-programmer so hopefully some of the bugs have been squashed. I also added a little bit more output in the Details disclosure triangle so that we can more easily see what is happening if something does happen to go wrong. Please let me know if it works for you.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Mon-14-Oct

I tried 1.05.
GUI wise everything is the same, same error dialog with no info and there was no difference in the details info.
On the command line I still get an error during validating, but now it says "Flash did not validate. Did you erase first?"
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Mon-17-Oct

What kind of printrboard are you running (revision?) and where did you get it?
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Tue-01-Oct

I have a Printrbot Original with it's original Rev.B board both of which I got from backing the Kickstarter, the host is a 64bit Macbook Air running 10.7.5
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Sun-04-Oct

On the upside, despite this messing around it still responds to the host software, so maybe I will give up on the firmware upgrade and move on to the process of getting the stupid thing printing reliably.
Incidentally the firmware version is reporting:
FIRMWARE_NAME:Marlin V1; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://www.mendel-parts.com PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:1
I don't know if that helps any.
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Wed-16-Oct

However if you do have any further suggestions I'd love to hear them. My original thought was that if I want to fix my various issues once and for all I need to clean slate it and that includes getting known and up to date firmware on there.
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Thu-22-Oct

I just tried to flash that LC firmware to a Rev D board and it worked fine both with the GUI app and using the EXACT command-line syntax that you pasted, so I'm not exactly sure what is going on in your case. You can try to flash by hand with the "--suppress-validation" option, i.e.:
Code: Select all
./dfu/bin/dfu-programmer at90usb1286 flash --suppress-validation ../../../LC_FW.cpp.hex
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Sat-07-Oct

Still no luck. I noticed that that command has a debug flag, so I enabled it. 300 is the highest I could go before it started printing all the usb data byte by byte. It doesn't mean much to me, does mean anything to you?

Code: Select all
Resources Andrea$ ./dfu/bin/dfu-programmer at90usb1286 flash --suppress-validation ../../../LC_FW.cpp.hex --debug 300
     target: at90usb1286
    chip_id: 0x2ffb
  vendor_id: 0x03eb
    command: flash
      quiet: false
      debug: 300
device_type: AVR
------ command specific below ------
   validate: false
   hex file: ../../../LC_FW.cpp.hex

dfu.c:390: dfu_device_init( 1003, 12283, 0xbffffb00, true, false )
dfu.c:392: dfu_device_init(000003eb, 00002ffb)
libusb:info [process_new_device] allocating new device for location 0x14800000
libusb:info [process_new_device] found device with address 128 at 128-05ac-8007-09-00
libusb:info [process_new_device] allocating new device for location 0x14000000
libusb:info [process_new_device] found device with address 129 at 129-05ac-8007-09-00
libusb:info [process_new_device] allocating new device for location 0x14100000
libusb:info [process_new_device] found device with address 1 at 001-046d-c526-00-00
libusb:info [process_new_device] allocating new device for location 0x14200000
libusb:info [process_new_device] found device with address 7 at 007-03eb-2ffb-fe-01
libusb:info [process_new_device] allocating new device for location 0x1a000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8006-09-00
libusb:info [process_new_device] allocating new device for location 0x1a100000
libusb:info [process_new_device] found device with address 2 at 002-8087-0024-09-00
libusb:info [process_new_device] allocating new device for location 0x1a110000
libusb:info [process_new_device] found device with address 3 at 003-05ac-8510-ef-02
libusb:info [process_new_device] allocating new device for location 0x1d000000
libusb:info [process_new_device] found device with address 1 at 001-05ac-8006-09-00
libusb:info [process_new_device] allocating new device for location 0x1d100000
libusb:info [process_new_device] found device with address 2 at 002-8087-0024-09-00
libusb:info [process_new_device] allocating new device for location 0x1d180000
libusb:info [process_new_device] found device with address 3 at 003-0424-2513-09-00
libusb:info [process_new_device] allocating new device for location 0x1d183000
libusb:info [process_new_device] found device with address 4 at 004-05ac-8404-00-00
libusb:info [process_new_device] allocating new device for location 0x1d182000
libusb:info [process_new_device] found device with address 5 at 005-05ac-024d-00-00
libusb:info [process_new_device] allocating new device for location 0x1d181000
libusb:warning [process_new_device] could not retrieve device descriptor: pipe is stalled. skipping device
libusb:info [process_new_device] allocating new device for location 0x1d181300
libusb:warning [process_new_device] could not retrieve device descriptor: device not responding. skipping device
dfu.c:407:  0: 0x05ac, 0x8007
dfu.c:407:  1: 0x05ac, 0x8007
dfu.c:407:  2: 0x046d, 0xc526
dfu.c:407:  3: 0x03eb, 0x2ffb
dfu.c:416: found device at USB:20,7
dfu.c:688: dfu_find_interface()
dfu.c:698: config 0: maxpower=50*2 mA
dfu.c:705: interface 0
dfu.c:714: setting 0: class:0, subclass 0, protocol:0
dfu.c:727: Found DFU Interface: 0
libusb:info [darwin_open] device open for access
dfu.c:427: opened interface 0...
dfu.c:429: set configuration 1...
libusb:info [get_endpoints] building table of endpoints.
libusb:info [darwin_claim_interface] interface opened
dfu.c:432: claimed interface 0...
dfu.c:349: dfu_abort( 0xbffffb00 )
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 1
libusb:info [op_handle_events] checking fd 6 with revents = 10001
libusb:info [darwin_handle_callback] handling control completion with kernel status 0
dfu.c:233: dfu_get_status( 0xbffffb00, 0xbffff988 )
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 1
libusb:info [op_handle_events] checking fd 6 with revents = 10001
libusb:info [darwin_handle_callback] handling control completion with kernel status 0
dfu.c:259: ==============================
dfu.c:261: status->bStatus: OK (0x00)
dfu.c:262: status->bwPollTimeout: 0x0001
dfu.c:264: status->bState: dfuIDLE (0x02)
dfu.c:265: status->iString: 0x00
dfu.c:266: ------------------------------
dfu.c:798: State: dfuIDLE (2)
commands.c:359: write 67018/122880 bytes
atmel.c:1006: atmel_flash( 0xbffffb00, 0x76000, 0, 122880, 128, false )
atmel.c:845: atmel_select_page( 0xbffffb00, 0 )
dfu.c:151: dfu_download( 0xbffffb00, 4, 0xbffff8fb )
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 1
libusb:info [op_handle_events] checking fd 6 with revents = 10001
libusb:info [darwin_handle_callback] handling control completion with kernel status 0
atmel.c:1081: valid block length: 65536, (0 - 65536)
atmel.c:1216: atmel_flash_block( 0xbffffb00, 0x76000, 0, 1024, false )
atmel.c:1174: atmel_flash_populate_header( 0xbffff458, 0, 1024, false )
atmel.c:1240: 1024 bytes to MCU 000000
atmel.c:1127: atmel_flash_populate_footer( 0xbffff458, 0xbffff878, 65535, 65535, 65535 )
atmel.c:1250: message length: 1072
dfu.c:151: dfu_download( 0xbffffb00, 1072, 0xbffff458 )
libusb:info [darwin_async_io_callback] an async io operation has completed
libusb:info [op_handle_events] checking fd 4 with revents = 1
libusb:info [op_handle_events] checking fd 6 with revents = 10001
libusb:info [darwin_handle_callback] handling control completion with kernel status -536854449
libusb:warning [darwin_transfer_status] transfer error: pipe is stalled
dfu.c:964: Unknown error 0xfffffff7 (-9)
atmel.c:1264: dfu_download failed. -9
atmel.c:1094: error flashing the block: -2
commands.c:365: Error while flashing. (-4)
Error while flashing.
libusb:info [event_thread_main] libopenusb/darwin.c event_thread_main: thread exiting
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Sat-12-Oct

What is the output of
Code: Select all
./dfu/bin/dfu-programmer --version 2>&1 | head -1
?



Also, do you have your board connected directly to the computer or through a hub?
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Sat-13-Oct

dfu-programmer 0.6.2

And to be double sure I got a fresh download of the app and checked it again with the same result.
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Sat-13-Oct

I think it's something to do with libusb:
Code: Select all
libusb:warning [darwin_transfer_status] transfer error: pipe is stalled


I'll see if there is an updated version available.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Sun-21-Oct

New version (1.06) of the app is now posted on the usual wiki page. I have updated all libraries to the latest available versions. Please try it out and let me know if there is any change.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Mon-02-Oct

Still getting the same behavior and the same error when run with debug.
So... where does that leave things?

And thanks for all your help btw, even if we haven't managed to solve the issue the help is still appreciated.
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2013-Oct-Tue-12-Oct

I don't know, it's a strange problem. Do you have another computer you can try it with? If you are willing to be without your board for a while I would be happy to try flashing it for you if you mail the board to me. I also have an ISP programmer so I could try to re-flash the boot-loader as well in case that is the problem. Other than that I'm not really sure… it should work, but something is weird either with your board or with your computer.
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby tolomea » 2013-Oct-Thu-17-Oct

So I took the board out of the printer and into work and tried it on a colleagues mac book pro which had exactly the same result.
How would we organize the mail thing? Maybe it's time to move this conversation over to email?
  • 0

tolomea
Loading filament...
 
Posts: 16
Joined: 2012-Aug-Sat-10-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby PxT » 2014-Jan-Sat-01-Jan

FYI for all… I have just updated the app to version 2.0 and put it on my Dropbox. Use the link on my wiki page to download.

This long-overdue update now installs the "Unified" firmware by default, and will also write the PBHQ-recommended parameters relevant to your particular printer model into EEPROM so that after a fresh update you start with a somewhat sane configuration.

As always please let me know in case of any problems. The wiki is having some trouble right now so the "last updated" date on my page has not yet been changed but the link to the ZIP file will give you the latest release (should say Version 2.0 from the About menu option in the app)
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby plexus » 2014-Jan-Mon-21-Jan

PxT I am trying to use the updater, v2.0. i have a file called marlin.hex and drag it on the app. i get the error "Filename must end in .hex"... it does ...?

Update: tried it with v1.04 and it loaded. bug in 2.0?
  • 0

User avatar
plexus
Site Admin
 
Posts: 2116
Joined: 2011-Dec-Mon-16-Dec
Location: Toronto, Canada
Reputation: 95

Re: Firmware updater app for mac

Postby PxT » 2014-Jan-Tue-01-Jan

Looks like I inadvertently introduced a bug. I just pushed v2.0.1 to the same link. Can you try that and see if it fixes the problem for you?
  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby Mochaboy » 2014-Jan-Tue-10-Jan

Darn I wish I'd made a note of which one I used (was a few months back - but it worked like a charm)
  • 0

Octoprint + Raspberry Pi Wireless Printer Server
Printrbot Jr born 6/13
Brass M8 Threaded Z Rod
Tool less belt tensioners
Aluminum print plate
GT2 Timing Belt and 20T aluminum pulleys

Build log & Mods
User avatar
Mochaboy
Print winner 1st
Print winner 1st
 
Posts: 377
Joined: 2013-Jun-Wed-08-Jun
Location: Massachusetts
Reputation: 53

Re: Firmware updater app for mac

Postby KT421 » 2014-Feb-Sun-13-Feb

Hi,

Whenever I try to run this, I get an error that says "dfu-programmer: no device present."

PrintrBot Simple
Rev D board
Mac OS 10.9.1

Repetier can still see and issue commands to the printer, so I have no idea what's going on. Do you have any ideas?

Thanks!
  • 0

KT421
Waiting to connect to printer...
 
Posts: 6
Joined: 2013-Aug-Wed-20-Aug
Reputation: 0

Re: Firmware updater app for mac

Postby rturnock » 2014-Mar-Sat-15-Mar

PxT wrote:Looks like I inadvertently introduced a bug. I just pushed v2.0.1 to the same link. Can you try that and see if it fixes the problem for you?


Paul,

UPDATE: I got it to work finally. I used a different method to jumper the pins on the boot connection. Weird...I bought these things called "jumpers" at radio shack but they don't seem to work. I connected successfully using two wires connected together and good connections pushed all the way down on the pins.
OK, let's see if I can move motors.

Using Repetier Host to look at firmware on the Printrboard tells my that the update of my configuration.h was NOT successful.
The printrbot firmware is still there with cartesian settings.
I am missing some little detail.

>>>>>>>>>>>>>>>>>>>
MAC Desktop connected to Printrbot Simple and Mini Kossel via USB. Everything working well using Arduino IDE to flash firmware updates to Mega2560Ramps1.4 on MK.
I have not tried to update firmware on the Printrbot Simple....no reason to yet.
My problem is with building a 3DR Simple as designed by JohnSL and Richard Horne.
I bought a Printrbot Simple Kit without the wood frame and built a Delta design and I am trying to use the Printrboard Rev. D that came in the kit.
I have been trying various methods to flash the firmware to the Printrboard but have not been successful yet.
I am able to connect using Repetier Host to the Printrboard and I have motors that move but of course they move in cartesian mode and not using Delta configuration.

I just downloaded your firmware updater app for MAC and tried it but got an error.
From Arduino IDE, I had verified and compiled the Printrbot Marlin firmware after changing the configuration.h file to enable Delta movements.
I found the Marlin.cpp.hex file in a temporary directory and moved it to the Printrbot Marlin folder so I could find it again.
I selected the hex file, dragged and dropped it onto the icon for Printrbot Firmware Updater and followed the directions.
The program appeared to be working but ended with a message that there was an "error"

I have just successfully run the Printrbot Firmware Updater in "Auto" mode by clicking on the icon and letting it find the firmware, download the latest version and flash the board.
So, I know the software on my MAC is working and I can connect.
How can I flash my custom firmware for the Delta configuration.h to the Printrboard?
  • 0

Last edited by rturnock on 2014-Mar-Sat-16-Mar, edited 2 times in total.
rturnock
Loading filament...
 
Posts: 23
Joined: 2013-Oct-Fri-12-Oct
Location: Beaverton OR
Reputation: 1

Re: Firmware updater app for mac

Postby rturnock » 2014-Mar-Sat-15-Mar

3DR_Simple_Blue_March10update.JPG
See attached image.
This was taken a few days ago. I now have the effector and rods connected, but still need to build the extruder.
  • 0

You do not have the required permissions to view the files attached to this post.
rturnock
Loading filament...
 
Posts: 23
Joined: 2013-Oct-Fri-12-Oct
Location: Beaverton OR
Reputation: 1

Re: Firmware updater app for mac

Postby rturnock » 2014-Mar-Sat-16-Mar

OK finally got it to work. Turns out the Marlin.cpp.hex file needs to be in the same directory as all the other files and I had moved only that one file to a different directory.
Now to get a good configuration.h that will do the Delta movements and endstops correctly.
  • 0

rturnock
Loading filament...
 
Posts: 23
Joined: 2013-Oct-Fri-12-Oct
Location: Beaverton OR
Reputation: 1

Re: Firmware updater app for mac

Postby rturnock » 2014-Apr-Thu-18-Apr

Update on Printrboard problem connecting to MAC.

Symptoms: Printrboard would not connect in Repetier or Cura.  could not upload firmware and board seemed to be stuck in boot loader mode.
Actions:
1. Checked to make sure there was no jumper or solder connecting the boot pins.
2. disconnected the T-ext, the thermistor for the hot end.
3. followed PxT directions using Pre-configured Arduino to verify, compile and save Marlin.cpp.hex file in temp folder, located using Terminal on MAC.
4. drag and drop hex file on Printrboard Firmware Uploader and followed the directions carefully.
removed the jumper. disconnect usb and power.  Reconnect.
Opened Repetier and selected port: usbmodem12341 that is mapped in my MAC to usb plug in back of computer.
3DR Simple will use USB location fa13 
I have two other USB locations fa12 and fd14.
>>>>>>>>>>
USB bus fa and a USB bus fd
USB bus fa has USB hub fa1
USB bus fd has USB hub fd1
USB hub fa1 has USB location fa13 (Printrboard for 3DR Simple)
USB hub fd has USB location fd14 (Printrboard for Printrbot Simple)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Then disconnected 3DR Simple from MAC, turned off the power to it.
powered up Printrbot Simple, connected USB.
Opened System Information. Noticed that the Printrbot Simple will use USB location fd13 (the other one uses fa13)
Opened Repetier and a new serial port was available called usbmodem11
Hurrah!
Now to make sure I always plug my USB connection into the same location.
Probably best to just leave them plugged into the back of the computer and disconnect at the Printrboard.

Yeah. I am back up and working.
Thank you for letting me rant on my problem.
Hope this helps someone else.
  • 0

rturnock
Loading filament...
 
Posts: 23
Joined: 2013-Oct-Fri-12-Oct
Location: Beaverton OR
Reputation: 1

Re: Firmware updater app for mac

Postby spaceorange12 » 2014-Sep-Wed-19-Sep

PxT, just wanted to let you know that this app is a total lifesaver. I bet the Windows users are jealous :)
  • 1

RIP Printrbot 1405
User avatar
spaceorange12
Printing skirt...
 
Posts: 165
Joined: 2013-Nov-Sat-16-Nov
Reputation: 6

Re: Firmware updater app for mac

Postby PxT » 2015-Mar-Sat-23-Mar

Heads up to all of you that version 3.0 was just released.
Direct download: https://dl.dropboxusercontent.com/u/680 ... er-3.0.zip

This version has support for every known printer release to date and will load the correct PBHQ-supported firmware and configuration for each one. If we missed any, please let me know and as always I'm available here if you run into any trouble. Custom firmware can still be loaded by dragging and dropping a hex file to the application icon.

Screen Shot 2015-03-07 at 8.32.43 PM.png
  • 0

You do not have the required permissions to view the files attached to this post.
User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Firmware updater app for mac

Postby Desdemona1 » 2015-Jun-Mon-16-Jun

Sorry, I just realized this was asked in the wrong place.
  • 0

I think I'd like to do something nice for somebody. I think it's good if you smile at someone, and they smile in return. Voluntary love encourages people to create a sense of friendliness.
User avatar
Desdemona1
Levelling print bed...
 
Posts: 32
Joined: 2015-Mar-Wed-18-Mar
Location: Albany, NY
Reputation: 0


Return to Hack talk

Who is online

Users browsing this forum: No registered users and 1 guest