This section will show you how to get firmware into your controller and run it with basic settings.
Software required: FTDI USB drivers, Arduino IDE, Choice of firmware ( Marlin or Repetier or Sprinter ), Pronterface
USB VCP Drivers - MKS Gen uses the newer FT232 USB to UART chip and it needs the updated VCP(virtual com port) drivers from the manufacturer's website . Download the correct version for your operating system or you can get the executable version for Windows(easier). Windows Vista/7 may try to do an update to locate the proper drivers but it is recommended to install the FTDI drivers for better performance. The VCP drivers will install a COM Port on your computer for the MKS Gen, you can check what port number was assigned by going to your device manager and click on Ports(COM & LPT) look for something that says "USB Serial Port(COM3)" where COM3 is you assigned port number(will vary from PC to PC). Remember this number as you will be using it later in configuring other software.
Install Arduino IDE - Download and extract the Arduino IDE .
Get your firmware - While you can use most firmwares out there, we will use Marlin as an example. Download and extract Marlin or any other forks of the firmware that you prefer/need.
Upload firmware - Run the Arduino IDE (arduino.exe).
Select your board - Click on Tools -->Board -->Arduino Mega 2560,
Select your serial port - Click on Tools-->Serial Port-->(select your COM port for the X3 USB, you can check this in Device manager)
On Arduino click File-->Open -- then point to your Marlin Download and select Marlin.pde. With Marlin loaded on the IDE window, click on the tab that says "configuration.h".
These are the basic entries that you need to change to get the X3 working.
#define BAUDRATE 250000 //This will work fine for the MKS Gen
#define MOTHERBOARD 33 //33 is for RAMPS which the MKS GEN is compatible with MOTHERBOARD 34
#define TEMP_SENSOR_0 3 //If you have the NTC 100K
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 3 //If you have the NTC 100K
These entries are the only ones you need just to get the MKS Gen running. Once you get it to upload you can now test most features of the board. You will need to tweak the settings on the configuration file for your printer. Upload(or compile to test) Marlin - While still on the Arduino window. Click on the Triangle inside the circle to do a test compile, this makes sure that the firmware does not contain errors( you can skip this). Click on the arrow pointing to the right inside a square frame to upload firmware to the board. If everything goes well you'll see a "Done Uploading" message near the bottom of the Arduino window.
Last Updated @ 7/25/2018 4:22:34 PM