[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] -c jtagmkII -P usb not working
From: |
avrdude |
Subject: |
[avrdude-dev] -c jtagmkII -P usb not working |
Date: |
Fri, 8 May 2009 01:13:27 +0200 |
Hallo
I want to program my new xmega128a1 toy with:
/usr/local/bin/avrdude -c jtagmkII -P usb -p x128a1 -U flash:w:blink.hex -vv
but it not even found the signatur. -F also failed.
May someone have a idea on this output:
=====================================
ben:/home/axel/ufe/svn/trunk/c/avr/test/xm_blink# /usr/local/bin/avrdude -c
jtagmkII -P usb -p x128a1 -U flash:w:blink.hex -vv
avrdude: Version 5.6cvs, compiled on May 7 2009 at 13:31:49
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file,
skipping
Using Port : usb
Using Programmer : jtagmkII
avrdude: jtagmkII_open()
avrdude: usbdev_open(): Found JTAGICE mkII, serno: 00B0000064AA
avrdude: usbdev_open(): using read endpoint 0x82
avrdude: jtagmkII_getsync(): Sending sign-on command: 0x86 (28 bytes msg)
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 5.44
hardware version: 0
S_MCU:
boot-loader FW version: 255
firmware version: 5.44
hardware version: 1
Serial number: 00:b0:00:00:64:aa
Device ID: JTAGICEmkII
avrdude: jtagmkII_getsync(): Using a 298-byte device descriptor
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1
bytes): 0x80 (1 bytes msg)
avrdude: jtagmkII_getsync(): Sending get sync command: 0x80 (1 bytes msg)
AVR Part : ATXMEGA128A1
Chip Erase delay : 0 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 0
StabDelay : 0
CmdexeDelay : 0
SyncLoops : 0
ByteDelay : 0
PollIndex : 0
PollValue : 0x00
Memory Detail :
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
eeprom 0 0 0 0 no 2048 32 0 0
0 0x00 0x00
flash 0 0 0 0 no 131072 512 0 0
0 0x00 0x00
boot 0 0 0 0 no 8192 512 0 0
0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
fuse0 0 0 0 0 no 1 0 0 0
0 0x00 0x00
fuse1 0 0 0 0 no 1 0 0 0
0 0x00 0x00
fuse2 0 0 0 0 no 1 0 0 0
0 0x00 0x00
fuse4 0 0 0 0 no 1 0 0 0
0 0x00 0x00
fuse5 0 0 0 0 no 1 0 0 0
0 0x00 0x00
lockbits 0 0 0 0 no 1 0 0 0
0 0x00 0x00
calibration 0 0 0 0 no 512 0 0 0
0 0x00 0x00
usersig 0 0 0 0 no 512 0 0 0
0 0x00 0x00
Programmer Type : JTAGMKII
Description : Atmel JTAG ICE mkII
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x01): 0x81
(3 bytes msg)
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x02): 0x81
(5 bytes msg)
M_MCU hardware version: 0
M_MCU firmware version: 5.44
S_MCU hardware version: 1
S_MCU firmware version: 5.44
Serial number: 00:b0:00:00:64:aa
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x06): 0x81
(3 bytes msg)
Vtarget : 3.4 V
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x07): 0x81
(2 bytes msg)
JTAG clock : 891.7 kHz (1.1 us)
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x1b, 4
bytes): 0x80 (1 bytes msg)
avrdude: jtagmkII_set_devdescr(): Sending set device descriptor command: 0x80
(1 bytes msg)
avrdude: jtagmkII_getsync(): Sending sign-on command: 0x86 (28 bytes msg)
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
boot-loader FW version: 255
firmware version: 5.44
hardware version: 0
S_MCU:
boot-loader FW version: 255
firmware version: 5.44
hardware version: 1
Serial number: 00:b0:00:00:64:aa
Device ID: JTAGICEmkII
avrdude: jtagmkII_getsync(): Using a 298-byte device descriptor
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1
bytes): 0x80 (1 bytes msg)
avrdude: jtagmkII_getsync(): Sending get sync command: 0x80 (1 bytes msg)
avrdude: jtagmkII_reset(): Sending reset command: 0x80 (1 bytes msg)
avrdude: jtagmkII_read_byte(.., hfuse, 0x1, ...)
avrdude: jtagmkII_program_enable(): Sending enter progmode command: 0x80 (1
bytes msg)
avrdude: jtagmkII_read_byte(): Sending read memory command: 0x82 (2 bytes msg)
avrdude: AVR device initialized and ready to accept instructions
Reading | | 0%
0.00savrdude: jtagmkII_read_byte(.., signature, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 0x82 (2 bytes msg)
avrdude: jtagmkII_read_byte(.., signature, 0x1, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 0x82 (2 bytes msg)
Reading | ################# | 33%
0.01savrdude: jtagmkII_read_byte(.., signature, 0x2, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 0x82 (2 bytes msg)
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
avrdude: jtagmkII_program_disable(): Sending leave progmode command: 0x80 (1
bytes msg)
avrdude: jtagmkII_reset(): Sending reset command: 0x80 (1 bytes msg)
avrdude: jtagmkII_close()
avrdude: jtagmkII_close(): Sending GO command: 0x80 (1 bytes msg)
avrdude: jtagmkII_close(): Sending sign-off command: 0x80 (1 bytes msg)
avrdude done. Thank you.
- [avrdude-dev] -c jtagmkII -P usb not working,
avrdude <=