Atmega328p-au Problem with Bootloader and Uploading Code

Hi everyone, I made a standalone arduino board with the atmega328p-au and I am unable to get any program working on it. I have tried several methods of burning the bootloader but I don't think I've done it correctly. I have been using an arduino uno board to try to burn the bootloader and upload code. It's said that the bootloader was burned successfully but I'm not sure if that is correct since I am unable to upload code, even the blink sketch doesn't do anything on the standalone board even when it has successfully uploaded. I have tried following several guides, including this one: https://www.youtube.com/watch?v=mIq3ZsKPlTo&ab_channel=TheTechnocrat. My standalone board doesn't have it's own reset button, but I have seen that one should be pressed while burning the bootloader, so how could I add in a reset button if that is needed.

The board I made is going to be used for a simple LED circuit, but I designed it so that it could also act as a standalone board so I could use it for other projects in the future. Attached is my schematic and pcb. Is the AREF supposed to be connected to AVCC, or is that an issue? There are a couple of other components like a 1uf cap that are used for the led circuit, but aside from those, would the board function correctly as a standalone arduino?

Thank you for any help, I have spent days researching this and I haven't found a solution



Via your H1 4 pin header you can program your sketch directly to the board, assuming you also connect the GND pins and power your board. Use "Upload Using Programmer" after you have selected the "Arduino as ISP" as the programmer.

No reset button needed as you connect the RST in your H1 connector to the pin 10 on your UNO. Uno will assert a reset to your board.

So I connect the H1 header to the Mosi, Miso, Sck, and Reset like I would to burn the bootloader? Or would I use Tx and Rx?

Yes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.