Do A-nano nelze nahrát program
Moderátor: Moderátoři
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...
- pocitujlasku
- Příspěvky: 2764
- Registrován: 12 pro 2005, 00:00
- Bydliště: SR, Poprad
- monterjirka
- Příspěvky: 2855
- Registrován: 14 čer 2003, 00:00
- Bydliště: Blížejov
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.
- Martin_Fio
- Příspěvky: 193
- Registrován: 28 pro 2005, 00:00
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
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.