The mote seems to be dead. Try changing the mote.

Thanks

Khew U-Wei wrote:
Hi Aneekat,

I tried the above command you provided: $ make mica2 install.0 mib510,/dev/ttyS6
for a COM7 port and this is my error report:

    compiled TOSBase to build/mica2/main.exe
            9022 bytes in ROM
             584 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
make mica2 reinstall.0 PROGRAMMER="DAPA" PROGRAMMER_FLAGS="-dprog=dapa -dpart=AT
mega128 --wr_fuse_e=ff "
make[1]: Entering directory `/cygdrive/c/tinyos/cygwin/opt/tinyos-1.x/apps/TOSBa
se'
    installing mica2 binary
set-mote-id build/mica2/main.srec build/mica2/main.srec.out `echo reinstall.0 |p
erl -pe 's/^reinstall.//; $_=hex if /^0x/i;'`
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --erase
pulse
Atmel AVR ATmega128 is found.
Erasing device ...
pulse
Reinitializing device
Atmel AVR ATmega128 is found.

Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --upload if=build/mica2/main.s
rec.out
pulse
Atmel AVR ATmega128 is found.
Uploading: flash

Fuse Extended Byte set to 0xff
sleep 1
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff --verify if=build/mica2/main.s
rec.out
pulse
Atmel AVR ATmega128 is found.
Verifying: flash
flash error at address 0x0: file=0x0c, mem=0x00
flash error at address 0x1: file=0x94, mem=0x00
flash error at address 0x2: file=0xbc, mem=0x00
flash error at address 0x3: file=0x01, mem=0x00
flash error at address 0x4: file=0x0c, mem=0x00
flash error at address 0x5: file=0x94, mem=0x00
flash error at address 0x6: file=0xd9, mem=0x00
flash error at address 0x7: file=0x01, mem=0x00
flash error at address 0x8: file=0x0c, mem=0x00
flash error at address 0x9: file=0x94, mem=0x00
continued....

Do you know whats the problem? Looking forward to your reply. THank you.

Best regards,
U-Wei

On 9/28/07, *aneekat patkar* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi U-Wei,

    I install the code by the command "make mica2 install mib510,/dev/ttyS0"
    for mica2 sensor and with the mib510 programming board. In the
    Cygwin environment you go to the application folder and then type
    this command .
    The digit in "Sx" is generally 1 less than the actual port number in
    the computer configuration.

    What i  meant was if S3 doesn't work when the computer says COM4 for
    the cable , then type the command again with S4.
    At a time u can program with only port in a Cygwin window. If you
    have mutliple windows open, then u could program different ports at
    the same time.
    Hope this helps,
    Aneeket.


    */Khew U-Wei <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>/* wrote:

        Hi Aneeket,

        As you previously said "if COM4 is displayed try "S3" and then
        "S4" when you install the tinyOS code."
        How do you use two different ttys when installing the code on
        the nodes?

        Best regards,
        U-Wei
Date: Mon, 24 Sep 2007 12:55:33 -0700 (PDT)
        From: aneekat patkar < [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>
        Subject: [Tinyos-help] RE: Using a USB port to connect to a MIB510
        To: tinyos-help@millennium.berkeley.edu
        <mailto:tinyos-help@millennium.berkeley.edu>
        Message-ID: < [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>
        Content-Type: text/plain; charset="iso-8859-1"

        The problem is with the digit to be put after "ttys0 " in

        MIB510='/dev/ttys0' make mica2 install.0 mib510
        By S0 you refer to the COM1 port which is a 9-pin serial port .
        To get the correct port number do the following :
        1. RIght-click on My Computer and click on Properties.
        2. Go to hardware and then Device Manager.
        3. The click on Ports .

        Your USB to serial port number would be displayed here. If COM4
        is displayed try "S3" and then "S4" when you install the tinyOS
        code.

        Also if you are gonna read any sensor readings from the serial
        port, set the baud rate and other protocol options by
        "right-click " on the displayed port number and selecting
        properties.

        Hope this helps,
        Aneeket.


    ------------------------------------------------------------------------
    Need a vacation? Get great deals to amazing places
    
<http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ-->on
    Yahoo! Travel.




--
"Your future depends on your dreams"
So go to sleep


The more you learn, the more you know,
The more you know, the more you forget
The more you forget, the less you know
So.. why learn.


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--

Jeongyeup Paek
Ph.D. student
Embedded Networks Laboratory
Department of Computer Science
University of Southern California
http://enl.usc.edu/~jpaek
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to