[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] Problems with programming an ATmega16L
From: |
Sebastian Fischmeister |
Subject: |
[avrdude-dev] Problems with programming an ATmega16L |
Date: |
Sat, 23 Apr 2005 02:07:55 -0400 |
Hello.
My setup is working fine with an at90s8515. I use MacOS, a
usb2serial, a stk500, and avrdude 4.4.0.
As soon as I switch from the at90s8515 to the atmega16, I get the
following error when I try to program it: failed to enter programming
mode.
Below I attached the output of "-v -v -v -v".
Does anyone had similar problems and found a solution for it?
Thanks a lot,
Sebastian
---------------
/tmp/bin/avrdude -v -v -v -v -p m16 -P /dev/cu.usbserial-FTBPLT4B -c
stk500 -e > /tmp/out
avrdude: Version 4.4.0
Copyright (c) 2000-2004 Brian Dean, address@hidden
System wide configuration file is "/tmp/etc/avrdude.conf"
User configuration file is "/Users/sf/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping
Using Port : /dev/cu.usbserial-FTBPLT4B
Using Programmer : stk500
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
AVR Part : ATMEGA16
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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
Memory Ops:
Oeration Inst Bit Bit Type Bitno Value
----------- -------- -------- ----- -----
READ 31 VALUE 7 1
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 0
27 VALUE 3 0
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 IGNORE 5 0
20 IGNORE 4 0
19 IGNORE 3 0
18 IGNORE 2 0
17 ADDRESS 9 0
16 ADDRESS 8 0
15 ADDRESS 7 0
14 ADDRESS 6 0
13 ADDRESS 5 0
12 ADDRESS 4 0
11 ADDRESS 3 0
10 ADDRESS 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 OUTPUT 7 0
6 OUTPUT 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
WRITE 31 VALUE 7 1
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 0
27 VALUE 3 0
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 IGNORE 5 0
20 IGNORE 4 0
19 IGNORE 3 0
18 IGNORE 2 0
17 ADDRESS 9 0
16 ADDRESS 8 0
15 ADDRESS 7 0
14 ADDRESS 6 0
13 ADDRESS 5 0
12 ADDRESS 4 0
11 ADDRESS 3 0
10 ADDRESS 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 INPUT 7 0
6 INPUT 6 0
5 INPUT 5 0
4 INPUT 4 0
3 INPUT 3 0
2 INPUT 2 0
1 INPUT 1 0
0 INPUT 0 0
Page Polled
Memory Type Paged Size Size #Pages MinW MaxW ReadBack
----------- ------ ------ ---- ------ ----- ----- ---------
flash yes 16384 128 128 4500 4500 0xff 0xff
Memory Ops:
Oeration Inst Bit Bit Type Bitno Value
----------- -------- -------- ----- -----
READ_LO 31 VALUE 7 0
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 0
27 VALUE 3 0
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 ADDRESS 13 0
20 ADDRESS 12 0
19 ADDRESS 11 0
18 ADDRESS 10 0
17 ADDRESS 9 0
16 ADDRESS 8 0
15 ADDRESS 7 0
14 ADDRESS 6 0
13 ADDRESS 5 0
12 ADDRESS 4 0
11 ADDRESS 3 0
10 ADDRESS 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 OUTPUT 7 0
6 OUTPUT 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
READ_HI 31 VALUE 7 0
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 0
27 VALUE 3 1
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 ADDRESS 13 0
20 ADDRESS 12 0
19 ADDRESS 11 0
18 ADDRESS 10 0
17 ADDRESS 9 0
16 ADDRESS 8 0
15 ADDRESS 7 0
14 ADDRESS 6 0
13 ADDRESS 5 0
12 ADDRESS 4 0
11 ADDRESS 3 0
10 ADDRESS 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 OUTPUT 7 0
6 OUTPUT 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
LOADPAGE_LO 31 VALUE 7 0
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 0
27 VALUE 3 0
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 IGNORE 5 0
20 IGNORE 4 0
19 IGNORE 3 0
18 IGNORE 2 0
17 IGNORE 1 0
16 IGNORE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 ADDRESS 5 0
12 ADDRESS 4 0
11 ADDRESS 3 0
10 ADDRESS 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 INPUT 7 0
6 INPUT 6 0
5 INPUT 5 0
4 INPUT 4 0
3 INPUT 3 0
2 INPUT 2 0
1 INPUT 1 0
0 INPUT 0 0
LOADPAGE_HI 31 VALUE 7 0
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 0
27 VALUE 3 1
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 IGNORE 5 0
20 IGNORE 4 0
19 IGNORE 3 0
18 IGNORE 2 0
17 IGNORE 1 0
16 IGNORE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 ADDRESS 5 0
12 ADDRESS 4 0
11 ADDRESS 3 0
10 ADDRESS 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 INPUT 7 0
6 INPUT 6 0
5 INPUT 5 0
4 INPUT 4 0
3 INPUT 3 0
2 INPUT 2 0
1 INPUT 1 0
0 INPUT 0 0
WRITEPAGE 31 VALUE 7 0
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 0
27 VALUE 3 1
26 VALUE 2 1
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 ADDRESS 13 0
20 ADDRESS 12 0
19 ADDRESS 11 0
18 ADDRESS 10 0
17 ADDRESS 9 0
16 ADDRESS 8 0
15 ADDRESS 7 0
14 ADDRESS 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 IGNORE 7 0
6 IGNORE 6 0
5 IGNORE 5 0
4 IGNORE 4 0
3 IGNORE 3 0
2 IGNORE 2 0
1 IGNORE 1 0
0 IGNORE 0 0
Page Polled
Memory Type Paged Size Size #Pages MinW MaxW ReadBack
----------- ------ ------ ---- ------ ----- ----- ---------
lock no 1 0 0 0 0 0x00 0x00
Memory Ops:
Oeration Inst Bit Bit Type Bitno Value
----------- -------- -------- ----- -----
READ 31 VALUE 7 0
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 1
27 VALUE 3 1
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 VALUE 5 0
20 VALUE 4 0
19 VALUE 3 0
18 VALUE 2 0
17 VALUE 1 0
16 VALUE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 IGNORE 7 0
6 IGNORE 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
WRITE 31 VALUE 7 1
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 0
27 VALUE 3 1
26 VALUE 2 1
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 1
22 VALUE 6 1
21 VALUE 5 1
20 IGNORE 4 0
19 IGNORE 3 0
18 IGNORE 2 0
17 IGNORE 1 0
16 IGNORE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 VALUE 7 1
6 VALUE 6 1
5 INPUT 5 0
4 INPUT 4 0
3 INPUT 3 0
2 INPUT 2 0
1 INPUT 1 0
0 INPUT 0 0
Page Polled
Memory Type Paged Size Size #Pages MinW MaxW ReadBack
----------- ------ ------ ---- ------ ----- ----- ---------
lfuse no 1 0 0 0 0 0x00 0x00
Memory Ops:
Oeration Inst Bit Bit Type Bitno Value
----------- -------- -------- ----- -----
READ 31 VALUE 7 0
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 1
27 VALUE 3 0
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 VALUE 5 0
20 VALUE 4 0
19 VALUE 3 0
18 VALUE 2 0
17 VALUE 1 0
16 VALUE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 OUTPUT 7 0
6 OUTPUT 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
WRITE 31 VALUE 7 1
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 0
27 VALUE 3 1
26 VALUE 2 1
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 1
22 VALUE 6 0
21 VALUE 5 1
20 VALUE 4 0
19 VALUE 3 0
18 VALUE 2 0
17 VALUE 1 0
16 VALUE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 INPUT 7 0
6 INPUT 6 0
5 INPUT 5 0
4 INPUT 4 0
3 INPUT 3 0
2 INPUT 2 0
1 INPUT 1 0
0 INPUT 0 0
Page Polled
Memory Type Paged Size Size #Pages MinW MaxW ReadBack
----------- ------ ------ ---- ------ ----- ----- ---------
hfuse no 1 0 0 0 0 0x00 0x00
Memory Ops:
Oeration Inst Bit Bit Type Bitno Value
----------- -------- -------- ----- -----
READ 31 VALUE 7 0
30 VALUE 6 1
29 VALUE 5 0
28 VALUE 4 1
27 VALUE 3 1
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 0
22 VALUE 6 0
21 VALUE 5 0
20 VALUE 4 0
19 VALUE 3 1
18 VALUE 2 0
17 VALUE 1 0
16 VALUE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 OUTPUT 7 0
6 OUTPUT 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
WRITE 31 VALUE 7 1
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 0
27 VALUE 3 1
26 VALUE 2 1
25 VALUE 1 0
24 VALUE 0 0
23 VALUE 7 1
22 VALUE 6 0
21 VALUE 5 1
20 VALUE 4 0
19 VALUE 3 1
18 VALUE 2 0
17 VALUE 1 0
16 VALUE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 IGNORE 1 0
8 IGNORE 0 0
7 INPUT 7 0
6 INPUT 6 0
5 INPUT 5 0
4 INPUT 4 0
3 INPUT 3 0
2 INPUT 2 0
1 INPUT 1 0
0 INPUT 0 0
Page Polled
Memory Type Paged Size Size #Pages MinW MaxW ReadBack
----------- ------ ------ ---- ------ ----- ----- ---------
signature no 3 0 0 0 0 0x00 0x00
Memory Ops:
Oeration Inst Bit Bit Type Bitno Value
----------- -------- -------- ----- -----
READ 31 VALUE 7 0
30 VALUE 6 0
29 VALUE 5 1
28 VALUE 4 1
27 VALUE 3 0
26 VALUE 2 0
25 VALUE 1 0
24 VALUE 0 0
23 IGNORE 7 0
22 IGNORE 6 0
21 IGNORE 5 0
20 IGNORE 4 0
19 IGNORE 3 0
18 IGNORE 2 0
17 IGNORE 1 0
16 IGNORE 0 0
15 IGNORE 7 0
14 IGNORE 6 0
13 IGNORE 5 0
12 IGNORE 4 0
11 IGNORE 3 0
10 IGNORE 2 0
9 ADDRESS 1 0
8 ADDRESS 0 0
7 OUTPUT 7 0
6 OUTPUT 6 0
5 OUTPUT 5 0
4 OUTPUT 4 0
3 OUTPUT 3 0
2 OUTPUT 2 0
1 OUTPUT 1 0
0 OUTPUT 0 0
Programmer Type : STK500
Description : Atmel STK500
avrdude: Send: A [41] . [80] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [02]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
Hardware Version: 2
Firmware Version: 1.18
avrdude: Send: A [41] . [84] [20]
avrdude: Recv: . [14]
avrdude: Recv: 3 [33]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85] [20]
avrdude: Recv: . [14]
avrdude: Recv: 2 [32]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [86] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [87] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [89] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
Vtarget : 5.1 V
Varef : 5.0 V
Oscillator : 3.686 MHz
SCK period : 1.1 us
avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [01]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [12]
avrdude: Recv: . [10]
avrdude: Send: B [42] . [82] . [00] . [00] . [01] . [01] . [01] . [01]
. [02] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [02] . [00] . [00] .
[00] @ [40] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: E [45] . [05] . [00] . [d7] . [a0] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: P [50] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [11]
avrdude: stk500_program_enable(): failed to enter programming mode
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude done. Thank you.
- [avrdude-dev] Problems with programming an ATmega16L,
Sebastian Fischmeister <=