avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Any Linux AVR JTAGICE programmer


From: Uwe Bonnes
Subject: Re: [avr-gcc-list] Any Linux AVR JTAGICE programmer
Date: Fri, 22 Jul 2005 10:34:05 +0200

>>>>> "Joerg" == Joerg Wunsch <address@hidden> writes:

    Joerg> Uwe Bonnes <address@hidden> wrote:

    >> is there any linux based programmer for the AVR JTAGICE dongle?

    Joerg> mkI or mkII?

    Joerg> I've recently added JTAG ICE mkII up/download support to AVRDUDE.

    Joerg> (mkI might follow as time permits, but it's not very high
    Joerg> priority for me currently.)
(sorry, my first reply bugged Joerg in private mail)

The adapter is an Olimex AVR-USB-JTAG ( e.g in german
http://elmicro.com/de/avrjtag.html
or http://www.olimex.com/dev/index.html (in english))

The USB adapter is recognized as /dev/ttyUSB0 in my system (Linux) and I
made /dev/avrisp a link to /dev/ttyUSB.
Running "src/avarice -2 -B 125KHz -v -f \
~/work/projekte/linac/mos/iftest/90can128/iftest.hex" tells 
"Failed to synchronise with the JTAG ICE (is it connected and powered?)"

A log of "src/avarice -1 -B 125KHz -v -f \
~/work/projekte/linac/mos/iftest/90can128/iftest.hex -d -d" (Command 2) is
appended. 

The adapter has a red LED. When connected to the target device, is is steady
on. When programming or verifying with AvrStudio or with jtagice from
AVRStudio like
"jtagice.exe -dAT90CAN128 -ccom3 -B115200 -vf \
-ifh:/work/projekte/linac/mos/iftest1/90can128/iftest1.hex"
it flashes while transfering data and returns to steady on afterwards.

After issuing Command 2 above, the adapter is blinking steady until a power
cycle (by unplugging the JTAG cable or a power cycle to the target device)

Thanks

-- 
Uwe Bonnes                address@hidden

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
AVaRICE version 2.3.20050527, Jul 20 2005 22:46:01

JTAG config starting.
Attempting synchronisation at bitrate 115200

command[S, 1]: 53 45 20 20 
Out of sync, reponse was `ff'

command[S, 1]: 53 20 20 
Out of sync, reponse was `e0'

command[S, 2]: 53 45 20 20 
Out of sync, reponse was `e0'

command[S, 1]: 53 20 20 
Out of sync, reponse was `e0'

command[S, 3]: 53 45 20 20 
Out of sync, reponse was `e0'

command[S, 1]: 53 20 20 
Out of sync, reponse was `e0'
Attempting synchronisation at bitrate 19200

command[S, 1]: 53 45 20 20 
Out of sync, reponse was `e0'

command[S, 1]: 53 20 20 
response: 41 56 52 4E 4F 43 44 41 

command[B, 1]: 42 62 FF 20 20 
response: 41 

command[q, 1]: 71 7A 20 20 
response: CE 41 
Hardware Version: 0xce

command[q, 1]: 71 7B 20 20 
response: 7F 41 
Software Version: 0x7f

command[F, 1]: 46 20 20 
response: 00 01 35 41 
Automatic device detection: 
command[q, 1]: 71 A7 20 20 
response: 3F 41 

command[F, 1]: 46 20 20 
response: 00 B0 A4 41 

command[q, 1]: 71 A8 20 20 
response: 10 41 

command[q, 1]: 71 A9 20 20 
response: 78 41 

command[q, 1]: 71 AA 20 20 
response: 09 41 
JTAG id = 0x978103F : Ver = 0x0 : Device = 0x9781 : Manuf = 0x1f
Reported JTAG device ID: 0x9781
Configured for device ID: 0x9781 at90can128

command[ , 1]: A0 FF FF FF F1 DF 7C BB E8 FF FF FF F1 DF 7C BB E8 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 43 C3 33 BF F7 3F F7 3F 00 00 4D 1F 77 77 
00 FF FF FF FF 07 43 C3 33 BC 77 77 F7 3F 00 00 4D 1F 00 00 00 CD 3C F0 FF 04 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 57 3B 00 01 08 00 FE 00 00 FA 20 
20 
response: 41 
JTAG config complete.
Flash page size: 0x100
EEPROM page size: 0x8

command[B, 1]: 42 88 00 20 20 
response: 41 

command[B, 1]: 42 89 01 20 20 
response: 41 

command[B, 1]: 42 8A 08 20 20 
response: 41 

command[£, 1]: A3 20 20 
response: 41 

command[¤, 1]: A4 20 20 
response: 41 

Download complete.

command[x, 1]: 78 20 20 
response: 41 

command[G, 1]: 47 20 20 
response: 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]