Firmware Upload

Firmware Upload steps for MKS v1.5 printer controller board.

Prerequisite:

  1. Downloaded the latest firmware from: Marlin XenoCube Firmware
  2. Downloaded latest version of Arduino: Arduino Download
  3. The controller board is plugged in to power.
  4. There is a USB connection from the board to a computer.

Uploading Firmware to the Printer Control board.

  1. After installing Arduino, open the XenoCubeMarlin.ino, This should open Arduino and load all of the other files in the directory.
  2. Double check that Arduino is connected to the printer. Then select Board and port under Tools > Board = Mega 2560, Port: (This needs to be the com port that the USB cable is plugged into).
  3. There should not be any need to make any changes to the files.
  4. The firmware needs to be verified and complied before upload, run Sketch > Verify/Compile.
  5. Pending no errors from running Verify/Compile, go ahead and run Sketch > Upload. This will re compile the code and upload it to the board. (During the upload the blue com light on the board will flash repeatedly until upload is done.

Common issues:

  • Did not all the files load into Arduino? – Make sure that you either open the .INO file or navigate to File > Open > XenoCubeMarlin.ino. Do so will make sure all needed files are loaded.
  • No Com port listed under Tools > Port? Make sure that you have installed the USB driver. Please see KB article. Installing printer driver to upload firmware.
  • Making changes to any of the files could result in Arduino failing to compile the firmware, or adverse side effects during printing. However, if there are any normal changes that need to be made, look in the Configuration.h file.
  • No flashing lights on the printer board? Make sure that the compiling did not error out and/or communication to printer has not failed.

What Tools will I need?

The following is a list of common tools needed to assemble XenoCube.

  1. Prepping Parts:
    • Drill Bit Set – Including 8mm, 5mm, and 3mm drill bits. Drill the holes on the plastic parts.
    • Metal Chop Saw – Extrusion Bar, Drill Rod, and Threaded Rod needs to be cut.
  2. Frame Construction:
    • Bit Driver – Recommended to save your wrists.
    • Hex Bit Set – Including 3mm Hex, 5mm, Hex, Philips, and Flat head bits.
    • Pliers – Diagonal, and Needle Nose.
  3. Wiring:
    • Wire Stripper – Prepping wire ends.
    • Soldering Iron – Connecting wires together.
    • Wire Crimpers – Connections to PSU and Terminal Blocks.
    • Voltage Meter – Good for checking connections, resist, and well voltages.
  4. Software:
    • Computer – Needed for imaging Raspberry Pi SD card.