COMPLETE Firmware Flashing Guide

Discussion in 'Guides, Mods, and Upgrades' started by PsyVision, Mar 10, 2016.

  1. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,411
    Likes Received:
    735
  2. GrodanB

    GrodanB Well-Known Member

    Joined:
    Feb 3, 2016
    Messages:
    211
    Likes Received:
    29
    Why cant I write to the Z bed offset?
    It is set to zero after I flashed. Not a negative number as is has been before. So now it is not possible to set the true Z-axis? (this part: http://wiki.e3d-online.com/wiki/Printer_Commissioning#.284.3.29_Calibrating_Z_Offset)

    There is a Bed Z that is 0,000 and can go to -1.000 before it was like 2 digits in the end... and I think it was called Z offset...

    Hmm... this is not done with mesh leveling?
     
    #102 GrodanB, Jul 4, 2016
    Last edited: Jul 4, 2016
  3. jet

    jet Well-Known Member

    Joined:
    Mar 29, 2016
    Messages:
    231
    Likes Received:
    24
    Ah, I followed the link in a sig instead of a hidden URL.
     
  4. moshen

    moshen Well-Known Member

    Joined:
    Dec 20, 2015
    Messages:
    101
    Likes Received:
    13
    Somehow I bricked my BB where I couldn't flash it in avrdude. It just kept getting timeout errors. The solution was to reflash the bootloader. Generally a USBasp device is needed but if you have another Arduino around you can use that and load a program to act like one. I connected a spare Arduino Uno to the ISP pins on the Rumba and reflashed the bootloader then all was good. It just took me a few hours to figure out that's what I had to do. I used this guide as a good outline of what to do:

    https://www.nova-labs.org/wiki/3d_printer_build_group_7_instructions/flashing_rumba_bootloader
     
    Rob Heinzonly likes this.
  5. Jasons_BigBox

    Jasons_BigBox Well-Known Member

    Joined:
    Mar 25, 2016
    Messages:
    248
    Likes Received:
    71
    Hi all,

    I'm struggling a little with this initial setup. I'm not 100% sure what to do here:

    Copy the U8glib folder from Arduino_1.0.x\libraries\ and Arduino_1.6.x to the libraries folder in the location we installed Arduino IDE to. If you accepted the defaults and are running x64 Windows then it will be C:\Program Files (x86)\Arduino\libraries\. If you are running x86 Windows then it will be C:\Program Files\Arduino\libraries\.

    I've copied the U8glib folder no problem but what should I get from the 1.6.x folder? Should there be another U8glib folder or something else?

    I'm running Arduino 1.6.11 if that makes any difference.

    When I try to compile I get this:

    Arduino.png

    From the description, I'm not sure if it's worked or not?!?!

    Cheers

    Jason

    PS: I can upload using XLoader no problem, I'm just beginning to try through this route.
     
  6. PsyVision

    PsyVision Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    798
    Likes Received:
    248
    It's compiled. THey are warnings, not errors. You should have a .hex in the project folder. or it may have flashed it depending on the option chosen.
     
  7. Jasons_BigBox

    Jasons_BigBox Well-Known Member

    Joined:
    Mar 25, 2016
    Messages:
    248
    Likes Received:
    71
    Great, thanks!
     
  8. jet

    jet Well-Known Member

    Joined:
    Mar 29, 2016
    Messages:
    231
    Likes Received:
    24
    Built RC6 on OSX with Arduino-1.8.1 and found an easier way to flash than with a USB cable. Ok, easier if you're used to unix...

    1) Verify (compile) the code
    2) cd /private/var/folders
    3) find ./ -name "Marlin.ino.hex"

    you'll see something like:

    .//03/0mt_n9lj4y56n6nld7dttyl00000gp/T/arduino_build_477962/Marlin.ino.hex
    (and a bunch of permissions errors)

    Copy that file back to your Marlin directory, then use octoprint to flash.
     

Share This Page