Issue between CH340C and Atmega 328p during code uploading

Thread Starter

micropad

Joined Dec 24, 2011
109
Hi Team

I Design a PCB for Arduino as isp programmer using Atmega328p . bootloader is successfully uploaded but it does not upload the program using USB port with CH430C driver
comport is recognized successfully I can't upload the Arduino as ias code to the Atmega238p using USB port


IC can be red by using avrdude (Arduino as isp)

avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.04s
avrdude: Device signature = 0x1e950f (probably lgt8fx328p)
avrdude: safemode: Fuses OK (E:FD, HE, L:FF)
avrdude done. Thank you.



CH340C driver is recognized correctly and COM port also visible properly
Following error is displaying during the program is uploading using usb port

DTR pin also going to 0 Volt during uploading

Using Port : COM4
Using Programmer : arduino (A
VRISP mk|| )
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x95
avrdude: stk500_recv(): programmer is not responding


please check the schematic diagramSchematic_.png attached
Please advice

Thanks in advanced
 
Last edited:

Ya’akov

Joined Jan 27, 2019
10,226
Welcome to AAC.

Do you mean “Arduino as ISP code”?

Also, it says you are using an AVRISP MKII to try to program the programmer? Is that right?
 

Thread Starter

micropad

Joined Dec 24, 2011
109
Welcome to AAC.

Do you mean “Arduino as ISP code”?

Also, it says you are using an AVRISP MKII to try to program the programmer? Is that right?
Arduino as ISP code means

1689311853855.png

Once I upload the Uno bootloader using my Arduino as isp programmer by selecting programmer as arduino as isp


Then I will upload the above code selecting programmer AVRISP MKII as normal uploading

Thanks
 
Top