I am working on a project where I want to programm the atmega via usb serial connection, just like an arduino. In order to do that, I have wired up both chips as the documentation suggests. The reset circuit should be similar to the one, used by the arduino uno.
My problem appears when I am uploading a sketch, the reset pin on the arduino isn't trigged by the CP2102N. When reseting the Atmega manually in the right moment everything seems to work fine. As I just have to give an logic LOW pulse(in the right moment) to the reset pin, I am using following circuit:
My guess is that the setting of the DTR Pin is wrong, which I configured in simplicity Studio.
Do you have any idea what is causing this problem?
Is it even correct to use a reset circuit, which was actually indented for another chip?
If more Information is needed please remind me kindly. Thank you for any feedback.
EDIT: The state of DTR pulses to HIGH just when I upload and falls down to LOW afterwards. What is needed at RESET is excaly the opposite: HIGH all the the time and should fall down to GND just when uploading. The state of RESET with given circuit is constantly HIGH right now.
Do you think a different value of the capacitor would solve that? Is a closed transistor a better and easier method for this application?