I'm working on communicating with Arduinos via their RX and TX pins for two reasons: 1) Future plans to work with standalone ATmega 328, 2) Need to test the serial pins on an older Arduino, which I suspect I damaged previously
I've tested on a Nano and an Uno. (EDIT BASED ON HAMMY'S RESPONSE: Separate tests. Mac to Nano, then Mac to Uno.) Both successfully send/receive data in serial monitor, but when I try to upload a new sketch it summons the demon known as avrdude:
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
I've done loads of reset attempts, reconnects, reboots.
Thanks in advance. Please let me know if I've left out any pertinent details.
Your circuit doesn't have the necessary reset-via-DTR that is present on the Uno and Mega. You can not serial upload using the bootloader, unless the reset pin is toggled at the right time by that circuit.
Communicating from Arduino to Arduino is done direct without a rs232/TTL convertor .
If these pins are wired together , then you’ll need to disconnect before you can upload any sketch
My understanding is that the OP has connected a serial to USB adapter to the Uno RX/TX pins, and wonders why it's not possible to upload a sketch that way.
Please, please don't edit previous posts. It creates confusing threads.
If the RX/TX pins are connected to some external circuit, the on board USB/serial converter can't access the pins properly, and so that won't upload either...
Remember, ALL the USB communication is by messages. There is NO electrical connection to the DTR. It is triggered by a particular message that tells the Arduino USB interface chip to toggle the DTR.
Your adapter has a DTR solder hole inside the case.
You may be able to use RTS instead. Connect it through a 0.1 microfarad capacitor to the Reset pin of the Arduino UNO. When you switch to a stand-alone ATmega328P, put a 10k pull-up on the Reset pin.