Arduino nano sketch feltöltés hiba?
Vettem egy Arduino nano board-ot (nem eredeti). Feltöltéskor mindig hibát ír ki.
Minden ki van választva típusnak megfelelően, Processzor, USB Port, stb. CH340 driver fenn van. Még egy alap sketch-et sem tölt fel. Old Bootloader-t próbáltam. Másik usb-n is megnéztem.
Telefon töltő kábellel próbáltam, de az adatkábelként is használható. Régebbi Arduino IDE-n sem működik. Két különböző számítógépen is próbálkoztam, egyik win10, másik win7. Semmi.
Hibás lehet, vagy nincs rajta bootloader?
![*](http://static.gyakorikerdesek.hu/p/vsz2.png)
![*](http://static.gyakorikerdesek.hu/p/vsz2.png)
![*](http://static.gyakorikerdesek.hu/p/vsz2.png)
![*](http://static.gyakorikerdesek.hu/p/vsz1.png)
![*](http://static.gyakorikerdesek.hu/p/vsz0.png)
"mindig hibát ír ki"
Leírhattad volna hogy milyen hibát...
"vagy nincs rajta bootloader"
Az lehet.
Ha van rajta boot loader akkor amikor megpróbálod a feltöltést, resetli magát. Ezt látni lehet a LED-eken.
Ha ezt nem csinálja akkor lehet hogy nincs rajta boot loader.
Én is futottam már bele ebbe hogy több példányon sem volt.
Ha van másik arduinod akkor azzal tudsz rá tenni loadert.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xfd
Sketch uses 928 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\xxx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino6/bin/avrdude" "-CC:\Users\xxx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino6/etc/avrdude.conf" -v -V -patmega328p -carduino -PCOM4 -b57600 -D "-Uflash:w:C:\Users\xxx\AppData\Local\Temp\arduino\sketches\E3CEC0A6BBE01963873835CDF6C338BA/Blink.ino.hex:i"
avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
Copyright (c) 2000-2005 Brian Dean, [link]
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\xxx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino6/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x7f
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4b
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x02
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
Hardware Version: 4728160
Firmware Version: 0.4598883
Topcard : STK502
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x7f
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x4b
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xeb
Vtarget : 1.6 V
Varef : 0.3 V
Oscillator : 0.536 Hz
SCK period : 19306796.9 us
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x92
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xd3
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x4a
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xee
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Baud értéket lehet csökkenteni?
Mert ha a serial monitornál csökkentem, az RX led fullosan világít. Ha nagyon magas, akkor alig látszik, hogy villog.
Ugyan ez van, ha fel akarok tölteni egy sketch-et. Az RX led alig világít. Nem lehet, hogy valahol ezzel a Baud értékkel van a baj?
Kapcsolódó kérdések:
Minden jog fenntartva © 2025, www.gyakorikerdesek.hu
GYIK | Szabályzat | Jogi nyilatkozat | Adatvédelem | Cookie beállítások | WebMinute Kft. | Facebook | Kapcsolat: info(kukac)gyakorikerdesek.hu
Ha kifogással szeretne élni valamely tartalommal kapcsolatban, kérjük jelezze e-mailes elérhetőségünkön!