[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] avrdude: stk500v2_paged_write: write instruction not defin
From: |
Esben H . Østergaard |
Subject: |
[avrdude-dev] avrdude: stk500v2_paged_write: write instruction not defined for part |
Date: |
Fri, 11 Nov 2005 13:40:51 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi all
The subject states my problem
I get;
stk500v2_paged_write: write instruction not defined for part "ATMEGA162"
Fuses are in factory settings. When i use the at90s8515 everything works fine.
I have tried two different (new) ATmega162's.
The firmware on STK500 is that of AvrStudio 4.11.
avrdude -p m162 -P /dev/ttyS0 -c stk500v2 -v -U flash:w:rom.hex
avrdude: Version 5.0
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/home/esben/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : /dev/ttyS0
Using Programmer : stk500v2
AVR Part : ATMEGA162
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
----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
flash 0 0 0 0 yes 16384 128 128 4500
4500 0xff 0xff
eeprom 65 20 4 0 no 512 4 0 9000
9000 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 16000
16000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 16000
16000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 16000
16000 0x00 0x00
lock 0 0 0 0 no 1 0 0 16000
16000 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 : STK500V2
Description : Atmel STK500 V2
Hardware Version: 2
Firmware Version: 2.1
Topcard : Unknown
Vtarget : 5.1 V
Varef : 5.0 V
Oscillator : 3.686 MHz
SCK period : 10.9 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x000102
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: current erase-rewrite cycle count is -50462977 (if being tracked)
avrdude: erasing chip
avrdude: reading input file "rom.hex"
avrdude: input file rom.hex auto detected as Intel Hex
avrdude: writing flash (292 bytes):
Writing | | 0% 0.00savrdude:
stk500v2_paged_write: write instruction not defined for part "ATMEGA162"
Writing | ################################################## | 100% 0.00s
avrdude: failed to write flash memory, rc=-1
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OK
avrdude done. Thank you.
I am aware that similar problems have been reported before in a previosu version
of avrdude, but the patches should have been included in avrdude-5.0.
Please give me some hints.
Regards, Esben
esben _at_ mip_sdu_dk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] avrdude: stk500v2_paged_write: write instruction not defined for part,
Esben H . Østergaard <=