You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e9cf46a9a5 | 5 years ago | |
---|---|---|
.. | ||
Configuration.h | 5 years ago | |
Configuration_adv.h | 5 years ago | |
README.md | 5 years ago |
README.md
Malyan M200 Build Instructions
Malyan M200 series firmware currently builds using the Arduino IDE. These instructions should guide you through the configuration and compilation.
- Install the Arduino IDE from your favorite source (arduino.cc, windows store, app store)
- Launch the IDE to add the ST boards manager:
- Open the Preferences dialog.
- Add this link in the "Additional Boards Managers URLs" field: https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
- Select "Show verbose ouptut during: compilation."
- Select Tools > Board > Boards Manager.
- Type "Malyan" into the Search field.
- The only board listed will be "STM32 Cores by STMicroelectronics." Any version from 1.6.0 up is fine. Choose install. This will download many tools and packages, be patient.
- Open the Tools > Board submenu, scroll all the way down, and select 3D Printer Boards.
- From the Tools menu, select a board part number:
- If you own a M200 V1 or early run (black V2), choose Malyan M200 V1.
- If you own a M200 V2 later run (white/black) or V3 (Pro), choose Malyan M200 V2 (The V2 and V3 both share an STM32F070 MCU). Note that the V3 pinout is not complete (autolevel doesn't work as of this writing).
- From the Tools menu, choose USB Support > CDC No Generic Serial.
- Download the latest Marlin source (from the bugfix-2.0.x branch) and unzip it.
- Look in the
Marlin
subdirectory for theConfiguration.h
andConfiguration_adv.h
files. Replace these files with the configurations in theconfig\examples\Malyan\M200
folder. - If you have an early-run V2, the steps-per-mm are roughly half. Consult the mpminipro.com wiki for the steps that apply to your unit. Modify
Configuration.h
. - Inverting Axis. There's no pattern to axes will need to be inverted. The only way to know is to test your particular printer. If you do know, go ahead and invert the correct axes.
- Open the
Marlin/Marlin.ino
file in Arduino IDE. - From the Sketch menu, select File > Export Compiled Binary.
- When compilation is done you've built the firmware. The next stage is to flash it to the board. To do this look for a line like this:
"path/to/bin/arm-none-eabi-objcopy" -O binary "/path/to/Marlin.ino.elf" "/path/to/Marlin.ino.bin"
The fileMarlin.ino.bin
is your firmware binary. M200 (v1-3) and M300 printers require flashing via SD card. Use the SD card that came with the printer if possible. The bootloader is very picky about SD cards. CopyMarlin.ino.bin
to your SD card under three names:firmware.bin
,update.bin
, andfcupdate.flg
. - Insert the SD card into your printer. Make sure the X and Y axes are centered in the middle of the bed. (When X and Y endstops are closed this signals a UI upgrade to the bootloader.)
- Power-cycle the printer. The first flash may take longer. Don't be surprised if the .99 version number doesn't show up until after the UI has launched the default screen.
- Remove the SD card and delete the
fcupdate.flg
file from the card to prevent an accidental re-flash. - Test the endstops and homing directions, run M303 PID autotune, and verify all features are working correctly.
Welcome to Marlin 2.x...