moin,
ich probiere gerade mal den mega169 (bzw. butterfly)
unter linux über rs232 zu programmieren.
ich habe testweise den avr-gcc port des butterfly-demo-codes
genommen und wollte den gerne mal mit avrdude ins flash schreiben...
leider bekomme ich immer:
"avrdude: failed to write flash memory, rc=-1" (s.u.)
ttyS0 sollte funktionieren (name upload funktionierte)
hat jemand schonmal ähnliches gesehen?
freue mich über tipps!
lg
kalle
avrdude -v -p m169 -c butterfly -P /dev/ttyS0 -e -U flash:w:main.hex
avrdude: Version 5.0
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/admin/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping
Using Port : /dev/ttyS0
Using Programmer : butterfly
AVR Part : ATMEGA169
Chip Erase delay : 9000 us
PAGEL : P00
BS2 : P00
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 512 4 0
9000 9000 0xff 0xff
flash 65 6 128 0 yes 16384 128 128
4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0
2000 2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0
2000 2000 0x00 0x00
efuse 0 0 0 0 no 1 0 0
0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0
2000 2000 0x00 0x00
signature 0 0 0 0 no 3 0 0
0 0 0x00 0x00
calibration 0 0 0 0 no 1 0 0
0 0 0x00 0x00
Programmer Type : avr910
Description : Atmel Butterfly Development Board
Connecting to programmer: .
Found programmer: Id = "AVRBOOT"; type = S
Software Version = 2.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=-128 bytes.
Programmer supports the following devices:
Device code: 0x75
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100%
0.01s
avrdude: Device signature = 0x1e9405
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: safemode: lfuse reads as 13
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: safemode: hfuse reads as 13
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: safemode: efuse reads as 13
avrdude: erasing chip
avrdude: reading input file "main.hex"
avrdude: input file main.hex auto detected as Intel Hex
avrdude: writing flash (14200 bytes):
Writing | ################################################## | 100%
0.01s
avrdude: failed to write flash memory, rc=-1
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: safemode: lfuse reads as 13
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: safemode: hfuse reads as 13
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: programmer operation not supported
avrdude: safemode: efuse reads as 13
avrdude: safemode: Fuses OK
avrdude done. Thank you.
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
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.