Greetings, really hope here can help me. I’m building a 3D printer. Use board MKS Gen L v1.0 (for this board, as I understand it, a common problem is that the usb connector does not work, the same for me). So I use arduino uno as programmer. Marlin 2.1, PlatformIO, VScode, Marlin Firmware Auto Build.
So firmware is okey after “build” its success. But after upload its says that and no flashing
Thanks for answering
Yes arduino as ISP but i dont use Arduino IDE. Arduino IDE just for upload programmer sketch on arduino UNO, then i use in VScode > PlatformIO > Marlin auto build
Yes it is Mega2560
Find the ini/avr.ini file in your Marlin project at these lines
and then after those lines you should add to it the instructions to flash via “Arduino as ISP” method as documented (Atmel AVR — PlatformIO v6.1 documentation), so,