I want to program the atmega 32a using usb to TTL cp2102

Hi guys
I need your help please
I want to program the atmega 32a using usb to TTL cp2102, but it didn't work. I got errors that I didn't know how to solve.
I have programmstrong texted the microcontroller using arduino uno using SPI and in the program I sent a text string to serial monitor
Then I added usb to TTL cp2102 to read the text string in serial monitor, it worked
But when I program the atmega32a microcontroller using usb to TTL cp2102, there are errors




If you want to program over USB, you will need to burn the bootloader first using a programmer (e.g. Arduino as ISP).

Your CP2102 module does not provide the DTR signal that is needed to reset the microcontroller when you start an upload over USB. So you will have to reset the ATmega32A manually at the right time; basically when the IDE reports the memory usage. Timing of that might be a bit tricky.

2 Likes

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