Marlin Firmware for CTC i3 PRO B

Linux Aug 14, 2018

Today I want to show you how you modify the Marlin firmware for a 80€ 3D Printer from EBay.

First of all get the Marlin firmware by cloning the github repo.

git clone https://github.com/Slugger2k/Marlin.git

Now you need the Arduino IDE to compile and upload the firmeware.
You can download it here: https://www.arduino.cc/en/Main/Software

Before you start the IDE edit the boards.txt file and add an entry for the GT2560 board.  Location: ~/arduino-1.8.5/hardware/arduino/avr

Search for Genuino Mega or Mega 2560 and add the code below the last mega. section.

## GT2560 ATmega2560
## -------------------------
mega.menu.cpu.gt2560atmega2560=GT2560 [ATmega2560]
mega.menu.cpu.gt2560atmega2560.upload.protocol=wiring
mega.menu.cpu.gt2560atmega2560.upload.maximum_size=253952
mega.menu.cpu.gt2560atmega2560.upload.speed=57600
mega.menu.cpu.gt2560atmega2560.bootloader.high_fuses=0xD8
mega.menu.cpu.gt2560atmega2560.bootloader.extended_fuses=0xFD
mega.menu.cpu.gt2560atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex
mega.menu.cpu.gt2560atmega2560.build.mcu=atmega2560
mega.menu.cpu.gt2560atmega2560.build.board=AVR_MEGA2560
##############################################################

Now the added board should be visilbe in the tools menu.

  • set the Board to: Arduino/Genuino Mega or Mega 2560
  • set the processor to: GT2560[ATmega2560]
  • set the programmer to: USBtinyISP

Now you can compile and upload the firmware with compile_run-2

If everything work's it should look like this:

Ok fine now you can edit the files for your need.
First you should check the Configuration.h file.

Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.