I made an Arduino compatible board based around the ATMEGA32U4. I flashed the Leonardo bootloader and am able to upload code by using the Uno as a programmer. I wanted to try and upload code directly over USB now but when I try to, I get this error:
Found programmer: Id = "-------"; type = -
Software Version = -.-; Hardware Version = -.-
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: error: programmer did not respond to command: exit bootloader
I'm able to connect to the board through the serial port though which tells me that the hardware side of things has been working. Does anyone have an idea as to what I could try to fix this issue? I tried using "AVR ISP", "USBasp", and "Arduino as ISP" for programmers and no luck.