Difference between revisions of "Firmware"

From Hyrel3D
Jump to navigation Jump to search
 
(137 intermediate revisions by the same user not shown)
Line 4: Line 4:
| __TOC__
| __TOC__
|}
|}
New software will often require new firmware. New software packages always come with the latest firmware at the time the software was released; however, sometimes newer firmware is available.


There are two families of firmware; one for the '''Heads and Beds''', or STM-103 boards, and another for the '''Motion Controllers''', or STM-427 / STM-407 boards.


'''Firmware''' [[File:Download_button.png|150px|link=http://hyrel3d.net/downloads/firmware/Firmware_2017.05.10.rar]]
These steps are performed in this video: https://www.youtube.com/watch?v=9qbUzZM3vtg


'''''<span style="color: red;">Versions 2.415 and 33/35, * with Spindle Tool firmware, as of 10 May 2017</span>'''''
== '''Motion Controllers''' ==


=== Flashing Firmware ===
To find out what version of <span style="color: blue;">Motion Controller Firmware</span> you are on now:


New software will often require new firmware. The latest firmware as of 1 Mar 2017 is part of the Repetrel download, above. However, if you only need to upgrade your firmware, download from: http://hyrel3d.net/downloads/firmware/Firmware_2017.05.10.rar
[[File:Rep_mc_version_info.png|750px]]


Video instructions for flashing the 103 (HH/HB) Controllers: https://youtu.be/yM8QMZBTb4o
Legend:
<span style="color: red;">'''RED''' text shows the version of '''SOFTWARE'''.</span><br>
<span style="color: blue;">'''BLUE''' text shows the version of '''FIRMWARE'''.</span><br>
<span style="color: magenta;">'''MAGENTA''' text shows the '''COMMUNICATIONS PROTOCOL''' - USB or UART with port number.</span>
 
=== Motion Controller Switches ===
 
Your motion controller (<span style="color: green;">green '''STM407''' on ESR and 30M printers</span>, or <span style="color: blue;">blue '''STM32''' on Hydra and EHR printers</span>) has two switches.
 
<span style="color: red;">The '''BOOT CONFIG''' switch can be set to '''SYSTEM''' (usually up or left - sometimes needed for flashing firmware) or '''FLASH''' (usually down or right). '''It should be set to FLASH for normal operations.'''</span>
 
<span style="color: purple;">The unlabeled power switch can be set to '''USB''' (usually left or down - you should not need to use this setting) or '''5Vin'''. '''It should be set to 5Vin for normal operations.'''</span>
 
<span style="color: dodgerblue;">Note the '''RESET''' button, shown here above the USB connector and the LED. '''You need to RESET after changing any switch positions.''' All current printers also have a '''RESET''' button on the outside or inside of the chassis.</span>
 
Images:
 
[[File:407_switches.jpg|500px]] [[File:429_switches.jpg|500px]]
 
=== Motion Controller Firmware ===
 
For the STM-429 and STM-407 Boards.
 
Video instructions for flashing the 407 and 429 (Motion) Controllers: https://youtu.be/cFAFRkpLmww


Video instructions for flashing the 407 Motion Controller: https://youtu.be/cFAFRkpLmww
Note that all units shipped since 2015 are internally cabled to automatically connect for flashing, so there should be no need to remove the rear cover or connect special cables.


'''Clench Valves''' require the primary head to have firmware [http://hyrel3d.net/downloads/firmware/CVFW-35K-49V.rar 49V] installed, so that the clench valve is activated (instead of primes/unprimes). Download and flash per instructions above.
You should always use the latest version of the release you are on, and we recommend that you upgrade to the most recent release (but this is not required).


==== Firmware Versions ====
# Launch Repetrel ( C:\Repetrel\bin\Repetrel.exe ).
# Go to File > Update Firmware > Motion Controller
# Select the latest .dfu file for your machine from the table below.
# Your printer should show as "CONNECTED" in the firmware utility. <b>If it is not:</b>
## Access the Motion Controller.
## Change the vertical switch to BOOT CONFIG (away from the vertical switch).
## Reset the motion controller (small button left of the LED).
## You should now be CONNECTED.
# Click "Program" - the process takes a few seconds.
# IF you had to change the switch, change it back and reset the motion controller.
# You are done.


As of May, 2018, the following versions should be used for Repetrel versions 2.x and 3.x:
{| border="1" class="wikitable" style="width: 80%;"
|+ Firmware Listing
! style="width: 20%;" | Printer Model
! style="width: 20%;" | Repetrel Version
! style="width: 20%;" | Firmware
|-
!rowspan="2"| All Hydra Models ''(3-, 4- and 5- axis)''
| '''Repetrel 4.2.431'''
| '''EngineHR_Hydra_4.200l.dfu''' (L)
|-
| Repetrel 3.084c
| Hydra 3.083m
|-
!rowspan="2"| Engine, High Resolution (EHR)
| '''Repetrel 4.2.431'''
| '''EngineHR_Hydra_4.200l.dfu''' (L)
|-
| Repetrel 3.084c
| Hydra 3.083m
|-
!rowspan="4"| System 30M ''(and earlier Systems)''<br>and Engine, Standard Resolution (ESR)
| '''Repetrel 4.2.431'''
| '''EngineSR_30M_4.200l.dfu''' (L)
|-
| Repetrel 3.084c
| Hyrel 3.083m
|-
| Repetrel 2.865
| Version 2.415
|-
| Repetrel 1.85
| Version 1.85
|-
|}


Use '''_TUBES_35K.hex''' :
=== Motion Controller Values ===
* For all emulsion heads performing prime/unprime actions.
* For all emulsion heads with COD LED activity on constantly.


Use '''_TUBES_49V.hex''' :
Let's not confuse flashing a version of firmware on the motion controller with flashing new default values to the motion controller - again, not my terms.
* For all emulsion heads using Clench Valves instead of prime/unprime actions.
* For all emulsion heads using COD LED activity tied to printing moves only.


Use '''_FIL_250_PLAT_1A.hex''' :
We should always be sure that we're running not only with the correct version of the motion controller firmware, but that the values for the present model of equipment are being used. In Repetrel, under Settings > Printer, a dialog box will open with lots of numbers you may want to play with. Please don't change any values unless you're sure that they will do something that you want. We have default files for each model, and some users will want to save custom settings - like different park positions for different beds, or different maximum print speeds and acceleration parameters for more heavily outfitted yoke assemblies.
* For MK1-250 and MK2-250 heads.
* For heated emulsions heads which don't seem to reach max temperature.


Use '''_FIL_450_45A.hex''' :
There is a utility to read and write configuration files on every PC running Repetrel v3 at <code>C:\repetrel\Printer Settings</code>, and you should run on (or at least start with) the configuration file for your model printer.
* For MK1-450 heads.


Use '''_FIL_250_RED_235A.hex''' :
Please resist the urge to go tampering here without talking to us. There's probably a better way to achieve your desired end results.
* For older MK1-250 heads with '''RED''' RTDs.


Use '''_INKJET_6E.hex''' :
== '''Heads and Beds''' (STM103 boards) ==
* For Inkjet heads.


Use '''_DrillMill_2.3.hex''' :
To find out what version(s) of <span style="color: orange;">Head/Bed Firmware</span> you are on now:
* For Spindle Tools.


Use '''_LASER_R2_234.hex''' :
== V2 vs V3 vs V4 ==
* For any Lasers running on Repetrel 2.x.


Use '''_LASER_R3_PWM_6L.hex''' :
'''<span style="color: red;">Why is my head FLASHING RED?</span>'''
* For any Lasers running on Repetrel 3.x.


=== Installing Drivers ===
Non-Hydra units shipping through spring 2017 shiped with Repetrel version 2.x, and should be on the last version 2 release.


If, for some reason, you re-OSed or re-imaged your PC, or are installing on a new PC (or your local IT people made some changes preventing you from connecting to the printer), you will need to ensure that the proper drivers are in place. AFTER you have done the install above:
Hydra units, and other units shipping through spring 2019 shipped with version 3.x, and should be on the last version 3 release.


1. Run: '''C:\repetrel\ST-LINK Utility\Windows 8 Compatibility Resolver.bat'''
All units shipping after spring 2019 ship with version 4.x, and should be on the last version 4 release.


2. Right-Click and RUN AS ADMINISTRATOR: '''C:\repetrel\DfuSe\Driver\dpinst_x86.exe''' (or other appropriate file if on another architecture); Click to ALLOW this program to run.
Please use the files in your C:\Repetrel\bin\firmware directory, since it is "paired" with your Repetrel version.


Now, in Devices and Printers, you should see the '''FT232R USB UART''' without any alert icon. Congratulations!
All units should be upgraded to the latest version when it is available. If you run a head with v2 settings on a v3 or later install, the background will '''<span style="color: red;">FLASH RED</span>'''; this '''DOES NOT''' mean that you need to flash new '''FIRMWARE''' - this '''DOES''' mean that you need to flash new '''VALUES''' to the head. Please make the changes noted for each head and right-click-flash these values on your heads:


=== Installing on Another Computer ===
# [[Cold_and_Warm_Flow#Settings_for_Cold_and_Warm_Flow_Heads|For Cold and Warm Flow (EMO, SDS, VOL, KRA, TAM, etc).]]
# [[Hot_Flow#Settings_for_Hot_Flow_Heads|For Hot flow (MK*).]]
# For the HotBed Controller, just define it as a print head, set the pulses to 10, redefine it as a hotbed, and flash these settings. Contact us for help.


We run the current Repetrel on Windows 7, 8 and 10 on both Intel and AMD processors; however, you may not be able to run the printer from every unique environment possible. Please know that we cannot help troubleshoot every unique environment - this is why we include a full Tablet PC with each printer. These instructions work for most external installs:
[[File:Head_bed_version_info_v4.png]]


# Install Repetrel, as above (no old folder to rename).
=== Head / Bed Firmware ===
# Install Drivers, as above.
# Install Ecosystem Apps, as below.
# Navigate to C:\EcosystemApps\Slic3r\slic3r.exe and execute it from the windows browser BEFORE LAUNCHING Repetrel.
## Go to File > Preferences and set the Mode to Expert, check all four boxes, and click OK. Then close Slic3r and launch Repetrel.


==== My Unit Shipped with a Tablet ====
For the STM-103 Boards. Consult the table below for the proper version. The wrong version WILL NOT WORK.


1. Don't worry about ever powering up the tablet - you can remove it. We just want the 3.3v, 5v and 12v power and USB connectivity to the spine and beyond.
These files are included in the latest '''[[4_Install|Repetrel]]''' download, and the latest Repetrel\bin directory download.


2. Install the software as shown at [[Software#Repetrel_.26_Firmware_-_Version_2.855_as_of_19_Apr_2016|Repetrel]] above, and [[Software#Ecosystem_Apps|Ecosystem Apps]] below.
Video instructions for flashing the 103 (HH/HB) Controllers: https://youtu.be/yM8QMZBTb4o


3. Install the drivers as shown at [[Software#Installing_Drivers|Drivers]] above.
# Launch Repetrel ( C:\Repetrel\bin\Repetrel.exe ).
# Go to File > Update Firmware > HotHead Controller (even for HotBeds).
# Navigate to the proper .hex file for your machine from the table below.
# Connect the ST-Link as shown in the video above.
# Click "Program" - the process takes a few seconds.
# You are mostly done - you still need to update the settings on each head and the hotbed, but that's easy now - see below.


4. Unplug the cables for the tablet USB connectivity and install PC Jumpers as shown:
{| border="1" class="wikitable" style="width: 75%;"
|+ Firmware Listing for '''Repetrel v4'''<br>''Thankfully, this is now very simple:''
! style="width: 50%;" | All Heads
! style="width: 50%;" | Firmware
|-
| ALL HEADS
| Heads_Beds_103_4.050f.hex
|-
|}


[[Category:Software]]
{| border="1" class="wikitable" style="width: 75%;"
[[Category:Firmware]]
|+ Firmware Listing for '''Repetrel v2 and v3'''<br>''Karl doesn't like me renaming these files, so...''
{| align="right"
! style="width: 50%;" | Filament Heads
| __TOC__
! style="width: 50%;" | Firmware
|-
| MK1-250
| MK1_2_PRTDClearWires_1A.hex
|-
| MK1-250 '''with red RTDs (from pre-2015)
| _FIL_250_RED_235A.hex
|-
| MK2-250
| MK1_2_PRTDClearWires_1A.hex
|-
| MK1-450
| MK450_Caution_450C_45A.hex
|-
! Emulsion-Type Heads
! Firmware
|-
| ALL Emulsion-Type Heads
| Emo_Vol_Kra_Cod.52V.hex
|-
! Laser Heads and UV Pens
! Firmware
|-
| Diode Lasers on Repetrel v2.xs
| Laser_Diode_Shark_6N.hex
|-
| Diode and CO2 Lasers on Repetrel v3.x
| LaserPWM_8L.hex
|-
! Spindle Tools
! Firmware
|-
| Spindle Tools, Three-Phase
| 3phase_Spindle_238M.hex
|-
| Spindle Tools, Single-Phase
| DrillMill_236M_DC_SPINDLE.hex
|-
! Inkjet Heads
! Firmware
|-
| Inkjet Headss (Heat- and Piezo- based)
| LaserPWM_8L.hex
|-
|}
|}


[[File:USBBchanges.png|600px|USB: Tablet Interface Board Changes for USBB Control]]
=== Head / Bed Values ===
 
''Note: For CO<sub>2</sub> Lasers, Your acutal laser controller, on the Aux Heads tab, should be set to "Laser_40".''<br>
''Note: For CO<sub>2</sub> Lasers, Your safety/mirror/lens controller, on the Heads 1-5 tab, should be set to "CO2_Laser"''
 
Let's not confuse flashing a version of firmware on a head with flashing new default values to a head. I know - I didn't come up with the terms.
 
This also used to be a lot of info to change, but now we have made it easier!
 
Right-click on the head (anywhere EXCEPT the "FLASH" button) and open the proper file for your head or bed:
 
[[File:Loadfromfile1.png|250px]]


See the [https://www.youtube.com/watch?v=uPqr4S0WC3Q video].
And select the file for the device for which you wish to load the settings:


5. Run a USB A to B cable from your PC to the USB-B port on the left side of the Printer:
[[File:Loadfromfile2.png|500px]]


[[File:USBBleft.png|300px|USB: Left side of Printer]]
As with all settings, to store them as defaults, go to the last page and right-click FLASH:


==== My Unit Shipped with a Motherboard ====
[[File:Rcflash1.png|500px]]


1. Don't worry about ever powering up the motherboard. We just want the 3.3v, 5v and 12v power to the spine and beyond.
And then click YES:


2. Install the software as shown at [[Software#Repetrel_.26_Firmware_-_Version_2.855_as_of_19_Apr_2016|Repetrel]] above, and [[Software#Ecosystem_Apps|Ecosystem Apps]] below.
[[File:Rcflash2.png|250px]]


3. Install the drivers as shown at [[Software#Installing_Drivers|Drivers]] above.
'''Old method:'''


4. Run a USB to MiniUSB cable from your PC to the MiniUSB port on the right side of the Spine:
Once your head has the proper firmware version running on it, you want to be sure that the values for the head are correct. Please consult the pages for [[Reservoir_Heads]] and [[Filament_Heads]] for our recommended values, then adjust for your custom environment as needed, determined through trial and observation.


[[File:USBright.png|300px|USB: Lower Right Spine]]
To change the values, click on the arrow at the top right (next page) or the temperature display area at the top left (previous page) of the displayed data for that head. Edit values as appropriate, and then on the last page, RIGHT-CLICK on the '''Flash''' button and then confirm that you want to overwrite the previous defaults with these values, then click '''Yes''' on the confirmation dialog box.


5. Run a USB to MiniUSB cable from your PC to the MiniUSB port on the top, inside of the Spine:
[[File:Headdata_mk1-250.png]]


[[File:USBtop.png|300px|USB: Top Inside Spine]]
For our purposes, the hotbed and a printhead are controlled in the same manner.

Latest revision as of 19:20, 19 July 2021

New software will often require new firmware. New software packages always come with the latest firmware at the time the software was released; however, sometimes newer firmware is available.

There are two families of firmware; one for the Heads and Beds, or STM-103 boards, and another for the Motion Controllers, or STM-427 / STM-407 boards.

These steps are performed in this video: https://www.youtube.com/watch?v=9qbUzZM3vtg

Motion Controllers

To find out what version of Motion Controller Firmware you are on now:

Rep mc version info.png

Legend: RED text shows the version of SOFTWARE.
BLUE text shows the version of FIRMWARE.
MAGENTA text shows the COMMUNICATIONS PROTOCOL - USB or UART with port number.

Motion Controller Switches

Your motion controller (green STM407 on ESR and 30M printers, or blue STM32 on Hydra and EHR printers) has two switches.

The BOOT CONFIG switch can be set to SYSTEM (usually up or left - sometimes needed for flashing firmware) or FLASH (usually down or right). It should be set to FLASH for normal operations.

The unlabeled power switch can be set to USB (usually left or down - you should not need to use this setting) or 5Vin. It should be set to 5Vin for normal operations.

Note the RESET button, shown here above the USB connector and the LED. You need to RESET after changing any switch positions. All current printers also have a RESET button on the outside or inside of the chassis.

Images:

407 switches.jpg 429 switches.jpg

Motion Controller Firmware

For the STM-429 and STM-407 Boards.

Video instructions for flashing the 407 and 429 (Motion) Controllers: https://youtu.be/cFAFRkpLmww

Note that all units shipped since 2015 are internally cabled to automatically connect for flashing, so there should be no need to remove the rear cover or connect special cables.

You should always use the latest version of the release you are on, and we recommend that you upgrade to the most recent release (but this is not required).

  1. Launch Repetrel ( C:\Repetrel\bin\Repetrel.exe ).
  2. Go to File > Update Firmware > Motion Controller
  3. Select the latest .dfu file for your machine from the table below.
  4. Your printer should show as "CONNECTED" in the firmware utility. If it is not:
    1. Access the Motion Controller.
    2. Change the vertical switch to BOOT CONFIG (away from the vertical switch).
    3. Reset the motion controller (small button left of the LED).
    4. You should now be CONNECTED.
  5. Click "Program" - the process takes a few seconds.
  6. IF you had to change the switch, change it back and reset the motion controller.
  7. You are done.
Firmware Listing
Printer Model Repetrel Version Firmware
All Hydra Models (3-, 4- and 5- axis) Repetrel 4.2.431 EngineHR_Hydra_4.200l.dfu (L)
Repetrel 3.084c Hydra 3.083m
Engine, High Resolution (EHR) Repetrel 4.2.431 EngineHR_Hydra_4.200l.dfu (L)
Repetrel 3.084c Hydra 3.083m
System 30M (and earlier Systems)
and Engine, Standard Resolution (ESR)
Repetrel 4.2.431 EngineSR_30M_4.200l.dfu (L)
Repetrel 3.084c Hyrel 3.083m
Repetrel 2.865 Version 2.415
Repetrel 1.85 Version 1.85

Motion Controller Values

Let's not confuse flashing a version of firmware on the motion controller with flashing new default values to the motion controller - again, not my terms.

We should always be sure that we're running not only with the correct version of the motion controller firmware, but that the values for the present model of equipment are being used. In Repetrel, under Settings > Printer, a dialog box will open with lots of numbers you may want to play with. Please don't change any values unless you're sure that they will do something that you want. We have default files for each model, and some users will want to save custom settings - like different park positions for different beds, or different maximum print speeds and acceleration parameters for more heavily outfitted yoke assemblies.

There is a utility to read and write configuration files on every PC running Repetrel v3 at C:\repetrel\Printer Settings, and you should run on (or at least start with) the configuration file for your model printer.

Please resist the urge to go tampering here without talking to us. There's probably a better way to achieve your desired end results.

Heads and Beds (STM103 boards)

To find out what version(s) of Head/Bed Firmware you are on now:

V2 vs V3 vs V4

Why is my head FLASHING RED?

Non-Hydra units shipping through spring 2017 shiped with Repetrel version 2.x, and should be on the last version 2 release.

Hydra units, and other units shipping through spring 2019 shipped with version 3.x, and should be on the last version 3 release.

All units shipping after spring 2019 ship with version 4.x, and should be on the last version 4 release.

Please use the files in your C:\Repetrel\bin\firmware directory, since it is "paired" with your Repetrel version.

All units should be upgraded to the latest version when it is available. If you run a head with v2 settings on a v3 or later install, the background will FLASH RED; this DOES NOT mean that you need to flash new FIRMWARE - this DOES mean that you need to flash new VALUES to the head. Please make the changes noted for each head and right-click-flash these values on your heads:

  1. For Cold and Warm Flow (EMO, SDS, VOL, KRA, TAM, etc).
  2. For Hot flow (MK*).
  3. For the HotBed Controller, just define it as a print head, set the pulses to 10, redefine it as a hotbed, and flash these settings. Contact us for help.

Head bed version info v4.png

Head / Bed Firmware

For the STM-103 Boards. Consult the table below for the proper version. The wrong version WILL NOT WORK.

These files are included in the latest Repetrel download, and the latest Repetrel\bin directory download.

Video instructions for flashing the 103 (HH/HB) Controllers: https://youtu.be/yM8QMZBTb4o

  1. Launch Repetrel ( C:\Repetrel\bin\Repetrel.exe ).
  2. Go to File > Update Firmware > HotHead Controller (even for HotBeds).
  3. Navigate to the proper .hex file for your machine from the table below.
  4. Connect the ST-Link as shown in the video above.
  5. Click "Program" - the process takes a few seconds.
  6. You are mostly done - you still need to update the settings on each head and the hotbed, but that's easy now - see below.
Firmware Listing for Repetrel v4
Thankfully, this is now very simple:
All Heads Firmware
ALL HEADS Heads_Beds_103_4.050f.hex
Firmware Listing for Repetrel v2 and v3
Karl doesn't like me renaming these files, so...
Filament Heads Firmware
MK1-250 MK1_2_PRTDClearWires_1A.hex
MK1-250 with red RTDs (from pre-2015) _FIL_250_RED_235A.hex
MK2-250 MK1_2_PRTDClearWires_1A.hex
MK1-450 MK450_Caution_450C_45A.hex
Emulsion-Type Heads Firmware
ALL Emulsion-Type Heads Emo_Vol_Kra_Cod.52V.hex
Laser Heads and UV Pens Firmware
Diode Lasers on Repetrel v2.xs Laser_Diode_Shark_6N.hex
Diode and CO2 Lasers on Repetrel v3.x LaserPWM_8L.hex
Spindle Tools Firmware
Spindle Tools, Three-Phase 3phase_Spindle_238M.hex
Spindle Tools, Single-Phase DrillMill_236M_DC_SPINDLE.hex
Inkjet Heads Firmware
Inkjet Headss (Heat- and Piezo- based) LaserPWM_8L.hex

Head / Bed Values

Note: For CO2 Lasers, Your acutal laser controller, on the Aux Heads tab, should be set to "Laser_40".
Note: For CO2 Lasers, Your safety/mirror/lens controller, on the Heads 1-5 tab, should be set to "CO2_Laser"

Let's not confuse flashing a version of firmware on a head with flashing new default values to a head. I know - I didn't come up with the terms.

This also used to be a lot of info to change, but now we have made it easier!

Right-click on the head (anywhere EXCEPT the "FLASH" button) and open the proper file for your head or bed:

Loadfromfile1.png

And select the file for the device for which you wish to load the settings:

Loadfromfile2.png

As with all settings, to store them as defaults, go to the last page and right-click FLASH:

Rcflash1.png

And then click YES:

Rcflash2.png

Old method:

Once your head has the proper firmware version running on it, you want to be sure that the values for the head are correct. Please consult the pages for Reservoir_Heads and Filament_Heads for our recommended values, then adjust for your custom environment as needed, determined through trial and observation.

To change the values, click on the arrow at the top right (next page) or the temperature display area at the top left (previous page) of the displayed data for that head. Edit values as appropriate, and then on the last page, RIGHT-CLICK on the Flash button and then confirm that you want to overwrite the previous defaults with these values, then click Yes on the confirmation dialog box.

Headdata mk1-250.png

For our purposes, the hotbed and a printhead are controlled in the same manner.