[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] Programmer is not responding
From: |
Henrik Brix Andersen |
Subject: |
[avrdude-dev] Programmer is not responding |
Date: |
Tue, 23 Aug 2005 20:55:25 +0200 |
Hi,
I have recently acquired an Atmel STK500 development board, but I am
having problems getting it working with avrdude under Linux. The board
works with AVR Studio 4 on Microsoft Windows XP.
I have had it working with avrdude (erase only) a couple of times, but
>90% of the times I try, it fails with the following error message:
address@hidden ~ $ avrdude -c stk500 -p m16 -P /dev/ttyUSB0 -v -v -e
avrdude: Version 5.0-BETA
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/brix/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : stk500
avrdude: serial_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
I have also tried the "avrisp" programmer type. I have tried both
avrdude-4.4.0, avrdude-5.0-BETA and current CVS, same results. I have
used AVR Studio 4 to upgrade the firmware of the STK500 to V2, same
results.
AVR Studio 4 identifies the board as:
STK500 with V2 firmware found on COM7:
Getting revisions.. HW: 0x02, SW Major: 0x02, SW Minor: 0x00 .. OK
It is connected to the host PC through a PL-2303 USB-to-RS232 converter.
This is the output of one of the few times I've had it working:
address@hidden ~ $ avrdude -c avrisp -p m16 -P /dev/ttyUSB0 -v -v -e
avrdude: Version 4.4.0
Copyright (c) 2000-2004 Brian Dean, address@hidden
System wide configuration file is "/etc/avrdude.conf"
User configuration file is "/home/brix/.avrduderc"
User configuration file does not exist or is not a regular
file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : avrisp
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
flash yes 16384 128 128 4500 4500 0xff 0xff
lock no 1 0 0 0 0 0x00 0x00
lfuse no 1 0 0 0 0 0x00 0x00
hfuse no 1 0 0 0 0 0x00 0x00
signature no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel AVR ISP
Hardware Version: 2
Firmware Version: 1.15
Vtarget : 5.1 V
Varef : 5.0 V
Oscillator : 3.686 MHz
SCK period : 1.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100%
0.01s
avrdude: Device signature = 0x1e9403
avrdude: erasing chip
avrdude done. Thank you.
Does anybody have an idea to what might be wrong?
Sincerely,
Brix
--
Henrik Brix Andersen <address@hidden>
Gentoo Metadistribution | Mobile computing herd
signature.asc
Description: This is a digitally signed message part
- [avrdude-dev] Programmer is not responding,
Henrik Brix Andersen <=