M200Toolchain
M200Toolchain copied to clipboard
Is this god build instructions yet?
Hi,
I have (had) a DIY printer based on RAMPS (ATMega 2560) but some short on a motor killed the Mega and related hardware... as I have a Octoprint I was evaluating to use a bluepill for the main controlled and Octoprint for the human interface, as it's the same MCU on the Malyan M200 v1
I Have followed the instructions on this repo (platformio build) and also the ones on the archived examples of Marlin here (https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x/config/) that builds on the Arduino IDE.
I have managed to build both versions of the firmware but none of them worked, there is no output on the serial, nor USB/Serial.
I have followed the hack log here: https://hackaday.io/project/158263/logs?sort=oldestv and seems to me that the Instruction archive on the examples of marlin here https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x/config/ are the most up to date.
Please:
- What/Where are the most up to date instructions?
- What takes to compile and uploads the Marlin firmware to a Bluepill and craft a cheap clone?
PS: I have crafter basic samples of code on the Arduino IDE setup using the 3D printer boards using Malyan M200 v1 (blink, serial hello world, etc) and they does not work;
I have uploaded it via 3 different methods:
- Serial via A9/A10 and boot1 to 1 using default bootloader
- Using stm32duino bootloader
- Using a STLINK upload: "st-flash write Marlin.bin 0x8000000"
I noted on a thread on Marlin Issue (https://github.com/MarlinFirmware/Marlin/issues/10345) that @zlychen managed to get it to work but It does not tell what instruction set it used.
I'm using latest Platformio on VSCode and Latest Arduino Ide on Ubuntu 20.04