Hi,

Try to use /dev/ttyS* instead of COM*. In your case it is

$ MIB510=/dev/ttyS1 make mica2 install mib510

On 7/19/06, jurin dan < [EMAIL PROTECTED]> wrote:

Hi,

i've tried your command.
i've got improvement but the compiling and uplaoding process just frozen.
the message was :

$ MIB510=COM2 make mica2 install mib510
mkdir -p build/mica2
    compiling MicaHWVerify to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-DDEF_TOS_A
M_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c
-board=mica
sb -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"MicaHWVerify\"
-DIDENT_USER_ID=\"netwo
rk2005\" -DIDENT_HOSTNAME=\"essel\" -DIDENT_USER_HASH=0x7e9fb28fL
-DIDENT_UNIX_T
IME=0x44be5becL -DIDENT_UID_HASH=0x0cdb6f89L MicaHWVerify.nc -lm
    compiled MicaHWVerify to build/mica2/main.exe
           11738 bytes in ROM
             450 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
    writing TOS image
cp build/mica2/main.srec build/mica2/main.srec.out
    installing mica2 binary using mib510
uisp -dprog=mib510 -dserial=COM2 --wr_fuse_h=0xd8 -dpart=ATmega128
--wr_fuse_e=f
f  --erase --upload if=build/mica2/main.srec.out

from here i wait till 2 minutes and nothing happened.

thx for your help


>From: "Krisakorn Rerkrai" < [EMAIL PROTECTED]>
>To: "jurin dan" <[EMAIL PROTECTED]>
>CC: tinyos-help@millennium.berkeley.edu
>Subject: Re: [Tinyos-help] Uploading apps on mica2
>Date: Wed, 19 Jul 2006 09:38:53 +0200
>
>Hi,
>
>I got the same problem before. You can try this
>
>$ MIB510=/dev/ttyS0 make mica2 install mib510
>
>At least, it works so fine for me under WindowXP/Cgywin and TinyOS 1.1.15.
>
>-Krisakorn
>
>On 7/19/06, jurin dan <[EMAIL PROTECTED]> wrote:
>>
>>
>>         Hi.
>>
>>         i'm working with MIB510 and mica2 and mica2dot.
>>         presently i've some difficulties to upload an apps on my mote.
>>when
>>i make in micahwverify folder,make install mica2, i get flash error
>>message.
>>i've check the serial connection and setting which working well, the mote
>>hardware is not damaged also and well connected.
>>
>>          please do u have some idea to solve this bug?
>>
>>_________________________________________________________________
>>Play Q6 for your chance to WIN great prizes.
>>http://q6trivia.imagine-live.com/enca/landing
>>
>>_______________________________________________
>>Tinyos-help mailing list
>>Tinyos-help@Millennium.Berkeley.EDU
>>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>

_________________________________________________________________
Play Q6 for your chance to WIN great prizes.
http://q6trivia.imagine-live.com/enca/landing


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

Reply via email to