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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of stefan
wittmann
Sent: Thursday, July 26, 2007 1:29 AM
To: [email protected]
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 *
**********************
    [EMAIL PROTECTED] /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:
    [EMAIL PROTECTED] /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:
    [EMAIL PROTECTED] /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> 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to