[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] support for avr32
From: |
Tobias |
Subject: |
[avrdude-dev] support for avr32 |
Date: |
Fri, 19 Oct 2007 02:41:17 +0200 |
User-agent: |
KMail/1.9.7 |
hy!
i am supposed to develop some products using the EVK1100 board (AT32UC3) and
the jtag ICE mkII. i would like to do development in linux, and as such using
a 64 bit system, so using avrstudio isn't quite an option either (atleast i
couldnt make it work properly). i played around with avrdude a bit, but
either i am making a stupid mistake, or there is some support missing :)
the output of "avrdude -p m32 -P usb -c jtag2isp -v" looks like this
(copyright etc stripped)
Using Port : usb
Using Programmer : jtag2isp
avrdude: usbdev_open(): Found JTAGICE mkII, serno: 00B0000029BB
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 4.32
hardware version: 0
S_MCU:
boot-loader FW version: 255
firmware version: 4.32
hardware version: 1
Serial number: 00:b0:00:00:29:bb
Device ID: JTAGICEmkII
avrdude: jtagmkII_setparm(): bad response to set parameter command: RSP_FAILED
avrdude: jtagmkII_getsync(): ISP activation failed, trying debugWire
avrdude: jtagmkII_setparm(): bad response to set parameter command:
RSP_DEBUGWIRE_SYNC_FAILED
avrdude: failed to sync with the JTAG ICE mkII in ISP mode
avrdude: jtagmkII_close(): timeout/error communicating with programmer
(status -1)
"avrdude -p m32 -P usb -c jtag2 -v" gives:
Using Port : usb
Using Programmer : jtag2
avrdude: usbdev_open(): Found JTAGICE mkII, serno: 00B0000029BB
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 4.32
hardware version: 0
S_MCU:
boot-loader FW version: 255
firmware version: 4.32
hardware version: 1
Serial number: 00:b0:00:00:29:bb
Device ID: JTAGICEmkII
AVR Part : ATMEGA32
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 10 64 0 no 1024 4 0 9000
9000 0xff 0xff
flash 33 6 64 0 yes 32768 128 256 4500
4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 2000
2000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 2000
2000 0x00 0x00
lock 0 0 0 0 no 1 0 0 2000
2000 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
calibration 0 0 0 0 no 4 0 0 0
0 0x00 0x00
Programmer Type : JTAGMKII
Description : Atmel JTAG ICE mkII
M_MCU hardware version: 0
M_MCU firmware version: 4.32
S_MCU hardware version: 1
S_MCU firmware version: 4.32
Serial number: 00:b0:00:00:29:bb
Vtarget : 3.3 V
JTAG clock : 891.7 kHz (1.1 us)
avrdude: jtagmkII_program_enable(): bad response to enter progmode command:
RSP_ILLEGAL_JTAG_ID
avrdude: JTAGEN fuse disabled?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
the flash line made me wonder, since this board/mcu has 512k flash (or am i
interpreting the printed values wrong?).
however, since i really would like to develop in linux (and i am out of hope
for avr32program to work on 64bit anytime soon) i wouldn't mind adding the
missing features to avrdude. if someone could give me some
hints/suggestions/whatever that would be very nice :)
oh and i should say that i can program the board using avrstudio on a windows
box without problems, so the whole setup is ok as such.
--
http://ami.ga/
http://c64upgra.de/