If it's of any use errno 2 is ENOENT, is your srec file really there?
MS
Chris Yao wrote:
hi,
I installed a fresh TinyOS 2.0.2 following www.tinyos.net
<http://www.tinyos.net>. and try to upload a code to micaz mote.
The first try is working fine. Then with nothing changed, I got the
following output continuously. Any help is greatly appreciated.
==========
$ make micaz install mib510,/dev/ttyS3
mkdir -p build/micaz
compiling RadioCountToLedsAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DIDENT_PROGRAM_NAME=
\"RadioCountToLed\" -DIDENT_USER_ID=\"BoSun\"
-DIDENT_HOSTNAME=\"lamar-06ef8cdfb
\" -DIDENT_USER_HASH=0xc8b0658bL -DIDENT_UNIX_TIME=0x47782a7cL
-DIDENT_UID_HASH=
0xd8c55af8L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump
='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/micaz/wiring-chec
k.xml RadioCountToLedsAppC.nc -lm
compiled RadioCountToLedsAppC to build/micaz/main.exe
11210 bytes in ROM
267 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
writing TOS image
cp build/micaz/main.srec build/micaz/main.srec.out
installing micaz binary using mib510
uisp -dprog=mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd9 -dpart=ATmega128
--wr_fu
se_e=ff --erase --upload if=build/micaz/main.srec.out
Firmware Version: ►.►
Failed to enter programming mode.
make: *** [program] Error 2
================
Thanks.
Chris
------------------------------------------------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help