[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] jtag and avr ice mkI problem
From: |
andrea campanella |
Subject: |
[avrdude-dev] jtag and avr ice mkI problem |
Date: |
Fri, 2 Oct 2009 09:54:46 +0200 |
In the company there I work we try to integrate avrdude in the work process
for programming our avr micro.
We have some avr ice mkI and some ice mkI clone (olimex), but when we try to
program the micro (in this case atmega128) in jtag with avrdude 5.6 :
avrdude -c jtag1 -P com3 -p m128 -u -U efuse:w:0xff:m -U
hfuse:w:0x99:m -U lfuse:w:0x3f:m -U lock:w:0xfc:m -v
we have this problem:
Using Port : com3
Using Programmer : jtag1
AVR Part : ATMEGA128
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 4 12 64 0 no 4096 8 0
9000 9000 0xff 0xff
flash 33 6 128 0 yes 131072 256 512
4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0
9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0
9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0
9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0
9000 9000 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 : JTAGMKI
Description : Atmel JTAG ICE (mkI)
ICE hardware version: 0xce
ICE firmware version: 0x7f
Vtarget : 5.1 V
JTAG clock : ??? (1.0 us)
avrdude: jtagmkI_initialize(): warning: OCDEN fuse not programmed,
single-byte EEPROM updates not possible
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e9702
avrdude: reading input file "0xff"
avrdude: writing efuse (1 bytes):
Writing | ################################################## | 100% 0.03s
avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xff:
avrdude: load data efuse data from input file 0xff:
avrdude: input file 0xff contains 1 bytes
avrdude: reading on-chip efuse data:
Reading | | 0%
0.00savrdude:
jtagmkI_read_byte(): timeout/error communicating with programmer (resp )
WARNING!! Programming completed with ERRORS
In the documentation the avr ice mkI is supported in jtag but there is no
way for make it work...
--
Andrea Campanella
- [avrdude-dev] jtag and avr ice mkI problem,
andrea campanella <=