Gast
#4958031
Hallo,
ich möchte einen Arduino mit avrdude mit einem Diamex-progS flashen.
Dafür habe ich mir in AtmelStdudio ein externes Tool angelegt
-F -v -p atmega328p -c STK500 -P\\.\COM4 -b 115200 -B 100 -D
-Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
Allerdings möchte dieser meinen Controller nicht flashen. Den Arduino
habe ich dabei nicht mehr über USB an meinem Computer verbunden. Als
ausgabe bekomme ich:
avrdude.exe: Version 6.1, compiled on Mar 13 2014 at 00:09:49
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\AVRdude\avrdude.conf"
Using Port : \\.\COM4
Using Programmer : STK500
Overriding Baud Rate : 115200
Setting bit clk period : 100.0
AVR Part : ATmega328P
Chip Erase delay : 9000 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 MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ----
------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4
0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128
256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0
0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0
0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0
0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0
0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0
0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0
0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel STK500
Programmer Model: STK500
Hardware Version: 10
Firmware Version Master : 2.10
avrdude.exe: stk500v2_command(): command failed
avrdude.exe: stk500v2_getparm(): failed to get parameter 0x9a
Topcard : Unknown
Vtarget : 5.0 V
SCK period : 100.4 us
Varef : 5.0 V
Oscillator : Off
avrdude.exe: stk500v2_command(): command failed
avrdude.exe: initialization failed, rc=-1
avrdude.exe: AVR device initialized and ready to accept instructions
avrdude.exe: Device signature = 0x000000 (retrying)
avrdude.exe: Device signature = 0x000000 (retrying)
avrdude.exe: Device signature = 0x000000
avrdude.exe: Yikes! Invalid device signature.
avrdude.exe: Expected signature for ATmega328P is 1E 95 0F
avrdude.exe done. Thank you.
Einen Attiny flasht dieser mit den selben (ausgenommen -p atmega328p ->
-p attiny2313) Einstellungen.
Woran könnte das Liegen? Am DiamexProgS habe ich keien Änderungen
vorgenommen, da Laut Datenblatt keine Änderungen vorgenommen werden
müssen.