Forum: Mikrocontroller und Digitale Elektronik Arch Linux Avrispmk2 Atiny85


von Ganymoe (Gast)


Lesenswert?

Hallo!

Ich hab gestern meinen Avrisp MKII bekommen und wollt gleich mal 
ausprobieren.

Ich hab kein Entwicklerboard, arbeite auf einem normalen Steckbrett. 
Avrdude auf Linux Laptop.
Pinbelegung-extras: 10k Pull-Up auf Reset, 100nF Vcc auf Gnd;
Versorgungsspannung sind 5V. (habs auch nachgemessen, die sind am 
Board...)

Hab diverse Bitclock perioden durchprobiert, USB gewechselt. Anderes 
Entwicklerboard, andere Kabel.

Leider bekomme ich nur folgende Fehlermeldung:
1
sudo avrdude -c avrispv2 -p t85 -P usb -v -U flash:w:test_leds.hex -B 10
2
3
avrdude: Version 6.1, compiled on Mar 24 2014 at 14:06:56
4
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
5
         Copyright (c) 2007-2014 Joerg Wunsch
6
7
         System wide configuration file is "/etc/avrdude.conf"
8
         User configuration file is "/root/.avrduderc"
9
         User configuration file does not exist or is not a regular file, skipping
10
11
         Using Port                    : usb
12
         Using Programmer              : avrispv2
13
         Setting bit clk period        : 10.0
14
avrdude: usbdev_open(): Found AVRISP mkII, serno: 000200214240
15
         AVR Part                      : ATtiny85
16
         Chip Erase delay              : 4500 us
17
         PAGEL                         : P00
18
         BS2                           : P00
19
         RESET disposition             : possible i/o
20
         RETRY pulse                   : SCK
21
         serial program mode           : yes
22
         parallel program mode         : yes
23
         Timeout                       : 200
24
         StabDelay                     : 100
25
         CmdexeDelay                   : 25
26
         SyncLoops                     : 32
27
         ByteDelay                     : 0
28
         PollIndex                     : 3
29
         PollValue                     : 0x53
30
         Memory Detail                 :
31
32
                                  Block Poll               Page                       Polled
33
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
34
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
35
           eeprom        65     6     4    0 no        512    4      0  4000  4500 0xff 0xff
36
           flash         65     6    32    0 yes      8192   64    128  4500  4500 0xff 0xff
37
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
38
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
39
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
40
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
41
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
42
           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00
43
44
         Programmer Type : STK500V2
45
         Description     : Atmel AVR ISP V2
46
         Programmer Model: AVRISP mkII
47
         Hardware Version: 1
48
         Firmware Version Master : 1.23
49
         Vtarget         : 0.0 V
50
         SCK period      : 10.37 us
51
52
avrdude: stk500v2_command(): command failed
53
avrdude: stk500v2_program_enable(): bad AVRISPmkII connection status: Target not detected
54
avrdude: initialization failed, rc=-1
55
         Double check connections and try again, or use -F to override
56
         this check.
57
58
59
avrdude done.  Thank you.

Ich weiss dass es viele Threads mit dem Problem gibt. Hab auch die 
meisten Fehlerbehebungen von dort angewandt, nur ohne Erfolg.

mfg
Ganymoe

von Ganymede (Gast)


Lesenswert?

Problem gelöst.
Ist zwar sehr komisch, aber hab einen neuen Pfostenstecker draufgemacht 
und es funktioniert jetzt.

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.