I'm having a problem installing program on MICA2.
The MICA2 is mounted on a MIB510 board, connected to my PC through serial port. I used the first serial port on my PC.
I tried the MicaHWVerify program.
The radio frequency is 915MHz, so here is the command I typed in cygwin:

CFLAGS=-DCC1K_DEF_FREQ=915000000 make mica2 install mib510,COM1

This is the output:

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 -DCC1K_DEF_FREQ=915000000 -DIDENT_PROGRAM_NAME="MicaHWVerify" -DIDENT_PROGRAM
_NAME_BYTES="77,105,99,97,72,87,86,101,114,105,102,121,0" -DIDENT_USER_ID="wangf
" -DIDENT_USER_ID_BYTES="119,97,110,103,102,0" -DIDENT_HOSTNAME="wf" -DIDENT_HOS
TNAME_BYTES="119,102,0" -DIDENT_USER_HASH=0x082d03d5L -DIDENT_UNIX_TIME=0x439227
6cL MicaHWVerify.nc -lm
    compiled MicaHWVerify to build/mica2/main.exe
           12318 bytes in ROM
             525 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=COM1 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=f
f  --erase --upload if=build/mica2/main.srec.out

It looks it's compiled fine. But then it just hangs there.
No further output messages after tens of minutes.

I'm thinking there's some problem with the connection between the PC and the board. But I have no clue what exactly is the problem and how to fix it.
Can somebody give me some suggestions?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to