Effacer les filtres
Effacer les filtres

Problem connecting to Arduino Nano 3.0

24 vues (au cours des 30 derniers jours)
Swapnil Sayan Saha
Swapnil Sayan Saha le 3 Déc 2019
Commenté : Aravind le 15 Déc 2023
I am trying to use an Arduino Nano 3.0 with MATLAB. I get the following error from trace:
System wide configuration file is
"C:\ProgramData\MATLAB\SupportPackages\R2019b\3P.instrset\arduinoide.instrset\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x7e
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7e
avrdude done. Thank you.
An error occurred while uploading the sketch
I can however, use the Arduino IDE to upload code and get serial info. Note that the Nano is probably a clone and shows as FTDI USB Serial in the COM port.

Réponse acceptée

Swapnil Sayan Saha
Swapnil Sayan Saha le 3 Déc 2019
Ok so I solved this in a weird way. Instead of specifying that the board is a Nano, I specified the board as a Pro Mini 328.
  10 commentaires
chheang
chheang le 27 Sep 2023
that's work me (ProMini328_5V)
Aravind
Aravind le 15 Déc 2023
thank you it works

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by