Do A-nano nelze nahrát program
Moderátor: Moderátoři
-
chromnikl
- Příspěvky: 40
- Registrován: 21 dub 2021, 00:00
Do A-nano nelze nahrát program
Bohužel do něj nejde nahrát program.
Deska má převodník 340G. - Ve windows ji detekuji správně, přidělí port - vše jede.
V Arduino IDE zvolím desku Arduino nano - Old bootloader, zvolím port.
A tím to končí.
Program se nenahraje.
Zkoušel jsem:
3 různé kabely.
připojit do různých portů
ovladač zkopírovat do /drivers ve složce arduino.
dva různé PC
Nějaký nápad?
Děkuji moc...
-
Cowley
- Příspěvky: 3580
- Registrován: 04 úno 2005, 00:00
-
Zaky
- Příspěvky: 7066
- Registrován: 30 říj 2010, 00:00
- Bydliště: Praha
-
pocitujlasku
- Příspěvky: 2765
- Registrován: 12 pro 2005, 00:00
- Bydliště: SR, Poprad
-
ST78
- Příspěvky: 116
- Registrován: 16 lis 2009, 00:00
-
monterjirka
- Příspěvky: 2865
- Registrován: 14 čer 2003, 00:00
- Bydliště: Blížejov
-
silas15
- Příspěvky: 90
- Registrován: 09 úno 2013, 00:00
-
chromnikl
- Příspěvky: 40
- Registrován: 21 dub 2021, 00:00
při nastavení:
Atmega328P oldbootloader - na chvilku slabě problikne RX a
vyhazuje chybu:
Nastala chyba při nahrávaní projektu.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x55
pokud nastavím Atmega 328P vyhazuje toto:
Arduino: 1.8.15 (Windows 10), Vývojová deska: "Arduino Nano, ATmega328P"
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x66
Problem uploading to board. See https://support.arduino.cc/hc/en-us/sec ... 0003198300 for suggestions.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x66
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x66
Tak nevím.
-
silas15
- Příspěvky: 90
- Registrován: 09 úno 2013, 00:00
-
chromnikl
- Příspěvky: 40
- Registrován: 21 dub 2021, 00:00
-
silas15
- Příspěvky: 90
- Registrován: 09 úno 2013, 00:00
-
Martin_Fio
- Příspěvky: 193
- Registrován: 28 pro 2005, 00:00
-
chromnikl
- Příspěvky: 40
- Registrován: 21 dub 2021, 00:00
-
Cust
- Příspěvky: 7282
- Registrován: 17 led 2007, 00:00
- Bydliště: Milotice u Kyjova
proto používám STM procesory na deskách nucleo, které jsou s Arduinem kompatibilní
třeba toto:
https://cz.farnell.com/stmicroelectroni ... ucleo-l432
-
JirkaZ
- Příspěvky: 3714
- Registrován: 26 úno 2021, 00:00
Příčinou byl vadný CH340G (nefungoval přenos dat ve směru USB -> ATmega).
To lze ověřit třeba pomocí vhodného sériového terminálu (u mě Cutecom nebo Moserial) a loopbacku mezi TxD a RxD CH340G.
Pozor přitom na úrovně - pokud jsou na těchto pinech přes odpory pověšeny indikační LEDky, tak vzniklý dělič může loopback ovlivnit až k nefunkčnosti, jakkoliv CH340G je v pořádku.
Konkrétněji viz schéma příslušného klonu Arduino Nano.