arduino nano与usb到ttl转换器

时间:2016-12-06 10:41:29

标签: arduino usbserial

我有一个usb到ttl转换器和一个arduino nano arduino nano的usb端口由于某种原因停止工作,因此我想尝试使用usb转换器将草图转移到nano,我将如何去做?

我尝试过连接

Converter 5V > Arduino 5V (also tried VIN)
Converter GND > Arduino GND
Converter tx > Arduino Rx
Converter Rx > Arduino Tx

然后在arduino软件上使用arduino nano并编译并尝试上传,但它保持上传并且没有从上传移动,rx和tx指示灯不闪烁(有时RX指示灯亮起并保持亮起)< / p>

一段时间后我得到了这个错误

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x10
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

我尝试连接转换器并将它的tx和rx连接在一起,并通过串行监视器发送消息,我确实得到了同样的回复

0 个答案:

没有答案