Forum: Mikrocontroller und Digitale Elektronik Programmer antwortet nicht


von michael (Gast)


Lesenswert?

Hallo,

ich hab mir kürzlich einen mySmartUSB light Programmer zugelegt um das 
uC-Programmieren zu lernen. Damit wollte ich nun einen Atmegea8 
programmieren (unter Linux). Leider sagt avrdude mir aber, dass der 
Programmer nicht antwortet.

Das sind meine Terminaleingaben:
1
dmesg|grep ttyUSB
2
[ 1341.485263] usb 6-1: cp210x converter now attached to ttyUSB0
3
[ 1575.250525] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
4
[ 1940.915315] usb 6-1: cp210x converter now attached to ttyUSB0
5
[ 1951.750665] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
6
[ 2175.075395] usb 6-1: cp210x converter now attached to ttyUSB0
7
[ 2396.500440] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
8
[ 2431.168666] usb 6-1: pl2303 converter now attached to ttyUSB0
9
[ 2566.000529] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
10
[ 2569.116621] usb 6-1: cp210x converter now attached to ttyUSB0
11
12
sudo avrdude -p m8 -P /dev/ttyUSB0 -c stk500 -U flash:w:main.hex:a
13
root's password:
14
avrdude: stk500_recv(): programmer is not responding
15
avrdude: stk500_2_ReceiveMessage(): timeout

Ich hoffe jemand kann mir weiterhelfen und mir sagen was ich falsch 
mache.

lg michael

von michael (Gast)


Lesenswert?

Ich habs nun soweit hinbekommen, dass der Programmer erkannt wird (mal 
wieder durch PC neu starten). allerdings kann er immer noch kein 
Programm in den uC flashen.
1
avrdude: stk500v2_command(): command failed
2
avrdude: initialization failed, rc=-1
3
         Double check connections and try again, or use -F to override
4
         this check.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.