klipper icon indicating copy to clipboard operation
klipper copied to clipboard

config: create config for Geeetech 301

Open konsumverweigerer opened this issue 2 years ago • 3 comments

Create a working config for the Geeetech 301 printer with an addition to flash_usb.py to use stm32flash

Signed-off-by: Peter Gruber [email protected]

konsumverweigerer avatar Oct 14 '22 22:10 konsumverweigerer

Thanks. Configs need to follow the guidelines at https://www.klipper3d.org/Example_Configs.html . At a minimum points 4, 6c, and 7.

The flash_usb.py script is only intended to flash USB targets - it isn't intended to flash over a serial port. If this printer needs to use stm32flash, then probably best to just describe how the user can run that tool in the printer.cfg comments.

-Kevin

KevinOConnor avatar Oct 17 '22 15:10 KevinOConnor

The stm32flash uses the USB connection to the board. The board contains an onboard usb-to-serial and is connected to the serial interface of the STM32F103VET6. All communication is done via this USB.

konsumverweigerer avatar Oct 25 '22 12:10 konsumverweigerer

Thanks. The config looks fine (though it would be preferable to state "enable usart(on pins x and y)" in the comments as opposed to saying "disable usb".

I don't agree with adding stm32flash support to flash_usb.py .

Cheers, -Kevin

KevinOConnor avatar Oct 31 '22 14:10 KevinOConnor

Thanks. I merged this commit along with 6be0ba78 (in keeping with point 6b at https://www.klipper3d.org/Example_Configs.html ).

However, after I merged this, I realized the config should have a year in the filename (the approximate date the printer was purchased) as mentioned in point 2 of the above link.

Do you know what the approximate year of the printer is?

-Kevin

KevinOConnor avatar Nov 11 '22 19:11 KevinOConnor

Do you know what the approximate year of the printer is?

Its the 2019 version

konsumverweigerer avatar Nov 13 '22 20:11 konsumverweigerer

Thanks. Commit d883c57d.

-Kevin

KevinOConnor avatar Nov 14 '22 16:11 KevinOConnor

Hi, when flash through the onboard usb the firmware i am getting error: Failed to init device. I am using a jumper on boot0 and pressing the rest button but it is still not working Anything im doing wrong?

MCTRACO avatar Dec 11 '22 13:12 MCTRACO