Hello, all of you. I’m a native German speaker so I hope you can decipher my text.
First this is a modded Ender 5 where I had to flash the bootloader. After that was done i can flash the Klipper firmware onto the mainboard. That all went smooth after short time with Arduino ISP.
make flash doesn’t work so i did the flash with avrdude -p atmega1284p -c arduino -b 115200 -P /dev/ttyUSB0 -U out/klipper.elf.hex
ill upload a screenshot with my menuconfig. And the flash.
My error is that it takes some time for the connection. After all, it errors out with mcu 'mcu': Unable to connect every time.
I’d recommend doing it again.
It is ages ago since I last use some 8bit boards, so my memory might not be accurate but with a proper bootloader the make flash should work.
Also, I vaguely remember that using avrdude to actually flash the application has some strange limitations:
You would need to use the -D flag to prevent overwriting the bootloader (full chip erase)
Even with this flag this will only work once, since these chips do not support partial erase
The above is to be taken with caution, since it is a long time ago since I last worked with such boards.
Current State:
For now, I flashed Marlin again. All fine. So I think there´s something with the connection method. Why does klipper don´t find/ cannot open the serial over usb…
mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0'
this is the problem but the path is 100% correct I checked multiple times.