I'm having trouble using this USB to serial converter to program my ATMEGA328P. Let me show my steps below:
- I have bootloaded the ATMega328 using the Arduino as an ISP.
- I then used the Arduino as an ISP to program the ATMega with a blinky sketch. This worked perfectly and I was able to get it working.
- I then installed the USB to serial converter with this wiring:
I have tried using a 10k pull-up resistor on the RST pin of the ATMEGA328P, and I have also tried without the pull-up resistor.
On the IDE side. I simply open the Arduino IDE, and open a blinky sketch. I then select the correct COM PORT (which shows up correctly), and I select Arduino UNO as my board type. I press upload, and get the following error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1b
If anyone has any tips, then that would be greatly appreciated!
Thanks for the help.
Edit 1:
Hello, in response to some comments here are my first debugging steps:
I have reburned the bootloader onto the ATMEGA328 successfully
After burning the bootloader, I did NOT upload any sketches using the Arduino.
I tried to use the USB to serial converter I have (link in the first line of this questions) and I keep getting the following error:
avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xcf
My settings in the arduino IDE can be seen below:
I have also tried the following settings:
I have tried to click the upload arrow, and I have also tried to go to sketch -> upload using programmer.
My board is wired exactly like this image below: