EmbDev.net

Forum: µC & Digital Electronics Connecting USBprog with JTAGice mk2 to Atmel Raven


von René V. (theduke)


Rate this post
useful
not useful
Hi Folks,

I'm getting quite desperate here.
For some days now i tried to connect my USBprog with the JTAG clone to 
my new Atmel Raven-Kit.
I use WinXP SP2, AVRStudio 4.18.716, the newest WinAVR, avrdude 5.10. 
and this
(http://svn.berlios.de/svnroot/repos/usbprog/trunk/jtagicemk2klon/jtagice2.bin)
Firmware, the newest one (jtagice2-dev.bin) doesn't work for me, its not 
getting recognized as usb-device.

After a long search i finally found the pinout of the USBprog.
(1=TDI, 2=VCC, 3=RST, 5=TMS, 7=TCK, 9=TDO, 10=GND,
thats right?).
I miss this information on the firmware-page ;)

AVR Studio connects to the JTAG clone but is "unable to identify the 
target".
Avrdude, at least, seems to do something but is not able to get the 
correct signature, it always reads 0x1e1e1e, and flashdumps are empty.

Heres a terminaldump:
1
F:\Dokumente und Einstellungen\Rene>avrdude -c jtag2 -P usb -p usb1287 -F -v -B8 -U flash:r:program.hex:i
2
3
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
4
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
5
         Copyright (c) 2007-2009 Joerg Wunsch
6
7
         System wide configuration file is "F:\WinAVR\bin\avrdude.conf"
8
9
         Using Port                    : usb
10
         Using Programmer              : jtag2
11
         Setting bit clk period        : 8.0
12
avrdude: usbdev_open(): Found JTAGICE mkII, serno: A000000D3F
13
avrdude: jtagmkII_getsync(): sign-on command: status -1
14
JTAG ICE mkII sign-on message:
15
Communications protocol version: 1
16
M_MCU:
17
  boot-loader FW version:        255
18
  firmware version:              5.37
19
  hardware version:              0
20
S_MCU:
21
  boot-loader FW version:        255
22
  firmware version:              5.37
23
  hardware version:              1
24
Serial number:                   00:a0:00:00:0d:3f
25
Device ID:                       JTAGICEmkII
26
         AVR Part                      : AT90USB1287
27
         Chip Erase delay              : 9000 us
28
         PAGEL                         : PD7
29
         BS2                           : PA0
30
         RESET disposition             : dedicated
31
         RETRY pulse                   : SCK
32
         serial program mode           : yes
33
         parallel program mode         : yes
34
         Timeout                       : 200
35
         StabDelay                     : 100
36
         CmdexeDelay                   : 25
37
         SyncLoops                     : 32
38
         ByteDelay                     : 0
39
         PollIndex                     : 3
40
         PollValue                     : 0x53
41
         Memory Detail                 :
42
43
                                  Block Poll               Page
44
      Polled
45
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
46
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
47
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
48
           flash         65     6   256    0 yes    131072  256    512  4500  4500 0x00 0x00
49
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
50
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
51
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
52
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
53
           calibration    0     0     0    0 no          1    0      0     00 0x00 0x00
54
           signature      0     0     0    0 no          3    0      0     00 0x00 0x00
55
56
         Programmer Type : JTAGMKII
57
         Description     : Atmel JTAG ICE mkII
58
avrdude: jtagmkII_getparm(): bad response to get parameter command: RSP_ILLEGAL_PARAMETER
59
60
avrdude: jtagmkII_initialize(): warning: OCDEN fuse not programmed, single-byteEEPROM updates not possible
61
avrdude: AVR device initialized and ready to accept instructions
62
63
Reading | ################################################## | 100% 0.16s
64
65
avrdude: Device signature = 0x1e1e1e
66
avrdude: Expected signature for AT90USB1287 is 1E 97 82
67
avrdude: safemode: lfuse reads as FF
68
avrdude: safemode: hfuse reads as FF
69
avrdude: safemode: efuse reads as FF
70
avrdude: reading flash memory:
71
72
Reading | ################################################## | 100% 137.52s
73
74
avrdude: writing output file "program.hex"
75
76
avrdude: safemode: lfuse reads as FF
77
avrdude: safemode: hfuse reads as FF
78
avrdude: safemode: efuse reads as FF
79
avrdude: safemode: Fuses OK
80
81
avrdude done.  Thank you.

program.hex:
1
:00000001FF

I'm still new to JTAG so i likely just miss something.
I hope someone has an idea, i really need your help!
Registration at the USBprog-forum doesn't work so i can't post there :/

Thank you!
Rene

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.