Hi Guys,
I need an USB type-C for PD and upload code into my Arduino. That’s why I’m using the SparkFun Serial Basic Breakout - CH340C and USB-C. Tight now I’m trying with an Arduino Nano but at the end I’m going to design my own PCB based on Arduino Pro Mini the one used in the hooked up guide of this product.
The problem is that I don’t have a pin for DTR, the closest would be the RESET pin on Arduino.
I’ve tried but it didn’t work.
My connection:
CH340C to Arduino Nano:
GND to GND
CTS to GND
VCC to VIN
TXO to RX1
RXI to TX1
DTR to RESET
The code in arduino is the Blink example.
The error after trying to upload:
Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P"
An error occurred while uploading the sketch
An error occurred while uploading the sketch
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf9
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Access is denied.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf9
avrdude: ser_drain(): read error: Access is denied.