What's New In The 3D Printer World
Flashing Tronxy X5S Factory Control board USB Cable only
Ok so Scott here again, this time I decided to go ahead and take things to a simple level based off a write up done by Syed Muhammad Shaheryar. I have seen so many comments and issues with people flashing firmware to their factory TronXY X5S control board, now this should work for flashing the firmware on the X3S as well but the firmware I included will need some edit work unlike for the X5S. This Version of Arduino IDE will work just like any other but it can be installed on a thumb drive or SD card and moved from one computer to the next without having to install anything on that computer. it should also work on other boards but I have not tested it.
To start with Items you will need.
USB cable that came with the printer (or about any others that fit both ends)
Tronxy X5S factory control board.
- Remove all versions or Adruino IDE if you already have it installed. From this point on you can use this version for all your firmware updates.
Down load this zip (165.mb)
(note I got comments about people getting heating errors so I changed the firmware temp timer in the firmware in this file but it is only the firmware so you still need the above file first) Temp time extended firmware File is here (please note I updated the first file to include this file as well so this is just here if you already have bootloader and want to use this firmware only)
- Unzip the file in a location of your choosing. This will install a complete new version of Arduino that is stand alone.
- Locate and open the file you saved, then run Arduino exe. See red arrow.
- Once Arduino loads open the marlin INO file for the X5S firmware. (file/open/marlin/ X5S M1.1.8/marlin.ino ) To make this easier I limit the files I see to file type INO (see pic for detail). If your running windows 10 you might have to find the file by going to File/ open/ portable/ sketchbook/ marline/ X5s m1.1.8/ marlin.ino. click open Red arrow again
- Close first window of Aurduino, turn front one full screen.
- Plug in the USB cable and control board. The control board can be left fully installed in the printer just do not have the power on to it just in case. You might have to download and install drivers if windows does not install them on its own.
Drivers can be downloaded here
- Check make sure board is set to “Sanguino” and processor is set to “ATmega 1284 or ATmega1284P (16MHz)” then Set the Port to the one that the control board it using.
- Upload the new firmware (red arrow)…..Wait for it to compile and then it will upload Blue arrow is where it will show compiling and uploading and complete.
Thank you for reading and a big thanks to Alexander Ludwig for giving me his old factory board, because I had already added bootloader to mine.
By doing it this way You can copy the same file onto a thumb drive and run off ant windows computer. and use to flash other boards just save that control boards firmware in the firmware's file.
I am unable to locate the Z offset option. Am I over looking it, or is it missing? Thanks.
I just attempted this and am getting "avrdude: verification error; content mismatch"
any direction is appreciated
If you do not fallow it step by step this might happen. If you had arduino installed before you must remove it first as this version is full stand alone. Then you need to make sure the correct settings are set. If your still having issues post in the forum about it exact details and screen shots will help.
the full error msg
Arduino: 1.8.5 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
Sketch uses 117946 bytes (90%) of program storage space. Maximum is 130048 bytes.
Global variables use 4561 bytes (27%) of dynamic memory, leaving 11823 bytes for local variables. Maximum is 16384 bytes.
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x0c
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
While I have seen this work on Windows 10 I have also seen it be an issue if you have another Windows 7 computer I would try that. I have personally used the exact steps above to flash 4 boards now with zero issues and I have help a lot of others do it... not sure what the issue could be and would rather take this to the forum or even the fb group easier to chat there
avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Any suggestions? Thank you.
You need to set the com port to the one your computer has set for the control board and make sure no slicer or anything is running.
Nevermind... slicer was running... At last, i've been able to upload on this board. Thanks!
Worked great way easier than i was expecting this being my first time ever messing with a firmware upgrade only issue i had was finding the marlin.ino and maybe finding the right port but that was simple just plug in the board and go to devices and printers you will see at the bottom ch340 and then the port it is using will be listed well this is on a windows 10 system
First off thank you for posting this guide.
After a second attempt and restart of the printer I'm showing the updated Marlin 1.1.8, but I now have thermal runaway on my hotend... the moment I turn on the printer it starts heating despite being set to 0 degrees in options. This is a new printer and it could be hardware related unfortunately I'm unsure.
not sure what your issue is might want to check all your connections... then if you had issues at all flashing I would suggest doing it again because there might have been a glitch in the flash just to avoid issues
Yeah if you read through the comments and all this has happened on 2 other people I updated the instruction and included a link to firmware I edited to extend the timer... No clue why it happens on a few as the firmware uploaded is exactly what's running on my printer
What did you change for Temp Extend exactly... I will change it in my X3S version? If you don't mind of course... thanks.
Not a problem at all I think I went 80 or 90 and left it at 2 but another person did 80 and 1...