Bin jetzt bei avrdude gelandet.
Ein Prob habe ich ncoh. Schau mal. Vieleicht kanst du ja was damit anfangen.
Code:
ralf@linux:~> avrdude -c sp12 -p m8 -F -U flash:w:/home/ralf/HEX/Write.hex -P /dev/parport0 -v
avrdude: Version 4.4.0
Copyright (c) 2000-2004 Brian Dean, bsd@bsdhome.com
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/ralf/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/parport0
Using Programmer : sp12
AVR Part : ATMEGA8
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Memory Detail :
Page Polled
Memory Type Paged Size Size #Pages MinW MaxW ReadBack
----------- ------ ------ ---- ------ ----- ----- ---------
eeprom no 512 0 0 9000 9000 0xff 0xff
flash yes 8192 64 128 4500 4500 0xff 0xff
lfuse no 1 0 0 2000 2000 0x00 0x00
hfuse no 1 0 0 2000 2000 0x00 0x00
lock no 1 0 0 2000 2000 0x00 0x00
calibration no 4 0 0 0 0 0x00 0x00
signature no 3 0 0 0 0 0x00 0x00
Programmer Type : PPI
Description : Steve Bolt's Programmer
VCC = 0x7c = pins 4,5,6,7,8
BUFF = 0x00 (not used)
RESET = 3
SCK = 2
MOSI = 9
MISO = 11
ERR LED = 0
RDY LED = 0
PGM LED = 0
VFY LED = 0
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "/home/ralf/HEX/Write.hex"
avrdude: input file /home/ralf/HEX/Write.hex auto detected as Intel Hex
avrdude: writing flash (22 bytes):
Writing | ################################################## | 100% 0.02s
avrdude: 22 bytes of flash written
avrdude: verifying flash memory against /home/ralf/HEX/Write.hex:
avrdude: load data flash data from input file /home/ralf/HEX/Write.hex:
avrdude: input file /home/ralf/HEX/Write.hex auto detected as Intel Hex
avrdude: input file /home/ralf/HEX/Write.hex contains 22 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0f != 0xff
avrdude: verification error; content mismatch
avrdude done. Thank you.
Ich kann zwar lesen aber nicht schreiben der verify ist sch.....
Lesezeichen