Hi, TinyOS 2.x doesn't produce a TOSSIM PC executable anymore. The .exe file that you see is probably the binary file for the mote and cannot run on a PC (as it is compiled for an ATmega Microcontroller).
Have a look at the TinyOS 2.x TOSSIM tutorial: http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html Cheers, Urs zahid iqbal schrieb: > Hi all ! > > I am using tinyOs 2.0. > > When I compile my application, using > > [EMAIL PROTECTED]:~/PeriodicReader$ make micaz > > I get the following. > > mkdir -p build/micaz > compiling PeriodicReaderAppC 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 > -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' > -fnesc-dump='referenced(interfacedefs, components)' > -fnesc-dumpfile=build/micaz/wiring-check.xml PeriodicReaderAppC.nc -lm > compiled PeriodicReaderAppC to build/micaz/main.exe > 9832 bytes in ROM > 244 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 > > > But when I try to run the application, I get the following error message. > > [EMAIL PROTECTED]:~/PeriodicReader$ ./build/micaz/main.exe --help 2 > -bash: ./build/micaz/main.exe: cannot execute binary file > > Does anybody know what could be the reason ? > > Thanks. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
