Hi Zhongwei,

It would be nice if you could also send copies of your messages to the 
TinyOS help mailing list. There might be people there who have more 
experience or have similar problems.

I don't really use moteworks, so I have little experience with your 
situation. I just provide some ideas in the hope that it helps you to 
solve your problem.

Do you actually have a directory called "build"? If it exists, it is an 
indication that your program has been compiled.

What happens if you try the command "make clean"? You can also try to 
manually remove the "build" directory. Then call "make mica2" again.

What if you ignore that you do not see these messages (they might have 
been hidden) and just tried to install the program on the mote 
(something like "make mica2 reinstall,0 mib510,COM1", of course you'll 
have to change the serial port number and the type of programming board 
you use)?

What happens if you try to compile for a different platform (you do not 
need to have motes of this platform to compile for it)? "make micaz"

Cheers,
Urs


On 10/20/2010 09:54 AM, Zhongwei Zhang wrote:
> Hi Urs,
> Thank you for the message.
> My problem is that whatever I do (compiling, install, etc) , I always
> get that message.
>  > Executing: /opt/MoteWorks/apps/tutorials/lesson_1/ bash -c "make mica2"
>  > Process Exit Code: 0
>  > Time Taken: 00:01
> According to the MoteWork User Manul, I should see some more message like:
>  > > "C:\Crossbow\PN\IDE.bat"
>  > "C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\lesson_1\"
>  > "C:\Crossbow\cygwin\bin" "make mica2"
>  > #############################
>  > Command: make mica2
>  > Cygwin: C:\Crossbow\cygwin\bin
>  > Directory: C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\lesson_1\
>  > "/opt/MoteWorks/tools/bin/ide.pl 'make mica2'
>  > 'C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\lesson_1\'"
>  > #############################
>  > ide.pl Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $
>  > Executing: /opt/MoteWorks/apps/tutorials/lesson_1/ bash -c "make mica2"
> ......
> mkdir -p build/mica2
> Compiled Blink to a micaz binary
> ncc -o build/micaz/main.exe -finline-limit=100000 ...
> Compiled Blink to build/micaz/main.exe
> Compiled Blink to build
> ......
> I never saw these message.
> Would you like tell me what is the problem?
> zhongwei
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to