Hi all!
I have an issue trying to upload a sketch on an ATmega328p on a breadboard with an external oscillator at 16 MHz. I have successfully flashed the Blink sketch + bootloader on it, using MPlab IPE with the .hex file exported from the Arduino IDE.
Using MPlab IDE, I have checked that the configuration bytes were set correctly, which seems to be the case :
At that point, the LED is blinking correctly, but when I try uploading a new sketch on the ATmega328p using Arduino IDE and the TTL232R connected to the pins RX and TX, RTS connected to the nRESET pin, CTS connected to nothing, I have the following error in the console, repeated 10 times :
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
It might come from the card selection section as I have checked "Arduino Pro or Pro Mini" with the "ATmega328p (5V, 16MHz)" and I am not using an Arduino Pro or Pro Mini but the same processor at the same clock and voltage.
I have tried changing the power supply to a programmable power supply from a lab but nothing changed ...
Thanks a lot for your help !