Geeetech3D / Diagram

Circuit diagram for 3D printers
11 stars 3 forks source link

Marlin 2.x Support for the GTM32 mini and pro boards #1

Open redangel1984 opened 6 years ago

redangel1984 commented 6 years ago

It would be great if these two open source boards could support Marlin 2.x 32bit version. I have no idea of coding. But this would be awesome if Geeetech or users who can code would make Marlin 2.x to be compatible with the GTM32 boards. So much possibilities and features would open up for the users and also for Marlin. I’ve seen this issue posted on the Smartto firmware repository which in my opinion would belong here, it is not a firmware issue/feature but more like a hardware issue.

monrra commented 5 years ago

I totally agree with you. If we can install Marlin in our boards I’m sure that the community and contribution will grow up a lot. Please take this on count, I think it’s the best improvement.

alexwoo1900 commented 5 years ago

@redangel1984 @monrra We are rewritting smartto-eclipse(reconstruct, complete command, fix bug etc.) It may take one or two months and then we will start discussion on marlin 2.x. We still not sure how many people would like to use marlin in these boards. Is it worth to do that? The issue need more research and supporter.

monrra commented 5 years ago

Hi @alexwoo1900. I dont know if @redangel1984 thinks like me, but I really think that almost everyone prefer Marlin for being an open source reliable firmware since a lot of time ago. In fact, you just need to look for other printers with Marlin, people are very happy with it.

redangel1984 commented 5 years ago

@alexwoo1900 I am sure If you make Marin available for this printer and board more people will use it on Marlin than on Smartto. And I am sure too that it you won’t make Smartto stable and improve it, you will loose current and future customers. Because as for now to use Smartto is a pain in the @$$.

monrra commented 5 years ago

Totally agree with @redangel1984.

macasero commented 5 years ago

Hi @alexwoo1900. I think @redangel1984 is right. It would be gorgeous

redangel1984 commented 5 years ago

Vote:

https://www.facebook.com/groups/315127105604393/permalink/509082706208831/

BennyBoyW commented 5 years ago

At this point, I believe we'd be better served with the Marlin Firmware. My A30 is currently bricked till I get chance to downgrade the firmware etc

JordiKoki commented 5 years ago

We need this project. Marlin Firwmare is more extended in the 3d print comunity. More functions, open code, etc... @alexwoo1900

edusaul commented 5 years ago

It would be great to have Marlin Firmware for A30 @alexwoo1900

alexwoo1900 commented 5 years ago

@redangel1984 @monrra @macasero @BennyBoyW @JordiKoki Hi, guys. We have seen your posts and votes and made a long discussion about how to deal with Marlin and Smartto a few hours ago. That's our plan: First and foremost, we will repush newest firmware which fixed all fatal errors in a short time. Secondly, we will continue our development on Smartto. At the same time, we will contact with marlin team and talk about how to make Marlin support GTM32 boards. I will share our progress about Marlin supporting in this post or facebook group. If you already have done something about it, please let us know.

soydif commented 5 years ago

good morning, it is very interesting this proposal would be ideal to have that compatibility for our printers. I am also interested and I have two.

schuko1982 commented 5 years ago

It would be great to have compatibility with Marlin, apart from the one we already have with smartoo, thank you very much for listening to us and wanting to improve the product.

alexwoo1900 commented 5 years ago

Marlin team has no reply to us. But we had started to do transplant work.

monrra commented 5 years ago

@alexwoo1900 that’s great! With Marlin, this printer will be one of the best in the market.

monrra commented 5 years ago

Hi @alexwoo1900 . Are there any news?

redangel1984 commented 5 years ago

2 month and still nothing?

alexwoo1900 commented 5 years ago

@monrra @redangel1984 Sorry for my late reply. Our firmware team met some very tricky problems. They make all works except for bootloader and SD card part. (The main dev is working on the latter). The market team had sent some copies to some customers to test. If you guys want to join us, please contact Emma.

macasero commented 5 years ago

I would love to test it

Geeetech3D commented 5 years ago

https://pan.baidu.com/s/1r_M4g5Q644flxyVpDe85Lg Contains the Arduino compiler and A30 marlin source code, as well as instructions for use. Currently, serial port printing is supported, and SD card printing is not supported.

macasero commented 5 years ago

Can´t register without a china phone number. Could anybody upload somewhere else?

macasero commented 5 years ago

exec: "/bin/arm-none-eabi-g++": file does not exist Error compilando para la tarjeta Generic STM32F103V series.

any thoughts?

alexwoo1900 commented 5 years ago

@macasero In Arduino, tool->board->boards manager Install the target board

macasero commented 5 years ago

Solved, compiled, tested. Fan are wrong. Hotend cooling fan does not work. If try to enable with gcode you turn on and off the fan at control box. Layer fan is allways on. Seams pin mapping needs to get review.

alexwoo1900 commented 5 years ago

@macasero Thanks for your feedback. Our dev has started to review the code.

macasero commented 5 years ago

did you follow this schematics to do the mapping? https://github.com/Geeetech3D/Diagram/blob/master/3DPrinter_A30_E180/Hardware_GTM32_MINI_S.pdf

rokrodic commented 5 years ago

Where can we get GTM32 Pro motherboard schematics?

redangel1984 commented 5 years ago

From the link above.

rokrodic commented 5 years ago

Sure, it seems so, but I have 6 stepper motor slots. The above scheme shows only 4. I could examine Smartto sources for pins, but as it is supposed to be open source... The name above states, it's "mini". I have large one GTM32 PRO.

Btw, how's with Marlin 2? My super plate is ruined due to Z-offset Smartto bugs... And where is the color-LCD-STM32F103 source code (I have latest A30)?

kaktusus commented 5 years ago

GTM32Pro vB? The diagram has also been published for this version.

redangel1984 commented 5 years ago

https://github.com/Geeetech3D/Diagram/blob/master/Rostock301/Hardware_GTM32_PRO_VB.pdf

rokrodic commented 5 years ago

Yes, the vB (http://www.geeetech.com/forum/viewtopic.php?f=77&t=61307). And thanks for the scheme!

MoeweX commented 5 years ago

How is the review process going @alexwoo1900

Sneakers82 commented 5 years ago

Can´t register without a china phone number. Could anybody upload somewhere else?

How did you download the firmware? @macasero
Could someone possibly upload the firmware somewhere else?

johne3819 commented 5 years ago

@alexwoo1900 has there been any progress? I am considering the pro board but I'm not sure. I had the 12V and I do not like it. It has a lot of heat / sensor error that seem to be delays rather than misreads from thermistor. Only occasionally does it quickly give a -19, but immediately works again. Seems to be more of a data throughput type thing

pinchies commented 5 years ago

Hello, I'm compiling a list of Chinese 32-bit 3D Printer boards that support Marlin 2.0. May I ask what the status is for the Geeetech GTM32 boards with Marlin 2.0? I recently fixed a few bugs regarding fan control (recommend Software PWM in configuration.h) so that may or may not help with the fan problems from the last attempt.

bs2000 commented 5 years ago

How about support for the M201

Vertabreak commented 5 years ago

if this helps anyone a30 gtm32 mini configs for marlin 2 A30.zip

S91C3 commented 5 years ago

I am very much interested in a Marlin 2.0 fork for the GTM32-mini/GTM32-miniS. Is anyone still working on this?

MrAntonka commented 4 years ago

Any news?

InnerBushman commented 4 years ago

To make the GTM32PRO_VB board work you need to remove -DSERIAL_USB flag in "## Generic STM32F103V ##" section of ~/.platformio/packages/framework-arduinoststm32-maple/STM32F1/boards.txt I'm attaching my working copies of Configuration.h Configuration_adv.h and pins_GTM32_PRO_VB.h Here's my platformio.ini entry for this env:

#
# Geeetech GTM_32_pro_vb (STM32F103VET6)
#
[env:gtm_32_pro_vb]
platform      = ststm32
framework     = arduino
board         = genericSTM32F103VE
monitor_speed = 250000
extra_scripts = buildroot/share/PlatformIO/scripts/gtm_32_pro_vb.py
build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  ${common.build_flags} -std=gnu++14
  -DSTM32F1xx
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps      = ${common.lib_deps}
lib_ignore    = TMC26XStepper
  libf3c
  lib066
  Adafruit NeoPixel_ID28
  Adafruit NeoPixel
  libf3e

In the other ZIP file are the scripts for this env.

Can someone talk to platformio guys and ask them to create separate entry for this board? as this board never uses native USB for programming. I have not make it to program via serial interface so you will have to upload the firmware the normal way or use the ST GUI demonstrator tool that Geeetech tells you to use if you mess up the firmware. I hope this will help to kickstart the development for this board so I won't be needing to compile it myself later ;) If i forgot about something I'll add it later. Any questions? I'll try to answer them but don't expect brilliant answers >_<' Good luck everyone!

GTM32PRO_VB.zip buildroot.zip

Avatarsia commented 4 years ago

To make the GTM32PRO_VB board work you need to remove -DSERIAL_USB flag in "## Generic STM32F103V ##" section of ~/.platformio/packages/framework-arduinoststm32-maple/STM32F1/boards.txt I'm attaching my working copies of Configuration.h Configuration_adv.h and pins_GTM32_PRO_VB.h Here's my platformio.ini entry for this env:

#
# Geeetech GTM_32_pro_vb (STM32F103VET6)
#
[env:gtm_32_pro_vb]
platform      = ststm32
framework     = arduino
board         = genericSTM32F103VE
monitor_speed = 250000
extra_scripts = buildroot/share/PlatformIO/scripts/gtm_32_pro_vb.py
build_flags   = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
  ${common.build_flags} -std=gnu++14
  -DSTM32F1xx
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
src_filter    = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
lib_deps      = ${common.lib_deps}
lib_ignore    = TMC26XStepper
  libf3c
  lib066
  Adafruit NeoPixel_ID28
  Adafruit NeoPixel
  libf3e

In the other ZIP file are the scripts for this env.

Can someone talk to platformio guys and ask them to create separate entry for this board? as this board never uses native USB for programming. I have not make it to program via serial interface so you will have to upload the firmware the normal way or use the ST GUI demonstrator tool that Geeetech tells you to use if you mess up the firmware. I hope this will help to kickstart the development for this board so I won't be needing to compile it myself later ;) If i forgot about something I'll add it later. Any questions? I'll try to answer them but don't expect brilliant answers >_<' Good luck everyone!

GTM32PRO_VB.zip buildroot.zip

will this also work on the gtm32 mini s when i change the pinmapping ?

InnerBushman commented 4 years ago

will this also work on the gtm32 mini s when i change the pinmapping ?

I haven't seen the schematic of the mini s board but if it's the same CPU and the pinmap is also touching the USB pins, this should also work. Why don't you try and report here? ;)

Avatarsia commented 4 years ago

will this also work on the gtm32 mini s when i change the pinmapping ?

I haven't seen the schematic of the mini s board but if it's the same CPU and the pinmap is also touching the USB pins, this should also work. Why don't you try and report here? ;)

i tried but so far the same result as verta, hotend fan and partcooling fan are not running. it's a pitty that i can't find any board pin maps in smartto codes also it ignores that fact that i inverted axis in marlin

Avatarsia commented 4 years ago

Hi Avatarsia,

Great job.

Was able to compile and load on a M201 without issue

Everything is working well except... the SD reader on the LCD I'm using the standard 4 lines LCD2004. REPRAP_DISCOUNT_SMART_CONTROLLER

What LCD are you using and is it working on yours ?

Thank you so much

Wasn't my job. Wich board do you use ? In my understanding the libary for the mini s board is incomplete so it cant compiled well

Avatarsia commented 4 years ago

I have the Mini S :) you quote the wrong one ^^

thpparent commented 4 years ago

I have the Mini S :) you quote the wrong one ^^

Uuups correct. Sorry

thpparent commented 4 years ago

To make the GTM32PRO_VB board work you need to remove -DSERIAL_USB flag in "## Generic STM32F103V ##" section of ~/.platformio/packages/framework-arduinoststm32-maple/STM32F1/boards.txt I'm attaching my working copies of Configuration.h Configuration_adv.h and pins_GTM32_PRO_VB.h Here's my platformio.ini entry for this env:

Hi InnerBushman

Great job.

Was able to compile and load on a M201 without issue

Everything is working well except... the SD reader on the LCD I'm using the standard 4 lines LCD2004. REPRAP_DISCOUNT_SMART_CONTROLLER

What LCD are you using and is it working on yours ?

Thank you so much

InnerBushman commented 4 years ago

Hi thpparent, As you can see in my config file i also use the code for REPRAP_DISCOUNT_SMART_CONTROLLER. I have the stock LCD/encoder/SD reader from Geeetech that seems to be based on the Discount Smart Controller, only with different ribbon cable. The SD card seems to work ok with this config. I can start a print from the SD (haven't actually printed anything tho) and get no errors, the printer homes and starts to heat up. What exactly isn't working? And how are you testing?

Avatarsia commented 4 years ago

InnerBushman do you have Facebook or Discord or any way to communicate ?