Atmega1284p 'avrdude: stk500... not in sync' with known good wiring

so im trying to repurpose the old board from my 3d printer, it was an Anet A8 built around an atmega1284p, with a ch340g for usb. in arduino on windows 10 i am able to upload sketches to it using some custom board files ‘sanguino’ or something. after setting sanguino_atmega1284p as my board in platformio/vscode/linux i get ‘avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00’. i suspect either the bootloader is different than expected or there is something with the ch340g, which i doubt because i have and use another standalone programmer with that chip, no issues. is there any way to identify the bootloader?

found the problem… platformio is great at autodetecting MOST things, upload_speed = 57600 still needs to be manually set here…

1 Like