Salve a tutti ho acquistato un arduino pro mini ATmega168 5v 16Mhz. Ho acquistato l'adattatore usb e ho collegato correttamente i pin tra adattatore e arduino. Fino a ieri sera andava tutto bene, oggi non so per quale motivo ma non appena collego l'adattatore ad arduino, arduino mi risponde con 2 flash di led blu e rosso e poi è come se si spegne. La porta è corretta e anche il modello selezionato è corretto. alla voce programmatore ho messo USBasp. quando proprio a caricare il file arduino fa accendere i suo led, il rosso è fisso e il blu lampeggia, ma alla fine non riesco a caricare lo sketch perchè mi da un messaggio d'errore di questo tipo:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xee
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xee
Problema di caricamento sulla scheda. Guarda http://www.arduino.cc/en/Guide/Troubleshooting#upload per suggerimenti
Quale sarebbe il problema? VI ringrazio in anticipo!
Ciao,
essendo il tuo primo post, ti chiederei cortesemente di presentartiQUI (spiegando bene quali conoscenze hai di elettronica e di programmazione ... possibilmente evitando di scrivere solo una riga di saluto) e di leggere con attenzione il REGOLAMENTO ... Grazie.
purtroppo non capisco che cosa dovrei fare. la cosa strana che fino a 2 giorni fa funzionava!
In pratica carico lo sketch mi risulta che lo sto caricando... sulla scheda il led blu e rosso sono accesi e fissi, ma successivamente mi danno il messaggio di errore.
ci avevo caricato un programma per accendere un relè.
l'arduino in question e Arduino Pro Mini Atmega168 5V 16M Modello BTE13-010A.
Ho provato a caricare il programma esempio blink e ho premuto il tasto reset quando mi stunta " sto caricando" ... si spegne il led blu e non appena rilascio il bottone il led ritorna ad essere blu fisso e poi mi mostra lo stesso messaggio d'errore.
@Nele, stai chiedendo al forum ufficiale di Genuino/Arduino di un prodotto secondo me cineseria, perchè il mini pro ufficiale lo produce sparkfun e NON monta più il 168.
Comunque, non è importante SOLO il link all'Arduino, secondo me è molto importante anche il link al dispositivo usb convertitore. E' da lui che passa la comunicazione.
Scusa eh ... ma il link che hai messo parla di ATmega328P e NON di ATmega168come tu hai scritto, quindi ...
... si può sapere esattamente cosa hai ? ? ? :o :o :o
nelle preferenze dell'IDE attiva il "verbose" sia per la compilazione che per l'upload
apri il classico "Blink"
collega il tutto e lancia la compilazione con il caricamento ...
... quando vedi che ha finito di compilare e parte a fare i tentativi di caricamento, premi il reset sulla board. Se sei fortunato, si sincronizza e carica il SW. Ricorda che è questione di "tempismo", quindi, se non ci riesci la prima volta tenta e ritenta, magari un po' prima, magari un po' dopo ... altro non saprei suggerirti.
Guglielmo
P.S.: NON è il primo caso di cloni Pro Mini che non caricano bene attraverso l'adattatore ... credo sia problema del condensatore che controlla il reset o cose simili ... ne ho alcuni anche io che presentano questo difetto.
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Ma perché no ? :o Tanto programma via USB <--> Seriale e quindi la voce "programmatore" è bellamente ignorata e viene considerato quello che c'è scritto nel file "boards.txt":
mini.name=Arduino Mini
mini.upload.tool=avrdude
mini.upload.protocol=arduino
mini.bootloader.tool=avrdude
....
....