Hello,
As the title suggests, I'm having some issues uploading programs to a standalone ATmega1284 using the MCP2221A USB to UART converter. I've attached photos of my schematic, with the only difference between the photo and reality being that I'm using the internal 8MHz oscillator rather than the external 12MHz oscillator as the schematic shows. There is a lot more to the schematic than what is shown, as I've planned out a rather large project, but I'm currently still suck at uploading anything, so I don't even have anything else connected.
I have burned the bootloader using a Arduino Uno, which worked out well enough. Now, after switching to the MCP2221A and clicking "Upload", the program (standard blink sketch) compiles, but then gives me this avrdude error after a few seconds:
avrdude error: programmer is not responding
avrdude warning: attempt 1 of 10: not in sync: resp=0x00
This is somewhat confusing because I selected the serial port of the MCP2221A, which showed up prefectly fine in the dropdown menu. (COM5, in case you're wondering)
Just because I was curious, I also tried burning the bootloader using the MCP2221A, which I didn't think would actually work, and surprise! it didn't work. This is the avrdude error that I got:
avrdude: Version 7.1-arduino.1
Copyright the AVRDUDE authors;
see https://github.com/avrdudes/avrdude/blob/main/AUTHORS
System wide configuration file is C:\Users\aiden\AppData\Local\Arduino15\packages\MightyCore\hardware\avr\2.2.2\avrdude.conf
Using Port : usb
Using Programmer : avrispmkii
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
avrdude main() error: unable to open programmer avrispmkii on port usb
avrdude done. Thank you.
Failed chip erase: uploading error: exit status 1
I've also attached the photo of my fuse settings, jut in case it might be useful:
This whole standalone microcontrollers thing is quite new to me, so it's entirely possible that I'm just doing something silly, but I suppose I'm just wondering if you have any idea what I might be doing wrong that is blocking me from uploading programs.
If you think any more details would be helpful in solving the problem, please feel free to ask and I'll be happy to provide.


