MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.3k stars 19.25k forks source link

[FR] Add Support for the Anycubic Kobra 2 Neo Board (Tri Gorilla Gen_v4.0.0) #26682

Open eroboticdude opened 10 months ago

eroboticdude commented 10 months ago

Is your feature request related to a problem? Please describe.

The stock firmware for the Kobra 2 Neo is atrocious, and very difficult to use. Anycubic has not released any updates, and many features that I would like to use, such as adjusting flow rate during a print or tuning settings during a tethered print are not available at all. Using the screen at all during tethered printing isn't possible, and the printer must be restarted to use it.

Are you looking for hardware support?

The Tri Gorilla Gen_v4.0.0 looks very similar to the other versions in the Kobra Neo and Go. It may use the same processor as well. Only visible difference is a connector.

Describe the feature you want

Firmware support for Marlin 2.x.x would be amazing, especially since the original firmware is already based on marlin.

Additional context

No response

ellensp commented 10 months ago

Anycubic github has this https://github.com/ANYCUBIC-3D/Kobra2_Neo

But this is not build-able, missing environment parts.

Googling around says the processor is s a GD32F303 RGT6 https://www.gigadevice.com/product/mcu/arm-cortex-m4/gd32f303rgt6

ellensp commented 10 months ago

Step one, getting their code to build at all. This builds, but I have no hardware to test it on https://github.com/ellensp/Marlin/tree/test_kobra2_neo

Yes its full of warning from the not pretty Anycubic code...

eroboticdude commented 10 months ago

Step one, getting their code to build at all. This builds, but I have no hardware to test it on https://github.com/ellensp/Marlin/tree/test_kobra2_neo

Yes its full of warning from the not pretty Anycubic code...

Thanks for your help! I think what I might do is start fresh using the pin/board definition they created to make a new copy of Marlin, because i spent some time looking through the Anycubic code and so much of it is so poorly written and limits so many features. I'm still not entirely sure what stepper drivers are on the board, because the timing are set for a4988 at 16 microstep, but some sources say this board has tmc2208 drivers, so it should either be set 32 microstep or its all hardware configuration.