Difference between revisions of "Firmware"

From Hyrel3D
Jump to: navigation, search
(Motion Controller Firmware)
(Motion Controllers)
 
(222 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|}
 
|}
  
 +
<span style="color: red;">'''PLEASE DO NOT UPDATE ANYTHING WITHOUT CHECKING WITH US.'''</span> hyrel3d@gmail.com
 +
 
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.
 
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, or STM-103 boards, and another for the motion controllers, or STM-427 / STM-407 boards.
+
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.
  
== Print Head / Hot Bed Firmware ==
+
These steps are performed in this video: https://www.youtube.com/watch?v=9qbUzZM3vtg
  
For the STM-103 Boards. Consult the table below for the proper version. The wrong version WILL NOT WORK.
+
== '''Motion Controllers''' ==
 +
 
 +
 
 +
<span style="color: red;">'''PLEASE DO NOT UPDATE ANYTHING WITHOUT CHECKING WITH US.'''</span> hyrel3d@gmail.com
 +
 
 +
To find out what version of <span style="color: blue;">Motion Controller Firmware</span> you are on now:
 +
 
 +
'''For v4:'''
 +
 
 +
[[File:Mcfw_v4.png]]
 +
 
 +
'''For v3:'''
 +
 
 +
[[File:Rep_mc_version_info.png|750px]]
 +
 
 +
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 - Pre-2024 ===
 +
 
 +
For older units, your motion controller (<span style="color: green;">green '''Waveshare stm32f407Z''' on ESR and 30M printers</span>, or <span style="color: blue;">blue '''Waveshare Core 4x9I''' on Hydra and EHR printers</span>) has two switches.
 +
 
 +
<span style="color: red;">The '''BOOT CONFIG''' switch (outlined in red) 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 (outlined in purple) 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 (outlined in blue), 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 Switches - 2024 and Later ===
 +
 
 +
For more recent units, your motion controller (green or black '''Gifford Engineering stm32f407VGT6''') on all models, has two buttons, shown at the bottom right. The one at the very bottom labeled '''RST''' is the reset button; the one just above it labeled '''DFU''' is the BOOT CONFIG button.
 +
 
 +
'''Note that all of these newer FK407 controllers take the same firmware, regardless of model. As of Feb 2025, [[File:Hydra23X10_4.255a.rar | Hydra23X10_4.255a.dfu]] is the latest firmware version for these controllers.
 +
 
 +
<span style="color: red;">In order to enter '''BOOT CONFIG''' mode to update firmware, you must:</span>
 +
 
 +
# Press and '''hold both''' buttons.
 +
# <span style="color: green;">Then '''release''' the '''RST''' (outer) button (outlined in green).</span>
 +
# <span style="color: darkorange;">Then '''release''' the '''DFU''' (inner) button (outlined in orange).</span>
 +
 
 +
Now it's in DFU or programming mode, and it can be flashed with new firmware. Note, the stm32f407VGT6 ONLY TAKES v4.5xx AND LATER FIRMWARE.
 +
 
 +
Images:
 +
 
 +
[[File:Fk407_black_noleds_labeled.png|300px]] [[File:Fk407_green_leds_labeled.png|300px]]
 +
 
 +
<span style="color: red;">Note: In order to RESET the motion controller, you must:</span>
 +
 
 +
# Press and '''hold both''' buttons.
 +
# <span style="color: darkorange;">Then '''release''' the '''DFU''' (inner) button (outlined in orange).</span>
 +
# <span style="color: green;">Then '''release''' the '''RST''' (outer) button (outlined in green).</span>
 +
 
 +
Now the motion controller has been reset.
 +
 
 +
Also note that the <span style="color: red;">LED '''D1''' (outlined in red), indicates power on the board</span>, and the <span style="color: blue;">LED '''D2''' (outlined in blue)</span>, indicates that the board is operational with loaded firmware.
 +
 
 +
=== Motion Controller Firmware ===
 +
 
 +
For all motion controller 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.
  
Video instructions for flashing the 103 (HH/HB) Controllers: https://youtu.be/yM8QMZBTb4o
+
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).
  
 
# Launch Repetrel ( C:\Repetrel\bin\Repetrel.exe ).
 
# Launch Repetrel ( C:\Repetrel\bin\Repetrel.exe ).
 
# Go to File > Update Firmware > Motion Controller
 
# Go to File > Update Firmware > Motion Controller
# Select the latest .dfu file for your machine from the table above.
+
# 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>
 
# Your printer should show as "CONNECTED" in the firmware utility. <b>If it is not:</b>
## Access the Motion Controller.
+
## TRY THE STEPS BELOW before messing with switches and cables, please!
## 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.
 
# Click "Program" - the process takes a few seconds.
 
# IF you had to change the switch, change it back and reset the motion controller.
 
# IF you had to change the switch, change it back and reset the motion controller.
 
# You are done.
 
# You are done.
  
You should not have to flash new firmware on any heads, although some values have changed; please see the charts at [[Cold and Warm Flow]] and [[Hot Flow]] for details.
+
==== But I can't Connect! ====
 +
 
 +
Okay, sometimes the new Repetrel doesn't properly "connect" to allow motion controller firmware update. The following steps work 90+% of the time, and you don't have to move cables around (so it's great when we're updating remotely). I don't know why it works, but trust me, most of the time it does:
 +
 
 +
# Exit Repetrel, Slic3r, and any related programs
 +
# Rename C:\Repetrel to C:\Repetrel_new
 +
# Rename C:\Repetrel_old to C:\Repetrel (You DID rename the old one before the upgrade, yes?)
 +
# Launch (the old) Repetrel
 +
# File > Update Firmware > Motin Controller
 +
# Click "Select File" and then:
 +
# Navigate up to C: and then down to C:\Repetrel_new\bin\firmware and select the new .dfu file
 +
# The programming utility should now show "CONNECTED"
 +
# Click "Program" - you'll see a progress bar below the Program and Select File buttons when it starts
 +
# When complete, the window closes
 +
# Exit Repetrel
 +
# Rename C:\Repetrel to C:\Repetrel_old
 +
# Rename C:\Repetrel_new to C:\Repetrel
 +
# Launch (the new) Repetrel; you may need to change ports under Interface > COM and click Apply, then click PING
 +
# Profit!!
 +
 
 +
====LATEST UPDATE====
 +
So, which printers run which firmware? Great question! Supply chain issues over the last few years have forced us to change a lot of things.
 +
 
 +
'''AS ALWAYs, please use the version of firmware that your unit shipped with''' if you are still running the version of Repetrel that your unit shipped with - or the latest appropriate firmware which was included with your download.
 +
 
 +
As of February, 2025:
 +
 
 +
{| border="1" class="wikitable" style="text-align: center; width: 80%;"
 +
|+ What *.dfu file should I use?
 +
! style="width: 20%;" | If you are using:
 +
! style="width: 20%;" | <span style=color:forestgreen;>ESR/30M, 2013-2020
 +
! style="width: 20%;" | <span style=color:darkorange;>EHR/16A, 2016-2020
 +
! style="width: 20%;" | <span style=color:firebrick;>ANY, 2021-2022
 +
! style="width: 20%;" | ANY, 2023+
 +
|-
 +
! Then your Motion Controller <br> should look like this:
 +
! [[File:fw_407.png]]<br><span style=color:forestgreen;>STM407 mounted on Spine
 +
! [[File:fw_429.png]]<br><span style=color:darkorange;>STM429 mounted on TIB
 +
! [[File:fw_429.png]]<br><span style=color:firebrick;>STM429 mounted on TIB
 +
! [[File:Fk407_black_noleds.png|150px]]<br>FK407 mounted on TIB
 +
|-
 +
! style="width: 20%;" | And your Motor Drivers <br> should look like this:
 +
! style="width: 20%;" | [[File:fw_stamps.png]]<br><span style=color:forestgreen;>Hyrel Motor Stamp<br>(mounted on spine)
 +
! style="width: 20%;" | [[File:fw_encoders.png]]<br><span style=color:darkorange;>Encoder Boxes<br>(mounted near TIB)
 +
! style="width: 10%;" | [[File:fw_canbus.jpg]]<br><span style=color:firebrick;>CANBUS Boards<br>(mounted on motors)
 +
! style="width: 20%;" | [[File:MKS.jpg|150px]]<br>MKS Boards<br>(mounted on motors)
 +
|-
 +
! You need firmware:
 +
| '''[[File:EngineSR_30M_4.203c.rar | EngineSR_30M_4.203c.dfu]]'''
 +
| '''[[File:EngineHR_Hydra_4.203c.rar | EngineHR_Hydra_4.203c.dfu]]'''
 +
| '''[[File:Hydra_With_Can_Motors_4.500C.rar | Hydra_With_CanMotors_4.500C.dfu]]''' <br> ''even if it's not a Hydra - I did not name this file''
 +
| '''[[File:Hydra23X10_4.255a.rar  | Hydra23X10_4.255a.dfu]]'''
 +
|-
 +
! And settings file:
 +
| '''[[File:2019_ESR_30M.rar | 2019_ESR_30M.txt]]''' or '''[[File:2020_ESR_30M.rar | 2020_ESR_30M.txt]]'''
 +
| '''[[File:2020_EHR.rar | 2020_EHR.txt]]'''
 +
| '''[[File:2021_ESR_30M_CAN.rar | 2021_ESR_30M_CAN.txt]]''' or '''[[File:2021_H21_CAN.rar | 2021_H21_CAN.txt]]'''
 +
| ''(varies with model)''
 +
|-
 +
|}
 +
 
 +
<br>
 +
 
 +
Note: If, ''for some reason,'' you are flashing firmware on the 429 board when it is NOT MOUNTED on the Tablet Interface Board, it may not work unless you (carefully!) attach a jumper between the '''PB2''' and '''GND''' pins. Something about a floating pin.
 +
 
 +
[[File:429_jumper.png|500px]]
 +
 
 +
=== 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 <code>C:\repetrel\Printer Settings</code>, 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) ==
 +
 
 +
 
 +
<span style="color: red;">'''PLEASE DO NOT UPDATE ANYTHING WITHOUT CHECKING WITH US.'''</span> hyrel3d@gmail.com
 +
 
 +
To find out what version(s) of <span style="color: orange;">Head/Bed Firmware</span> you are on now:
 +
 
 +
== V2 vs V3 vs V4 ==
 +
 
 +
'''<span style="color: red;">Why is my head FLASHING RED?</span>'''
 +
 
 +
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.
 +
 
 +
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:
 +
 
 +
# [[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.
 +
 
 +
[[File: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 '''[[4_Install|Repetrel]]''' download, and the latest Repetrel\bin directory download.
 +
 
 +
Video instructions for flashing the 103 (HH/HB) Controllers: '''[https://youtu.be/yM8QMZBTb4o CLICK HERE]'''
 +
 
 +
# 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.
  
 +
{| 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.053c.hex
 +
|-
 +
|}
  
{| border="1" class="wikitable" style="width: 65%;"
+
{| border="1" class="wikitable" style="width: 75%;"
|+ Firmware Listing
+
|+ Firmware Listing for '''Repetrel v2 and v3'''<br>''Karl doesn't like me renaming these files, so...''
! style="width: 20%;" | Filament Heads
+
! style="width: 50%;" | Filament Heads
! style="width: 20%;" | Firmware
+
! style="width: 50%;" | Firmware
 
|-
 
|-
| [[MK1-250]]
+
| MK1-250
| _FIL_250_PLAT_1A.hex
+
| MK1_2_PRTDClearWires_1A.hex
 
|-
 
|-
| [[MK1-250]] <span style="color: red;">with red RTDs</span> ''(from 2013, 2014)''
+
| MK1-250 '''with red RTDs (from pre-2015)
 
| _FIL_250_RED_235A.hex
 
| _FIL_250_RED_235A.hex
 
|-
 
|-
| [[MK2-250]]
+
| MK2-250
| _FIL_250_PLAT_1A.hex
+
| MK1_2_PRTDClearWires_1A.hex
 
|-
 
|-
| [[MK1-450]]
+
| MK1-450
| _FIL_450_45A.hex
+
| MK450_Caution_450C_45A.hex
 
|-
 
|-
 
! Emulsion-Type Heads
 
! Emulsion-Type Heads
 
! Firmware
 
! Firmware
 
|-
 
|-
| [[Cold_and_Warm_Flow|All Emulsion-type Heads ''(including mixing heads)'']]
+
| ALL Emulsion-Type Heads
| _TUBES_35K.hex
+
| Emo_Vol_Kra_Cod.52V.hex
 
|-
 
|-
| [[Cold_and_Warm_Flow|With COD or Clench Valve ''tied to Printing Moves Only'']]
+
! Laser Heads and UV Pens
| _TUBES_49V.hex
 
|-
 
! Laser Heads
 
 
! Firmware
 
! Firmware
 
|-
 
|-
| [[Lasers|Diode Lasers on Repetrel v2.x]]
+
| Diode Lasers on Repetrel v2.xs
| _LASER_R2_234.hex
+
| Laser_Diode_Shark_6N.hex
 
|-
 
|-
| [[Lasers|Diode and CO2 Lasers on Repetrel v3.x]]
+
| Diode and CO2 Lasers on Repetrel v3.x
| _LASER_R3_PWM_6L.hex
+
| LaserPWM_8L.hex
 
|-
 
|-
 
! Spindle Tools
 
! Spindle Tools
 
! Firmware
 
! Firmware
 
|-
 
|-
| [[Other_accessories|Spindle Tools ''(1- and 3- Phase)'']]
+
| Spindle Tools, Three-Phase
| _DrillMill_2.3.hex
+
| 3phase_Spindle_238M.hex
 +
|-
 +
| Spindle Tools, Single-Phase
 +
| DrillMill_236M_DC_SPINDLE.hex
 
|-
 
|-
 
! Inkjet Heads
 
! Inkjet Heads
 
! Firmware
 
! Firmware
 
|-
 
|-
| [[Inkjets|Inkjet Headss ''(Heat- and Piezo- based)'']]
+
| Inkjet Headss (Heat- and Piezo- based)
| _INKJET_6E.hex
+
| LaserPWM_8L.hex
 
|-
 
|-
 
|}
 
|}
  
== Print Head / Hot Bed Values ==
+
=== Head / Bed Settings ===
 +
 
 +
''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.
 
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.
  
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 [[Cold and Warm Flow]] and [[Hot Flow]] for our recommended values, then adjust for your custom environment as needed, determined through trial and observation.
+
This also used to be a lot of info to change, but now we have made it easier!
  
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.
+
Right-click on the head (anywhere EXCEPT the "FLASH" button) and open the proper file for your head or bed:
 +
 
 +
[[File:Loadfromfile1.png|250px]]
  
[[File:Headdata_mk1-250.png]]
+
And select the file for the device for which you wish to load the settings:
  
For our purposes, the hotbed and a printhead are controlled in the same manner.
+
[[File:Loadfromfile2.png|500px]]
  
== Motion Controller Firmware ==
+
As with all settings, to store them as defaults, go to the last page and right-click FLASH:
  
For the STM-429 and STM-407 Boards.
+
[[File:Rcflash1.png|500px]]
  
Video instructions for flashing the 407 and 429 (Motion) Controllers: https://youtu.be/cFAFRkpLmww
+
And then click YES:
  
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.
+
[[File:Rcflash2.png|250px]]
  
{| border="1" class="wikitable" style="width: 65%;"
+
'''Old method:'''
|+ Firmware Listing
 
! style="width: 20%;" | Printer Model
 
! style="width: 20%;" | Repetrel Version
 
! style="width: 20%;" | Firmware
 
|-
 
| All Hydra Models ''(3-, 4- and 5- axis)''
 
| Repetrel 3.082_x
 
| Hydra 3.082_x
 
|-
 
| Engine, High Resolution
 
| Repetrel 3.082_x
 
| Hydra 3.082_x
 
|-
 
|rowspan="2"| System 30M ''(and earlier Systems)''
 
| Repetrel 3.082_x
 
| Hyrel 3.081_x
 
|-
 
| Repetrel 2.865
 
| Version 2.414
 
|-
 
|rowspan="2"| Engine, Standard Resolution
 
| Repetrel 3.082_x
 
| Hyrel 3.082_x
 
|-
 
| Repetrel 2.865
 
| Version 2.414
 
|-
 
|}
 
  
== Motion Controller Values ==
+
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.
  
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.
+
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.
  
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.
+
[[File:Headdata_mk1-250.png]]
  
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 our purposes, the hotbed and a printhead are controlled in the same manner.

Latest revision as of 20:47, 9 July 2025

PLEASE DO NOT UPDATE ANYTHING WITHOUT CHECKING WITH US. hyrel3d@gmail.com

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

PLEASE DO NOT UPDATE ANYTHING WITHOUT CHECKING WITH US. hyrel3d@gmail.com

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

For v4:

Mcfw v4.png

For v3:

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 - Pre-2024

For older units, your motion controller (green Waveshare stm32f407Z on ESR and 30M printers, or blue Waveshare Core 4x9I on Hydra and EHR printers) has two switches.

The BOOT CONFIG switch (outlined in red) 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 (outlined in purple) 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 (outlined in blue), 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 Switches - 2024 and Later

For more recent units, your motion controller (green or black Gifford Engineering stm32f407VGT6) on all models, has two buttons, shown at the bottom right. The one at the very bottom labeled RST is the reset button; the one just above it labeled DFU is the BOOT CONFIG button.

Note that all of these newer FK407 controllers take the same firmware, regardless of model. As of Feb 2025, File:Hydra23X10 4.255a.rar is the latest firmware version for these controllers.

In order to enter BOOT CONFIG mode to update firmware, you must:

  1. Press and hold both buttons.
  2. Then release the RST (outer) button (outlined in green).
  3. Then release the DFU (inner) button (outlined in orange).

Now it's in DFU or programming mode, and it can be flashed with new firmware. Note, the stm32f407VGT6 ONLY TAKES v4.5xx AND LATER FIRMWARE.

Images:

Fk407 black noleds labeled.png Fk407 green leds labeled.png

Note: In order to RESET the motion controller, you must:

  1. Press and hold both buttons.
  2. Then release the DFU (inner) button (outlined in orange).
  3. Then release the RST (outer) button (outlined in green).

Now the motion controller has been reset.

Also note that the LED D1 (outlined in red), indicates power on the board, and the LED D2 (outlined in blue), indicates that the board is operational with loaded firmware.

Motion Controller Firmware

For all motion controller 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. TRY THE STEPS BELOW before messing with switches and cables, please!
  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.

But I can't Connect!

Okay, sometimes the new Repetrel doesn't properly "connect" to allow motion controller firmware update. The following steps work 90+% of the time, and you don't have to move cables around (so it's great when we're updating remotely). I don't know why it works, but trust me, most of the time it does:

  1. Exit Repetrel, Slic3r, and any related programs
  2. Rename C:\Repetrel to C:\Repetrel_new
  3. Rename C:\Repetrel_old to C:\Repetrel (You DID rename the old one before the upgrade, yes?)
  4. Launch (the old) Repetrel
  5. File > Update Firmware > Motin Controller
  6. Click "Select File" and then:
  7. Navigate up to C: and then down to C:\Repetrel_new\bin\firmware and select the new .dfu file
  8. The programming utility should now show "CONNECTED"
  9. Click "Program" - you'll see a progress bar below the Program and Select File buttons when it starts
  10. When complete, the window closes
  11. Exit Repetrel
  12. Rename C:\Repetrel to C:\Repetrel_old
  13. Rename C:\Repetrel_new to C:\Repetrel
  14. Launch (the new) Repetrel; you may need to change ports under Interface > COM and click Apply, then click PING
  15. Profit!!

LATEST UPDATE

So, which printers run which firmware? Great question! Supply chain issues over the last few years have forced us to change a lot of things.

AS ALWAYs, please use the version of firmware that your unit shipped with if you are still running the version of Repetrel that your unit shipped with - or the latest appropriate firmware which was included with your download.

As of February, 2025:

What *.dfu file should I use?
If you are using: ESR/30M, 2013-2020 EHR/16A, 2016-2020 ANY, 2021-2022 ANY, 2023+
Then your Motion Controller
should look like this:
Fw 407.png
STM407 mounted on Spine
Fw 429.png
STM429 mounted on TIB
Fw 429.png
STM429 mounted on TIB
Fk407 black noleds.png
FK407 mounted on TIB
And your Motor Drivers
should look like this:
Fw stamps.png
Hyrel Motor Stamp
(mounted on spine)
Fw encoders.png
Encoder Boxes
(mounted near TIB)
Fw canbus.jpg
CANBUS Boards
(mounted on motors)
MKS.jpg
MKS Boards
(mounted on motors)
You need firmware: File:EngineSR 30M 4.203c.rar File:EngineHR Hydra 4.203c.rar File:Hydra With Can Motors 4.500C.rar
even if it's not a Hydra - I did not name this file
File:Hydra23X10 4.255a.rar
And settings file: File:2019 ESR 30M.rar or File:2020 ESR 30M.rar File:2020 EHR.rar File:2021 ESR 30M CAN.rar or File:2021 H21 CAN.rar (varies with model)


Note: If, for some reason, you are flashing firmware on the 429 board when it is NOT MOUNTED on the Tablet Interface Board, it may not work unless you (carefully!) attach a jumper between the PB2 and GND pins. Something about a floating pin.

429 jumper.png

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)

PLEASE DO NOT UPDATE ANYTHING WITHOUT CHECKING WITH US. hyrel3d@gmail.com

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.

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: CLICK HERE

  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.053c.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 Settings

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.