2.0.5 init
This commit is contained in:
2297
2.0.5/Marlin/config/examples/Malyan/M150/Configuration.h
Normal file
2297
2.0.5/Marlin/config/examples/Malyan/M150/Configuration.h
Normal file
File diff suppressed because it is too large
Load Diff
3142
2.0.5/Marlin/config/examples/Malyan/M150/Configuration_adv.h
Normal file
3142
2.0.5/Marlin/config/examples/Malyan/M150/Configuration_adv.h
Normal file
File diff suppressed because it is too large
Load Diff
55
2.0.5/Marlin/config/examples/Malyan/M150/README.md
Normal file
55
2.0.5/Marlin/config/examples/Malyan/M150/README.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Configuration for Malyan M150 HobbyKing printer
|
||||
|
||||
Config without automatic bed level sensor, or in other words, "as stock"
|
||||
|
||||
## To install:
|
||||
|
||||
1. Install [Arduino](https://www.arduino.cc/en/Main/Software)
|
||||
|
||||
1. Install U8glib
|
||||
* `Sketch` -> `Include Library` -> `Manage Libraries...`
|
||||
* Search for and install `U8glib` by oliver
|
||||
|
||||
1. Install Sanguino
|
||||
* `File` -> `Preferences`
|
||||
* Add
|
||||
`https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json`
|
||||
to `Additional Boards Manager URLs`
|
||||
|
||||
1. Modify Sanguino `boards.txt`
|
||||
* Close Arduino
|
||||
* Locate Arduino15 folder
|
||||
- `C:\Users\<username>\AppData\Local\Arduino15` for Windows
|
||||
- `~/.arduino15` for Linux
|
||||
|
||||
* Locate `boards.txt` in `packages/Sanguino/hardware/avr/1.0.2`
|
||||
(version number may change)
|
||||
* Add the following to the end of `boards.txt`
|
||||
(note that it is the same as sanguino.menu.cpu.atmega1284p but with
|
||||
a different name and upload speed)
|
||||
|
||||
## Malyan M150 W/ ATmega1284P 16MHz
|
||||
sanguino.menu.cpu.malyan_m150=Malyan M150
|
||||
sanguino.menu.cpu.malyan_m150.upload.maximum_size=130048
|
||||
sanguino.menu.cpu.malyan_m150.upload.maximum_data_size=16384
|
||||
sanguino.menu.cpu.malyan_m150.upload.speed=57600
|
||||
sanguino.menu.cpu.malyan_m150.bootloader.file=optiboot/optiboot_atmega1284p.hex
|
||||
sanguino.menu.cpu.malyan_m150.build.mcu=atmega1284p
|
||||
sanguino.menu.cpu.malyan_m150.build.f_cpu=16000000L
|
||||
|
||||
1. Configure Marlin
|
||||
* Copy `_Bootscreen.h`, `Configuration.h`, and `Configuration_adv.h`
|
||||
from `config/examples/Malyan/M150` to `Marlin`
|
||||
(overwrite files)
|
||||
* Read `Configuration.h` and make any necessary changes
|
||||
|
||||
1. Flash Marlin
|
||||
* Turn on printer while pressing scroll wheel button
|
||||
* Plug printer in to computer with USB cable
|
||||
* Open `Marlin/Marlin.ino` with Arduino
|
||||
* Configure Arduino
|
||||
- `Tools` -> `Board` -> `Sanguino`
|
||||
- `Tools` -> `Processor` -> `Malyan M150`
|
||||
- `Tools` -> `Port` -> Select your port
|
||||
|
||||
* `Sketch` -> `Upload` or click arrow in top right corner
|
||||
71
2.0.5/Marlin/config/examples/Malyan/M150/_Bootscreen.h
Normal file
71
2.0.5/Marlin/config/examples/Malyan/M150/_Bootscreen.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* Custom Boot Screen bitmap
|
||||
*
|
||||
* Place this file in the root with your configuration files
|
||||
* and enable SHOW_CUSTOM_BOOTSCREEN in Configuration.h.
|
||||
*
|
||||
* Use the Marlin Bitmap Converter to make your own:
|
||||
* http://marlinfw.org/tools/u8glib/converter.html
|
||||
*/
|
||||
|
||||
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
|
||||
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
|
||||
|
||||
const unsigned char custom_start_bmp[] PROGMEM = {
|
||||
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||
B00000111,B00000000,B00000000,B00000011,B10000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||
B00011111,B11000000,B00000000,B00001111,B11100000,B01111100,B00000011,B11100000,B01111000,B00011100,B00000111,B10000001,B11100000,B11110000,B00111110,B00001110,
|
||||
B01111111,B11100000,B00000000,B00111111,B11110000,B01111110,B00000111,B11100000,B11111100,B00011100,B00000011,B10000001,B11000001,B11111000,B00111111,B00001110,
|
||||
B01111111,B11111000,B00000000,B01111111,B11110000,B01111110,B00000111,B11100000,B11111100,B00011100,B00000011,B11000011,B11000001,B11111000,B00111111,B00001110,
|
||||
B01111011,B11111110,B00000001,B11111110,B11110000,B01111111,B00001111,B11100001,B11111110,B00011100,B00000001,B11000011,B10000011,B11111100,B00111111,B10001110,
|
||||
B01111100,B11111111,B10000111,B11111001,B11110000,B01110111,B00001110,B11100001,B11111110,B00011100,B00000001,B11100111,B10000011,B11111100,B00111011,B10001110,
|
||||
B01111111,B01111111,B11001111,B11110111,B11110000,B01110111,B10011110,B11100001,B11001110,B00011100,B00000000,B11100111,B00000011,B10011100,B00111011,B11001110,
|
||||
B01111111,B10011111,B11111111,B11001111,B11110000,B01110011,B10011100,B11100011,B11001111,B00011100,B00000000,B11111111,B00000111,B10011110,B00111001,B11001110,
|
||||
B01111111,B11100111,B11111111,B00111111,B11110000,B01110011,B11111100,B11100011,B10000111,B00011100,B00000000,B01111110,B00000111,B00001110,B00111001,B11101110,
|
||||
B01111111,B11111011,B11111110,B11111111,B11110000,B01110001,B11111000,B11100011,B10000111,B00011100,B00000000,B01111110,B00001111,B00001111,B00111000,B11101110,
|
||||
B01111111,B11111100,B11111001,B11111111,B11110000,B01110001,B11111000,B11100111,B11111111,B10011100,B00000000,B00111100,B00001111,B11111111,B00111000,B11111110,
|
||||
B01111111,B11111111,B00100111,B11111111,B11110000,B01110000,B11110000,B11100111,B11111111,B10011100,B00000000,B00111100,B00001111,B11111111,B00111000,B01111110,
|
||||
B01111111,B11111111,B11011111,B11111111,B11110000,B01110000,B11110000,B11101111,B11111111,B11011100,B00000000,B00111100,B00011111,B11111111,B10111000,B01111110,
|
||||
B01111111,B11011111,B11111111,B11011111,B11110000,B01110000,B01100000,B11101111,B00000011,B11011111,B11111000,B00111100,B00011110,B00000111,B10111000,B00111110,
|
||||
B01111111,B11000111,B11111111,B00011111,B11110000,B01110000,B01100000,B11101110,B00000001,B11011111,B11111000,B00111100,B00011100,B00000011,B10111000,B00111110,
|
||||
B01111111,B11000011,B11111110,B00011111,B11110000,B01110000,B00000000,B11101110,B00000001,B11011111,B11111000,B00111100,B00011100,B00000011,B10111000,B00011110,
|
||||
B01111111,B11000011,B11111110,B00011111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||
B01111111,B11000011,B11011110,B00011111,B11110000,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111110,
|
||||
B01111111,B11000011,B11011110,B00011111,B11110000,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111110,
|
||||
B01111111,B11000011,B11011110,B00011111,B11110000,B01111100,B00111111,B11111010,B11111011,B11111111,B11111111,B11111111,B11111101,B01111010,B10111111,B11111110,
|
||||
B01111111,B11000011,B11011110,B00011111,B11110000,B01111101,B10011111,B11111011,B11111111,B11111111,B11111111,B11111111,B11111111,B01111110,B11110111,B11111110,
|
||||
B01111111,B11000011,B11011110,B00011111,B11110000,B01111101,B10010011,B00011010,B10001010,B00011000,B11100011,B10001100,B01000101,B00011010,B10100010,B11011110,
|
||||
B00111111,B11000011,B11011110,B00001111,B11110000,B01111100,B00101101,B11001010,B11001010,B11010110,B11101001,B00100100,B11001101,B01101010,B10110110,B10111110,
|
||||
B00011111,B10000011,B11011110,B00000111,B11100000,B01111101,B10100011,B01101010,B10011010,B11010110,B11101001,B00100110,B01100101,B01101010,B10110110,B00111110,
|
||||
B00000110,B00000011,B11011110,B00000001,B10000000,B01111101,B10010001,B00001010,B10001010,B11011000,B11100011,B10001100,B01000101,B00011010,B10110011,B01111110,
|
||||
B00000000,B00000011,B11011110,B00000000,B00000000,B01111111,B11111111,B11111111,B11111111,B11111110,B11101111,B11111111,B11111111,B11111111,B11111111,B01111110,
|
||||
B00000000,B00000011,B11011110,B00000000,B00000000,B01111111,B11111111,B11111111,B11111111,B11110001,B11101111,B11111111,B11111111,B11111111,B11111110,B11111110,
|
||||
B00000000,B00000011,B11011110,B00000000,B00000000,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111110,
|
||||
B00000000,B00000011,B11011110,B00000000,B00000000,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111110,
|
||||
B00000000,B00000011,B11011110,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||
B00000000,B00000001,B11011100,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||
B00000000,B00000000,B01010000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||
};
|
||||
2266
2.0.5/Marlin/config/examples/Malyan/M200/Configuration.h
Normal file
2266
2.0.5/Marlin/config/examples/Malyan/M200/Configuration.h
Normal file
File diff suppressed because it is too large
Load Diff
3144
2.0.5/Marlin/config/examples/Malyan/M200/Configuration_adv.h
Normal file
3144
2.0.5/Marlin/config/examples/Malyan/M200/Configuration_adv.h
Normal file
File diff suppressed because it is too large
Load Diff
33
2.0.5/Marlin/config/examples/Malyan/M200/README.md
Normal file
33
2.0.5/Marlin/config/examples/Malyan/M200/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
### Malyan M200 Build Instructions
|
||||
|
||||
Malyan M200 series firmware currently builds using the Arduino IDE. These instructions should
|
||||
guide you through the configuration and compilation.
|
||||
|
||||
1. Install the Arduino IDE from your favorite source (arduino.cc, windows store, app store)
|
||||
2. 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**."
|
||||
3. Select **Tools** > **Board** > **Boards Manager**.
|
||||
4. Type "Malyan" into the Search field.
|
||||
5. 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.
|
||||
6. Open the **Tools** > **Board** submenu, scroll all the way down, and select **3D Printer Boards**.
|
||||
7. 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).
|
||||
8. From the **Tools** menu, choose **USB Support** > **CDC No Generic Serial**.
|
||||
9. Download the latest Marlin source (from the [bugfix-2.0.x](https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x) branch) and unzip it.
|
||||
10. Look in the `Marlin` subdirectory for the `Configuration.h` and `Configuration_adv.h` files. Replace these files with the configurations in the `config\examples\Malyan\M200` folder.
|
||||
11. If you have an early-run V2, the steps-per-mm are roughly half. Consult the [mpminipro.com wiki](https://mpminipro.com/) for the steps that apply to your unit. Modify `Configuration.h`.
|
||||
12. 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.
|
||||
13. Open the `Marlin/Marlin.ino` file in Arduino IDE.
|
||||
14. From the **Sketch** menu, select **File** > **Export Compiled Binary**.
|
||||
15. 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 file `Marlin.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. Copy `Marlin.ino.bin` to your SD card under three names: `firmware.bin`, `update.bin`, and `fcupdate.flg`.
|
||||
16. 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.)
|
||||
17. 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.
|
||||
18. Remove the SD card and delete the `fcupdate.flg` file from the card to prevent an accidental re-flash.
|
||||
19. Test the endstops and homing directions, run M303 PID autotune, and verify all features are working correctly.
|
||||
|
||||
Welcome to Marlin 2.x...
|
||||
Reference in New Issue
Block a user