<p>If the controller is one of Tronxy's new Chitu boards, you will not have the option of recompiling the firmware, since they are locked down. Apart from checking that the PSU is delivering the correct voltage, your only option may be to request a new main board from the vendor.</p>

CC BY-SA 4.0
2019-04-19T05:07:57.750Z
It's not Chitu, it's this one https://www.picclickimg.com/d/l400/pict/163564914630_/Tronxy-X5-X5S-3D-Printer-Controller-Mainboard.jpg
yonutix
CC BY-SA 4.0
2019-04-19T05:29:03.403Z
@yonutix OK. That's basically a Melzi (I think). I don't know much about the bigger Tronxy printers (I'm an X1 user). There is a very good Facebook user group that will give you the answers that you need: https://www.facebook.com/groups/1119103791478149. You should be able to get config files (and pre-compiled firmware) there.
Mick
CC BY-SA 4.0
2019-04-19T09:32:15.237Z
It doesn't look like a [Melzi](https://reprap.org/wiki/Melzi), whoops sorry yes, it's a [Melzi MKS v2.0 clone](https://ae01.alicdn.com/kf/HTB1wHPxRpXXXXbVXXXXq6xXFXXXv/MKS-MELZI-V2-0-RepRap-controller-motherboard-circuit-PCB-3d-printing-mainboard-good-for-Prusa-i3.jpg_640x640.jpg)
Greenonline
CC BY-SA 4.0
2019-04-19T19:00:33.173Z
Ok, I got it, I flashed the  bootloader, the firmware and I modified some configuration.h defines
yonutix
CC BY-SA 4.0
2019-04-21T06:30:20.050Z
Hi @yonutix , could you post your comment `Ok, I got it, I flashed the bootloader, the firmware and I modified some configuration.h defines` as an answer (maybe expanding upon it as well, if possible) and mark it as accepted. That way your question will no longer be in the unanswered list.  As we are a beta site we'd like to keep the unanswered questions to a minimum in order to graduate. Thanks .
Greenonline
CC BY-SA 4.0
2019-04-18T21:35:07.527Z
2019-04-18T21:35:07.527Z
Mick
<p>It looked like the firmware wasn't flashed correctly in the factory. What I did was to flash a bootloader using an Arduino compatible board and to flash the Marlin software e.g. according to <a href="https://www.youtube.com/watch?v=3gwWVFtdg-4" rel="nofollow noreferrer">videos from this guy</a>.</p>

<p>Next, the menu wasn't displayed correctly so I added, in the <code>Configuration.h</code> the following lines:</p>

<pre><code>#define ST7920_DELAY_1 DELAY_NS(63)
#define ST7920_DELAY_2 DELAY_NS(100)
#define ST7920_DELAY_3 DELAY_NS(125)
</code></pre>

<p>Now the display is working fine, and the Marlin firmware can be directly flashed from the computer because the bootloader remains there.</p>

<p>I also had a problem with the heating bed which was heating very slow and I had to raise consistently the <code>TEMP_BED_RESIDENCY_TIME</code> and decrease <code>TEMP_BED_HYSTERESIS</code> to 1.</p>

CC BY-SA 4.0
2019-04-22T17:43:30.350Z
2019-04-22T19:38:36.610Z
2019-04-22T19:38:36.610Z
yonutix
<p>I got a Tronxy X5S-400, I assembled it and when I power it on, I see on the screen one of the below images and gets stuck there.</p>

<p>Is the firmware broken? If yes, where can I get a <code>configuration.h</code> file?</p>

<p>I verified that the two buses between the screen and the mainboard are not loose or incorrectly connected.</p>

<p><a href="https://i.sstatic.net/ilwaq.jpg" rel="nofollow noreferrer" title="Marlin splash screen"><img src="https://i.sstatic.net/ilwaq.jpg" alt="Marlin splash screen" title="Marlin splash screen"></a></p>

<p><a href="https://i.sstatic.net/IIkog.jpg" rel="nofollow noreferrer" title="Screen corruption"><img src="https://i.sstatic.net/IIkog.jpg" alt="Screen corruption" title="Screen corruption"></a></p>

<p>The board is a MKS Melzi v2.0 clone</p>

<p><a href="https://i.sstatic.net/Hhtaw.jpg" rel="nofollow noreferrer" title="Controller"><img src="https://i.sstatic.net/Hhtaw.jpg" alt="Controller" title="Controller"></a></p>

CC BY-SA 4.0
2019-04-19T17:38:29.790Z
Just contact the seller, don't mess with it as this appears to be a dead on arrival (DOA). The seller will come up with a solution, either compensation or a new board. This will only work when you have not tampered with the hardware or software.
0scar
<marlin><firmware>
Tronxy X5S-400 Marlin stuck at splash-screen
yonutix
# Tronxy X5S-400 Marlin stuck at splash-screen

(Asked by: username_0 on 2019-04-18)

I got a Tronxy X5S-400, I assembled it and when I power it on, I see on the screen one of the below images and gets stuck there.

Is the firmware broken? If yes, where can I get a `configuration.h` file?

I verified that the two buses between the screen and the mainboard are not loose or incorrectly connected.

[![Marlin splash screen](https://i.sstatic.net/ilwaq.jpg "Marlin splash screen")](https://i.sstatic.net/ilwaq.jpg "Marlin splash screen")

[![Screen corruption](https://i.sstatic.net/IIkog.jpg "Screen corruption")](https://i.sstatic.net/IIkog.jpg "Screen corruption")

The board is a MKS Melzi v2.0 clone

[![Controller](https://i.sstatic.net/Hhtaw.jpg "Controller")](https://i.sstatic.net/Hhtaw.jpg "Controller")

**Tags:** marlin, firmware

> **Comments:**
> **username_1**: Just contact the seller, don't mess with it as this appears to be a dead on arrival (DOA). The seller will come up with a solution, either compensation or a new board. This will only work when you have not tampered with the hardware or software.  

---

## 2 answers

### Answer by username_0 on 2019-04-22. Score: 2 | Accepted answer

It looked like the firmware wasn't flashed correctly in the factory. What I did was to flash a bootloader using an Arduino compatible board and to flash the Marlin software e.g. according to [videos from this guy](https://www.youtube.com/watch?v=3gwWVFtdg-4).

Next, the menu wasn't displayed correctly so I added, in the `Configuration.h` the following lines:

```
#define ST7920_DELAY_1 DELAY_NS(63)
#define ST7920_DELAY_2 DELAY_NS(100)
#define ST7920_DELAY_3 DELAY_NS(125)

```

Now the display is working fine, and the Marlin firmware can be directly flashed from the computer because the bootloader remains there.

I also had a problem with the heating bed which was heating very slow and I had to raise consistently the `TEMP_BED_RESIDENCY_TIME` and decrease `TEMP_BED_HYSTERESIS` to 1.


---

### Answer by username_2 on 2019-04-18. Score: 1

If the controller is one of Tronxy's new Chitu boards, you will not have the option of recompiling the firmware, since they are locked down. Apart from checking that the PSU is delivering the correct voltage, your only option may be to request a new main board from the vendor.

> **Comments:**
> **username_0**: It's not Chitu, it's this one https://www.picclickimg.com/d/l400/pict/163564914630_/Tronxy-X5-X5S-3D-Printer-Controller-Mainboard.jpg  
> **username_2**: @username_0 OK. That's basically a Melzi (I think). I don't know much about the bigger Tronxy printers (I'm an X1 user). There is a very good Facebook user group that will give you the answers that you need: https://www.facebook.com/groups/1119103791478149. You should be able to get config files (and pre-compiled firmware) there.  
> **username_3**: It doesn't look like a [Melzi](https://reprap.org/wiki/Melzi), whoops sorry yes, it's a [Melzi MKS v2.0 clone](https://ae01.alicdn.com/kf/HTB1wHPxRpXXXXbVXXXXq6xXFXXXv/MKS-MELZI-V2-0-RepRap-controller-motherboard-circuit-PCB-3d-printing-mainboard-good-for-Prusa-i3.jpg_640x640.jpg)  
> **username_0**: Ok, I got it, I flashed the  bootloader, the firmware and I modified some configuration.h defines  
> **username_3**: Hi @username_0 , could you post your comment `Ok, I got it, I flashed the bootloader, the firmware and I modified some configuration.h defines` as an answer (maybe expanding upon it as well, if possible) and mark it as accepted. That way your question will no longer be in the unanswered list.  As we are a beta site we'd like to keep the unanswered questions to a minimum in order to graduate. Thanks .  

---

