Editing Updating EBB firmware

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
= Introduction =
+
{{EggBotDocs}}
  
This page gives instructions on updating the EBB (EiBotBoard) firmware, which may be found on your [[AxiDraw]], [[EggBot]], [[WaterColorBot]], or any other machine using the EBB as its controller. In most cases when the firmware is compatible with the current version of the software that you are using, no update is necessary. However, there may be cases where updating allows you to take advantage of new features in the Inkscape extension, bug fixes, or new commands available.
 
  
'''Important caution 1:''' Updating your firmware will reset the EBB to its default state. If you are using a custom USB "nickname", for example with the AxiDraw Naming utility, that nickname will be reset (erased) when updating firmware.
+
= Introduction =
  
'''Important caution 2:''' If you are experiencing difficulty connecting to your machine over USB, then please '''do not''' update its firmware until those issues are resolved.
+
This page gives instructions on updating the EBB (EiBotBoard) firmware, which may be found on your AxiDraw, EggBot, WaterColorBot, or any other machine using the EBB as its controller. In most cases when the firmware is compatible with the current version of the software that you are using, no update is necessary. However, there may be cases where updating allows you to take advantage of new features in the Inkscape extension, bug fixes, or new commands available.
  
The EBB Firmware is open source software distributed under the [https://creativecommons.org/licenses/by/3.0/us/ CC BY 3.0 US] license, with attributions described in the [[EBB_Firmware_License|EBB Firmware License]] (similar to 3-Clause BSD).
 
  
 
== Updater applications for Mac and Windows ==
 
== Updater applications for Mac and Windows ==
Line 13: Line 11:
 
For most users on Mac and Windows, the most straightforward way to update is to run one of our ready-built applications that updates the firmware to the latest major release.  
 
For most users on Mac and Windows, the most straightforward way to update is to run one of our ready-built applications that updates the firmware to the latest major release.  
  
As of this writing, that latest major release is version 2.8.1, and firmware updaters are available to download [https://cdn.evilmadscientist.com/dl/eb/public/UpdateEBB_281_Mac.zip here for Mac] and [https://cdn.evilmadscientist.com/dl/eb/public/Firmware_v281_Win.zip here for Windows].
+
As of this writing, that latest major release is version 2.5.4, and firmware updaters are available to download [https://github.com/evil-mad/axidraw/releases/download/v1.7.8-r1/Firmware_v255_Mac.zip here for Mac] and [https://github.com/evil-mad/axidraw/releases/download/v1.7.8-r1/Firmware_v254_Win.zip here for Windows].
  
For either platform, connect the EBB to your computer via USB. Close any program that may be trying to communicate with the EBB then run the application, which will automatically update the firmware.
+
For either platform, connect the EBB to your computer via USB and then run the application, which will automatically update the firmware.
  
 
For Linux, or if you need to update to a different specific version of the firmware, please follow the "Manual" updating procedures in the next section.
 
For Linux, or if you need to update to a different specific version of the firmware, please follow the "Manual" updating procedures in the next section.
 +
  
  
Line 28: Line 27:
 
You will need to be comfortable with a very small amount of command line work to use this tool.
 
You will need to be comfortable with a very small amount of command line work to use this tool.
  
Note for Linux users: The Linux version of mphidflash was developed and tested under Ubuntu.  Other distributions may have additional dependencies. Additionally, this method requires an "x86" type architecture; it does not currently run on Raspberry Pi.
+
Note for Linux users: The Linux version of mphidflash was developed and tested under Ubuntu 10.04 (Lucid Lynx).  Other distributions may have additional dependencies.
 
   
 
   
  
Line 47: Line 46:
  
 
: You should see the help text for mphidflash. This shows that you can run the application properly.
 
: You should see the help text for mphidflash. This shows that you can run the application properly.
* Download the EBB firmware. Easy link [https://cdn.evilmadscientist.com/dl/eb/public/Firmware_v281_raw.zip here].
+
* Download the EBB firmware. You'll find it listed in the [https://github.com/evil-mad/EggBot Eggbot Repository] as "EBB_Firmware." Download the repository contents by clicking the "Download ZIP" link.
* To "manually" locate an EBB firmware version, look in the [https://github.com/evil-mad/EggBot Eggbot Repository] as "EBB_Firmware." Download the repository contents by clicking the "Download ZIP" link. Identify the particular EBB firmware "hex file" that you want to program onto your board.  The EiBotBoard Firmware ZIP archive contains several slightly different versions: one for EBB version 1.1 (which shipped with clear-chassis kits in 2009), one for EBB 1.2, and one for EBB version 1.3 and higher-- correct for all more recent versions. If in doubt, use the "EBB 1.3" versions.
+
* Identify the particular EBB firmware "hex file" that you want to program onto your board.  The EiBotBoard Firmware ZIP archive contains several slightly different versions: one for EBB version 1.1 (which shipped with clear-chassis kits in 2009), one for EBB 1.2, and one for EBB version 1.3 and higher-- appropriate for all more recent versions.
* Copy the hex file to the folder that contains the mphidflash exectuable for your OS.
+
* Copy the appropriate hex file to the folder that contains the mphidflash exectuable for your OS.
 
* Connect your EBB to the PC with a USB cable. Plug in power to the EBB.
 
* Connect your EBB to the PC with a USB cable. Plug in power to the EBB.
* Put your EBB in 'bootloader mode' by doing one of the following:
+
* Put your EBB in 'bootloader mode' by pressing the PRG button and holding it down while you press and release the RST button. Then you can let go of the PRG button.
** Press the PRG button and hold it down while you press and release the RST button. Then release the PRG button.
 
** If you are using the Inkscape based AxiDraw software, use the "Enter EBB Bootloader mode" option from the Manual tab of AxiDraw Control
 
** If you are using the CLI based AxiDraw software, use the corresponding [https://axidraw.com/doc/cli_api/#bootload bootload] option.
 
 
* Confirm that your EBB is in bootload mode by looking at the red and green LEDs by the USB connector. They should be blinking back and forth pretty fast.
 
* Confirm that your EBB is in bootload mode by looking at the red and green LEDs by the USB connector. They should be blinking back and forth pretty fast.
 
* From the command line, type (for Linux or Mac)
 
* From the command line, type (for Linux or Mac)
  
::<code>./mphidflash -w EBF_v265_BL.unified.hex -r</code>
+
::<code>./mphidflash -w EBFv195_EBBv13.hex -r</code>
  
 
:For Windows type  
 
:For Windows type  
  
::<code>mphidflash -w EBF_v265_BL.unified.hex -r</code>
+
::<code>mphidflash -w EBFv195_EBBv13.hex -r</code>
  
:Where "EBF_v265_BL.unified.hex" is the name of the hex file that you want to program.
+
:Where "EBFv195_EBBv13.hex" is the name of the hex file that you want to program.
 
* Confirm that you get a long series of dots "." on the command line, and that there are no errors. Your EBB will reset itself at the end of the programming process (that's what the '-r' does).
 
* Confirm that you get a long series of dots "." on the command line, and that there are no errors. Your EBB will reset itself at the end of the programming process (that's what the '-r' does).
 
* On Windows, if you have an older firmware and are updating to a relatively newer one, Windows may ask you to find a driver for the device when the EBB resets. You can install the proper windows "INF" driver by downloading and running the EggBot installer for Windows, which Installs the USB driver (the "UBW" driver) from [https://github.com/evil-mad/EggBot/releases GitHub]. If Windows says the drivers are unsigned and do you want to continue, just allow it to install them.
 
* On Windows, if you have an older firmware and are updating to a relatively newer one, Windows may ask you to find a driver for the device when the EBB resets. You can install the proper windows "INF" driver by downloading and running the EggBot installer for Windows, which Installs the USB driver (the "UBW" driver) from [https://github.com/evil-mad/EggBot/releases GitHub]. If Windows says the drivers are unsigned and do you want to continue, just allow it to install them.
 
* After you've updated your EBB with fresh firmware, you can check to see that the new firmware was successfully programmed by opening Inkscape, going to Extensions->Eggbot..., click on the Manual tab, select "Check EBB Version" from the drop down list, and click Apply. In the little dialog box that pops up when this process is finished you should see something like "Firmware Version 2.0.2" or whatever your version number is.
 
* After you've updated your EBB with fresh firmware, you can check to see that the new firmware was successfully programmed by opening Inkscape, going to Extensions->Eggbot..., click on the Manual tab, select "Check EBB Version" from the drop down list, and click Apply. In the little dialog box that pops up when this process is finished you should see something like "Firmware Version 2.0.2" or whatever your version number is.

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)