-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] MKS Robin (STM32) support #9771
Comments
We'll add it to the "to do" list. Thanks for visiting! |
Cant wait for it. I think so many people stuck with their fw. Thank you. |
I found this reverse engineered pinout for the MKS Robin while trying to find a solution, wonder if it will be of help to those trying to write a version of Marlin for it. Got it from this thread on RepRap.org: |
I can create pinout files for MKS Robin, but i cannot test it. So if someone with board can test i can do it And display will not work it seems |
i already flashed my board while i was trying to dump fw so i can be victim no problem 👍 Why do you think display wont work? |
because this type of display seems not supported by marlin. what type of stm32 is on Robin? |
May be in future display can work. I think so its a TFT32 with ribbon connector. Its a F103ZET6. |
yep, but display code running on same controller (not on separate one as on TFT24/32) |
Can we assign different display such as RepRapDiscount Full Graphic Smart Controller? |
Has there been any luck on getting Marlin to work with the MKS Robin? |
And what about MKS Robin Lite? |
i ordered two and will be shipping 1 to scott. just got them in and will ship 1 to scott sometime this week. will probably wait until friday since he is headed to makerfair nyc this weekend. |
hey guys any update on this? just got me an MKS robin board, would love to try it out with Marlin!! |
@washeree, You can connect 'RepRapDiscount Smart Controller' or 'MKS MINI 12864' to MKS Robin, but the 'RepRapDiscount Full Graphic Smart Controller' is not supported for STM32F1 HAL yet. |
I can say Scott just moved. So don't know what the status is. I figured he would get to it when he got to it. I still haven't tried it in its stock form yet. But I'm lazy |
So can I just flash mine using Marlin 2.0 and platform.io and use the STM32F1 Hall? I can take care of the pins assignment from a spreadsheet I have that has all the pins definition for Robin.... |
@imrj, MKS Robin has it's own build environment in platformio.ini file - "mks_robin", it has the right HAL and encryption feature to use Marlin with original MKS bootloader (i.e. install/update Markin from SD card) There is no need to write your own pins file - Marlin/src/pins/pin_MKS_ROBIN.h already contains pins definition for MKS Robin board. Add If you want to try Marlin 2.0 you can use code from Implement-SDIO-support-for-STM32F1 Configuration.h and Configuration_adv.h should be copied from Marlin/src/config/examples/Mks/Robin This will get you the funtionality Marlin will have once SDIO code is merged and STM32F1 HAL is fixed. Alternatively you can use code from MKS-Robin-Touch-POC If you have wiped your bootloader you can either flash bootloader using file linked in my earlier comment, or remove the "extra_scripts" line from "[env:mks_robin]" section of platform.ini. Without "extra_scripts" option the marlin firmware will be compiled to use with no bootloader, just flash the firmware.bin using STLink. Update 1: Implement-SDIO-support-for-STM32F1 merged into bugfix-2.0.x. Main repository should be used for no-touch-screen configuration. Update 2: MKS Robin uses SPI2 to access touch screen controller. |
@jmz52, Thank you so much for bringing Marlin to the MKS Robin! I tried building Marlin for MKS Robin from MKS-Robin-Touch-POC However, I get the immediate error of
I know this is a supported board, so I don't know what I'm doing wrong. If I use the AutoBuild suggested by Marlin, the build gets a little farther, however, I noticed it's building for genericSTM32F103RE. |
@Sneakers82, you need to update STM32 packages used by PlatformIO. Also you need to update file .platformio\packages\framework-arduinoststm32\STM32F1\libraries\SPI\src\SPI.cpp - change What version of MKS Robin board and MKS Robin TFT you have? |
@jmz52, Thanks! That worked perfectly! I don't have the board yet. My Geeetech A30 died some time ago and I was digging through the Marlin firmware to find a suitable replacement board and the MKS Robin seemed like the perfect replacement. I was just trying to make sure I could build Marlin before ordering the board. |
@jmz52 nice work really, thanks a lot. It was a big news for everyone i think so. My board is v2.3 and tft as you said v1.1 so bootloader is different or same? In my opinion they changed some pins? |
@washeree, bootloader v2.3 might be different, but pins are the same - all revisions of MKS Robin use the same firmware. There should not be any problems with older versions of bootloader. And I have a confirmation that v2.4 bootloader is working on v2.3 board. MKS-Robin-Touch-POC updated to support ili9328 controller found in TFT v1.1. You might calibrate your touch screen using this "calibration tool" |
@jmz52 Thanks a lot for your help jmz52, some how i couldnt compile marlin via vs code with pio. It gaves lots of errors. Im installing atom now lets see if it make differences. I compiled with Atom with errors now i have Robin.bin. Btw i flash it with your bootloader by stlink and copy robin original fw files to sd card now im getting on screen completed message thats all nothing else. Really interesting :) |
@0bey Configuration files for MKS Robin are located in https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x/config/examples/Mks/Robin. |
Hey @jmz52 I use official source, use exemple configuration.h et configuration_adv.h for mks_robin and U8glib-HAL Thx for help Now, I learn to configure before try on my alphawise U20 |
Hi, sorry i have absolutly no idea what i do here :-) but i need only Marlin 2.0 on my Robin 2.3 Board :-)
at 347 shlould i delete only this one? i tried it and got after save same U8Glib-Hal fails. @0bey how do u get it work? did i miss a step? |
This morning I use same source without problem |
only find and delete? "U8glib-HAL"
i got now:
and more many other files :-) can upload a full log file but where? |
i think i have something not installed or missed? sad that there not a list what tools or programm i need to build this robin.bin xD |
SD Card not ready :(( |
@1kemanciii |
I finally got it to work with the SD card. I downloaded the firmware from Makerbase's github. so now, I can manually mount the SD card and "print" (no yet mounted onto my printer) from SD card. thank you @jmz52 you have a lot of input in this project and I red a lot form your posts. below is my portion of pins_MKS-Robin.h //#define SD card
#define SD_DETECT_PIN -1//PF12
#define SDSS PD2 //PF12 // was missing
#define SCK_PIN PC12
#define MISO_PIN PC8
#define MOSI_PIN PD2
#define SS_PIN -1 // Chip select for SD card used by Marlin
#define ONBOARD_SD_CS PC11 |
Thank you @jmz52 for all your code and 3Dangel with sd card |
Caothai
I am so happy that I help in this way!!!
Feels really good.
Cheers!!!
…On Tue, Jul 30, 2019 at 00:48 caothai ***@***.***> wrote:
Thank you @jmz52 <https://github.com/jmz52> for your all code and 3Dangel
with sd card
now , i can use mks robin with sd card
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9771?email_source=notifications&email_token=AFYWWXJGHTDEZM27NQI4JC3QB7P3RA5CNFSM4ESCQLUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3C63IY#issuecomment-516287907>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFYWWXMHJTLL6W6F6HYVOX3QB7P3RANCNFSM4ESCQLUA>
.
|
#define SCK_PIN P12 What is P12 supposed to actually be? |
seems PC12 https://github.com/makerbase-mks/MKS-Robin/blob/master/MKS%20Robin2/Hardware/MKS%20Robin2%20V1.0_002%20SCH.pdf page 0 of 0 (lol, almost in the middle, the big chip page) same on Robin "1" https://github.com/makerbase-mks/MKS-Robin/blob/master/MKS%20Robin/Hardware/MKS%20Robin%20V2.3_001%20SCH.pdf |
Easy way to do this is to send a board to one of the devs. Without it it's doubtful it will be ported
Sent from Yahoo Mail on Android
On Wed, Jun 19, 2019 at 2:25 AM, BigDi<notifications@github.com> wrote:
Sorry for the questions. Is it possible to port this to a Tronxy Mainboard CXY (aka Chitu f mini) first view looks like same hardware.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
hello guys, I think the dev had the board on hand to get things going thus far.... |
@jmz52
All fixed with a different SD card going back to stock, however compiled Marlin is still not working. |
THIS IS RESOLVED... WAS A PIN CONFLICT - Hi Guys, I have an MKS Robin Mini that I have been able to successfully compile Marlin 2.0 and flash to the board. Everything works.... X, Y, Z all move as expected.. SD works, touch screen works, Hot End and bed both heat... the only issue I am having is that I cannot get the Extruder to move. No matter how I try, Pronterface or Octoprint control interface or just printing... everything moves as it should but the Extruder will not feed any filament. There is no clicking, whining or squealing to indicate like low stepper motor current or anything, just no movement at all. If I flash back to the MKS firmware it works fine and I can print no problem, but when I flash marlin back all works but the Extruder motor. I cannot find anything in Configuration.h, configuration_adv.h, or MKS_ROBIN_MINI_Pins.h that stands out as the issue. Can you provide any help at all on this? As a point of interest, I contacted the printer support to see if they had any info and the tech there had the same exact result with the same printer using a Robin Mini... everything works but the E Stepper motor. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi everyone!
Will marlin work with MKS Robin?
The text was updated successfully, but these errors were encountered: