[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] write problem
From: |
Maik Scholz |
Subject: |
[avrdude-dev] write problem |
Date: |
Tue, 2 Sep 2003 20:02:49 +0200 |
Hi,
i am using a pavr serial programming dongle and my AVR2313 target.
=> programming my target with atmel-AVRProg works fine!!!
1.) Problem:
I have added the "avr910_devcode = 0x20;" in the avrdude.conf file.
If I try to programm my target with avrdude, then I get a "avrdude:
serial_recv(): programmer is not responding" error?
Where could be the problem?
Commandlinelog:
H:\USER\Maik\HomeNet\firmware>avrdude -v -V -c pavr -P com3 -p 2313 -e -m flash
-i cansio.hex
avrdude: Version 4.1.0
Copyright (c) 2000-2003 Brian Dean, address@hidden
System wide configuration file is "h:\Programme\WinAVR\bin\avrdude.conf
"
Using Port : com3
Using Programmer : pavr
AVR Part : AT90S2313
Chip Erase delay : 20000 us
PAGEL : P00
BS2 : P00
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 128 0 0 9000 20000 0x80 0x7f
flash no 2048 0 0 9000 20000 0x7f 0x00
signature no 3 0 0 0 0 0x00 0x00
lock no 1 0 0 0 0 0x00 0x00
Programmer Type : avr910
Description : Jason Kyle's pAVR Serial Programmer
Found programmer: Id = "AVR ISP"; type = S
Software Version = 3.0; Hardware Version = 1.0
Programmer supports auto addr increment.
Programmer supports the following devices:
Device code: 0x10
Device code: 0x11
Device code: 0x12
Device code: 0x13
Device code: 0x20
Device code: 0x28
Device code: 0x30
Device code: 0x34
Device code: 0x38
Device code: 0x3a
Device code: 0x3b
Device code: 0x41
Device code: 0x42
Device code: 0x43
Device code: 0x44
Device code: 0x48
Device code: 0x4c
Device code: 0x50
Device code: 0x51
Device code: 0x55
Device code: 0x56
Device code: 0x58
Device code: 0x5c
Device code: 0x5e
Device code: 0x60
Device code: 0x61
Device code: 0x64
Device code: 0x65
Device code: 0x66
Device code: 0x67
Device code: 0x68
Device code: 0x6a
Device code: 0x6b
Device code: 0x6c
Device code: 0x70
Device code: 0x71
Device code: 0x72
Device code: 0x73
Device code: 0x74
Device code: 0x75
Device code: 0x76
Device code: 0x77
Device code: 0x80
Device code: 0x81
Device code: 0x86
Device code: 0x87
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x01911e
avrdude: erasing chip
avrdude: done.
avrdude: reading input file "cansio.hex"
avrdude: input file cansio.hex auto detected as Intel Hex
avrdude: writing flash (2022 bytes):
avrdude: serial_recv(): programmer is not responding
H:\USER\Maik\HomeNet\firmware>pause
Drücken Sie eine beliebige Taste . . .
My ISP Code:
;***************************************************************************
;*
;* Title : AVR ISP (Auto adr inc, 19200bps)
;* Version : 3.0
;* Last updated : 16 June 2003
;* Target : AT90S2313 @ 4Mhz (orig. AT90S1200)
;* File : AVR910_2313_v3.asm
;* Author(s) : Ole Saether, Terje Frostad,
;* Ingar Fredriksen, Morten W. Lund
;* Haakon Skar, Paal Kastnes
;*
;See original appnote for more info.
;*
;* HISTORY
;* V3.0?? 16/June/03 (J.Samperi) This version works with AT90S2313 because it
;* uses the LPM instruction and also uses the
;* hardware UART. Added lookup table for device
;* codes and program mode. Device can be added or
;* removed by simply changing parameters in one
;* location only.
;* V2.2c 03.06.07 (sjdavies) Changed the 'x' and 'y' commands to
make
;* them accept a parameter ('flushing'
bugfix)
;* V2.2b 02.08.16 (sc) Swapped MOSI & MISO port bits
;* V2.2 02.04.10 (sjdavies) Ported to AT90S2313 running at 4MHz for
;* Silicon Chip article.
;* V2.2 02.01.23 (sjdavies) Ported from a 4Mhz 1200 to an 8Mhz 8535.
;* Serial IO modified to use hardware UART.
;* Timing updated.
;* Device specific modifications.
;* V2.2 00.03.10 (pkastnes) Added support for multiple new devices
;* V2.1 98.10.26 (mlund) New date marking.
;* Removed support for AT90S1200C.
;* Added support for AT90S4433A.
;* V2.0 98.01.06 (mlund) ATmega103 support
;* V1.7 97.11.06 (mlund) Universial command (':') implemented.
;* Releases all pins when not in
;* programming mode.
;* V1.6e 97.11.04 (mlund) mega103 rev D support
;* V1.6c 97.10.30 (mlund) Auto incrementing / SPI sync
;* also works for mega103.
;* V1.6 97.09.09 (hskar) Created Page Mode Version (mega103)
;* V1.5 97.08.21 (mlund) Modified / Bugfix / Major cleanup
;* ... ... (no records)
;* V?.? 97.03.15 (OS) Created
;*
;See original appnote for more info.
;*
;* LEGEND:
;* -------
;* Signature - Device Signature Byte
;* Code - Unique device code used by AVRProg to identify device
;* Flash - Flash size in bytes
;* EEProm - EEProm size in bytes
;* Lock - Lockbits
;* Fuse - Fusebits
;* PMode - Indicates if device uses byte or page programming mode
;*
;* R/W - Read and Write Access
;* R - Read Access Only
;* W - Write Access Only
;* NA - Not Accessible
;*
;***************************************************************************
...
- [avrdude-dev] write problem,
Maik Scholz <=