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
    Errrr no...
    You download either only the hex file from that repository or use the URL of that file. I didn't try that by the URL myself so no guarantee...
     
  2. JohnEsc

    JohnEsc Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    229
    Likes Received:
    144
    So I pasted this URL in the address bar and it reported the Firmware Flash was successful: https://github.com/joshuarowley42/B.../BigBox-Pro-Marlin/blob/master/Marlin.cpp.hex

    Is there something I can look for or try to see if in fact the firmware was properly flashed?

    This was reported in the Terminal window:
    [​IMG]
     
  3. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,411
    Likes Received:
    735
    At the very top of the terminal when you connect must be a M110 command... There is a time stamp...
    That time stamp must be the same like in the Default_Version.h.

    Rebeber that after a firmware flash you gotta level the bed. On Dual this is essential because the default values are loaded...
     
  4. JohnEsc

    JohnEsc Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    229
    Likes Received:
    144
    WOW! How would the firmware upgrade help this 1st layer lay down like this? This has to be the best 1st layer my BigBox has laid down on the heated bed!
     

    Attached Files:

    Edward Patel and mike01hu like this.
  5. Steven Burns

    Steven Burns Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    195
    Likes Received:
    55
    Is there a settings guide somewhere?

    I would like to turn in mesh leveling for my pro, but I do not know where and what to change to make that happen.
     
  6. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,411
    Likes Received:
    735
    Not really. All documented in the files. Look in Configuration.h
    I am setting up a fork RC4 for Pro but not yet finished...
     
  7. Steven Burns

    Steven Burns Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    195
    Likes Received:
    55
    I get the following errors when I compile:

    C:\Program Files (x86)\Arduino\libraries\U8glib\utility\u8g_rot.c:48:1: warning: initialization from incompatible pointer type [enabled by default]
    u8g_dev_t u8g_dev_rot = { u8g_dev_rot_dummy_fn, NULL, NULL };
    ^
    C:\Program Files (x86)\Arduino\libraries\U8glib\utility\u8g_rot.c:48:1: warning: (near initialization for 'u8g_dev_rot.dev_fn') [enabled by default]

    Is this OK or am I missing something?
    I added the U8glib.h file so my include sections looks like this:
    #include "Configuration.h"
    #include "pins.h"
    #include <U8glib.h>

    When I compile it says "Done Compiling"

    oddly enough, if I compile it a second time, the errors go away.

    I do not want to brick my printer so any thoughts would be appreciated.

    Also, is there any way to download the software that is already on the printer and just make modifications to it?
     
    #27 Steven Burns, Mar 29, 2016
    Last edited: Mar 29, 2016
  8. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 7, 2014
    Messages:
    450
    Likes Received:
    93
    Sometimes it errors on the first try.

    No you can't extract firmware from an arduino.
     
  9. Steven Burns

    Steven Burns Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    195
    Likes Received:
    55
    Thanks Mike. I just uploaded the new version with the mesh changes and it appears to have taken the changes.

    Thanks again
     
    Mike Kelly likes this.
  10. Mike Oda

    Mike Oda Member

    Joined:
    Dec 21, 2015
    Messages:
    23
    Likes Received:
    2
  11. Miasmictruth

    Miasmictruth Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    804
    Likes Received:
    118
  12. Mike Oda

    Mike Oda Member

    Joined:
    Dec 21, 2015
    Messages:
    23
    Likes Received:
    2
  13. D Jones

    D Jones Member

    Joined:
    Mar 2, 2016
    Messages:
    5
    Likes Received:
    0
    Is there a guide for Mac Users?
     
  14. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    944
    Likes Received:
    190
    @PsyVision Thanks for this.

    Just been through the full setup (with Josh's RC3) and connected to BB without yet flashing (plan to go directly to Alex's RC5).

    Feedback on line from original instructions "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"

    Did copy U8glib folder from Arduino_1.0.x\libraries\

    Note there is no U8glib folder in Arduino_1.6.x . Does this matter?

    In any case the Arduino IDE then announced it had an update for U8glib and I allowed it.
     
  15. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,411
    Likes Received:
    735
    No but if you use Arduino and direct USB connection there is no difference. You need no drivers. Works out of the box.
    On a Mac you neither need putty. Just open a "terminal" and put "ssh pi@octopi" in there.
     
  16. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,411
    Likes Received:
    735
    Arduino has a library manager now. Just open it and install the lib...
     
  17. PsyVision

    PsyVision Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    798
    Likes Received:
    248
    Don't think so as long as it can find a copy of the library that is suitable.
     
  18. mike01hu

    mike01hu Well-Known Member

    Joined:
    Apr 22, 2014
    Messages:
    957
    Likes Received:
    167
    @PsyVision have you any thoughts on the USB driver for Win10? I am trying to update the firmware while waiting for parts to complete my build and have downloaded the revision by @Alex9779 and successfully compiled it through Arduino IDE; I also downloaded the driver you pointed to as Win10 did not see the board but it still does not see it or connect. I have switched to USB power on Rumba and power is confirmed but the IDE does not show a COM port. I am assuming it's a driver issue but have I missed anything? It used to work on Win8.1.
     
  19. Rob Heinzonly

    Rob Heinzonly Well-Known Member

    Joined:
    Sep 20, 2015
    Messages:
    448
    Likes Received:
    174
    I did flash it with Win10, so that should not be a problem.
     
  20. R Design

    R Design Well-Known Member

    Joined:
    Oct 7, 2015
    Messages:
    944
    Likes Received:
    190
    I'm running Win 10 - in Virtualbox on a Mac - and the standard driver worked fine.
     

Share This Page