Hallo zusammen,
ich habe hier zwei USBASP-Programmer liegen, bei denen scheinbar das Firmware-Update (Firmware von Thomas Fischl) schiefgelaufen ist. Die LEDs der beiden Programmer leuchten zwar, sobald sie in den USB-Port gesteckt werden, mehr passiert dann allerdings nicht. Burn-O-Mat oder Bascom (demo) erkennen die beiden Programmer nicht mehr. Im Gerätemanager unter Windows erscheint unter USB-Geräte: USBasp. Ganz tot scheinen sie daher nicht zu sein…?
Bild hier
Auf beiden USBASP-Programmer ist ein ATMEGA8A / AU 1731 verbaut.
Um die USBASP-Programmer mittels avrdude flashen zu können, habe ich einen Arduino MEGA als ISP-Programmer programmiert und wie folgt mit dem USBASP verbunden:
Arduino Mega USBASP 53 RST 51 MOSI 50 MISO 52 SCK 5V VCC GND GND
Mit dem Befehl:
Erhalte ich folgende (Fehler-)Meldung:Code:avrdude -C ..\etc\avrdude.conf -c avrisp -P COM7 -b 19200 -p m8 –v -F
Ich hatte mich nach dieser Anleitung gehalten, welche eigentlich funktionieren sollte.Code:C:\Arduino\hardware\tools\avr\bin>avrdude -C ..\etc\avrdude.conf -c avrisp -P COM7 -b 19200 -p m8 -v -F avrdude: Version 6.3-20171130 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "..\etc\avrdude.conf" Using Port : COM7 Using Programmer : avrisp Overriding Baud Rate : 19200 AVR Part : ATmega8 Chip Erase delay : 10000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max W ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- --- -- --------- eeprom 4 20 128 0 no 512 4 0 9000 90 00 0xff 0xff flash 33 10 64 0 yes 8192 64 128 4500 45 00 0xff 0x00 lfuse 0 0 0 0 no 1 0 0 2000 20 00 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 2000 20 00 0x00 0x00 efuse 0 0 0 0 no 0 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 2000 20 00 0x00 0x00 calibration 0 0 0 0 no 4 0 0 0 0 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : STK500 Description : Atmel AVR ISP Hardware Version: 2 Firmware Version: 1.18 Topcard : Unknown Vtarget : 0.0 V Varef : 0.0 V Oscillator : Off SCK period : 0.1 us avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.07s avrdude: Device signature = 0xffffff (probably .avr8x_mega) (retrying) Reading | ################################################## | 100% 0.08s avrdude: Device signature = 0xffffff (probably .avr8x_mega) (retrying) Reading | ################################################## | 100% 0.09s avrdude: Device signature = 0xffffff (probably .avr8x_mega) avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATmega8 is 1E 93 07 avrdude: safemode: lfuse reads as FF avrdude: safemode: hfuse reads as FF avrdude: safemode: Fuse reading not support by programmer. Safemode disabled. avrdude: safemode: lfuse reads as FF avrdude: safemode: hfuse reads as FF avrdude: safemode: lfuse reads as FF avrdude: safemode: hfuse reads as FF avrdude: safemode: Sorry, reading back fuses was unreliable. I have given up and exited programming mode avrdude done. Thank you.Jemand eine Idee was ich noch probieren könnte? Oder sollte ich mir direkt zwei neue bestellen?
Viele Grüße!








Zitieren
Lesezeichen