This is something that I wanted to ask earlier.
I have these Chinese Arduino clones, with ch340 chips.
If I use the hardware UART, I can't flash the Arduino while the RX is connected to a device..
I need to disconnect the RX pin before I can flash the chip.
Is there a way that I can flash it without disconnect the RX pin?
Thanks!
Flash Arduino with RX from UART connected??
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Flash Arduino with RX from UART connected??
No, if you have a signal holding the RX pin and interfering with the signal from the ch340 chip, then it will stop the bootloader from receiving.
Resistors and diodes might help. Arduino forums might have some suggestions on this.
Resistors and diodes might help. Arduino forums might have some suggestions on this.
-
- Valued Contributor
- Posts: 1189
- Joined: Wed May 31, 2017 11:57 am
- Has thanked: 70 times
- Been thanked: 439 times
- Contact:
Re: Flash Arduino with RX from UART connected??
You can use ISP (or ICSP) to program the Arduino. This bypasses the bootloader altogether and is useful in cases like this, for programming chips without usb access and adding the bootloader to be chips etc..
Search the Arduino forums for details
Search the Arduino forums for details