# Tronxy X5S-400 Marlin stuck at splash-screen

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.

The board is a MKS Melzi v2.0 clone

• 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
Apr 19, 2019 at 17:38

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.

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.

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.

• It's not Chitu, it's this one picclickimg.com/d/l400/pict/163564914630_/… Apr 19, 2019 at 5:07
• @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: facebook.com/groups/1119103791478149. You should be able to get config files (and pre-compiled firmware) there.
– Mick
Apr 19, 2019 at 5:29
• It doesn't look like a Melzi, whoops sorry yes, it's a Melzi MKS v2.0 clone Apr 19, 2019 at 9:32
• Ok, I got it, I flashed the bootloader, the firmware and I modified some configuration.h defines Apr 19, 2019 at 19:00
• 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 . Apr 21, 2019 at 6:30