[Tinyos-help] JTAG ICE mkII / micaz - no communication
Giri Baleri
mbaleri at xbow.com
Thu Jul 26 08:46:51 PDT 2007
I don't think it is a problem with MIB510 or the software versions, but
TinyOS jtag support (using ice-insight tool) does NOT work with Atmel
MKII jtag pod.
Users must use either MKI (old style) or (much cheaper) the
www.olimex.com <http://www.olimex.com/> unit, as sold in the USA by
www.sparkfun.com <http://www.sparkfun.com/> electronics - look under
ATMEL program/developer tools. It costs $50.
There is a FAQ on Crossbow website about this.
http://www.xbow.com/Support/wobjectDetail.aspx?id=50130000000JjLWAA0&typ
e=Solution&page=0
- Giri
________________________________
From: tinyos-help-bounces at Millennium.Berkeley.EDU
[mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] On Behalf Of stefan
wittmann
Sent: Thursday, July 26, 2007 1:29 AM
To: tinyos-help at Millennium.Berkeley.EDU
Subject: [Tinyos-help] JTAG ICE mkII / micaz - no communication
Hi,
I want to debug Xbow/micaz with MIB510 and Atmel JTAG ICE mkII, but
there's no response of the programmer and 'Connection refused'-error
etc....
programming environment:
Windows XP
tinyos-1.1.10Jan2005cvs-1 (xbow-contribution)
**********************
* MICA2 Instructions *
**********************
wittmanns at ars348 /opt/tinyos-1.x/apps/CntToLeds
$ ice-gdb build/mica/main.exe
AVaRICE version 2.0.20030825cvs, Aug 25 2003 20:53:25 (.....)
JTAG ICE communication failed: Inappropriate ioctl for device
GNU gdb cvs-pre6.0-tinyos (.....)
/usr/local/share/avarice/gdb-avarice-script:25: Error in sourced
command file:
localhost:6423: Connection refused.
(gdb)
So I tried to clear the JTAG enable fuse bit, but that wouldn't work
this way:
wittmanns at ars348 /opt/tinyos-1.x/apps/CntToLeds
$ uisp -dprog=dapa --wr_fuse_h=19
pulse
An error has occurred during the AVR initialization.
* Target status:
Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff
Probably the wiring is incorrect or target might be `damaged'.
**********************
* MICAZ Instructions *
**********************
$ export AVARICE_ARGS='--mkII --jtag COM1'
$ uisp -dprog=mib510 -dpart=ATmega128 -dserial=/dev/ttyS0
--wr_fuse_h=19
Programmer is not responding.
But I still went on with:
wittmanns at ars348 /opt/tinyos-1.x/apps/CntToLeds
$ ice-gdb build/micaz/main.exe
AVaRICE version 2.0.20030825cvs, Aug 25 2003 20:53:25 (.....)
GNU gdb cvs-pre6.0-tinyos
Copyright 2003 Free Software Foundation, Inc. (.....)
target=avr"...build/micaz/main.exe: No such file or directory.
(.....)
/usr/local/share/avarice/gdb-avarice-script:25: Error in sourced
command file:
localhost:6423: Connection refused.
Could there be a problem with software-versions,
is it rather the mkII-device, or anything else that's wrong?
Thanks,
Stefan Wittmann
________________________________
Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie Yahoo! zu
Ihrer Startseite!
<http://de.rd.yahoo.com/evt=41213/*http://de.yahoo.com/set>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070726/f90f0d54/attachment-0001.html
More information about the Tinyos-help
mailing list