[Tinyos-help] help of MoteWorks
Giri Baleri
mbaleri at xbow.com
Fri Jul 13 08:08:58 PDT 2007
Hi Chris,
Couple of things to check.
- Do you have any other application that might be taking up COM1? (eg.
PalmSync, XServe etc)?
- Try "make mica2 reinstall mib510,/dev/ttyS0" instead and see if that
helps.
Giri
________________________________
From: Chris Yao [mailto:xxxyyy_abcd at yahoo.com]
Sent: Thursday, July 12, 2007 8:02 PM
To: Giri Baleri
Cc: tinyos-help at Millennium.Berkeley.EDU
Subject: RE: [Tinyos-help] help of MoteWorks
Hi Giri,
Sorry to bother again. I am new to MoteWorks.
I follow your suggestions, and try to upload the lesson1 again. And I
got the following error:
========================
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
reinstall mib510,com1"
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=ff --erase --upload if=build/mica2/main.srec.out
Error: No error
-> \\.\COM1
make: *** [program] Error 1
===================
Seems that something wrong with COM1. But I check the control
panel/system/hardware, COM1 works properly...
Could you please give me some suggestions?
Many thanks,
Chris
Giri Baleri <mbaleri at xbow.com> wrote:
Chris,
You probably didn't remove Cygwin registry files after you
deleted Cygwin.
Here's what I would suggest:
1. Uninstall MoteWorks from Add/Remove Programs.
2. Uninstall copy of Cygwin(s) as per instructions below:
http://www.tinyos.net/tinyos-1.x/doc/uninstall.html#cygwin
3. Roboot the PC and then reinstall MoteWorks.
Try compiling MoteWorks apps now.
Giri
________________________________
From: Chris Yao [mailto:xxxyyy_abcd at yahoo.com]
Sent: Thursday, July 12, 2007 3:36 PM
To: Giri Baleri
Cc: tinyos-help at Millennium.Berkeley.EDU
Subject: RE: [Tinyos-help] help of MoteWorks
Hi Giri,
Thanks for your reply.
Several months ago, I installed cygwin and tinyos separately,
and make it work.
Then I plan to switch to MoteWorks. So, I manually remove the
directory of Cygwin (because Cygwin does not have uninstall utility) and
Tinyos. Then I install MoteWorks. In the process of MoteWorks
installation, I select "Install new CygWin in new location". Then I got
these errors.
Please suggest me what I should do.
Many thanks,
Chris
Giri Baleri <mbaleri at xbow.com> wrote:
Hi Chris,
It sounds like you have Cygwin related issues. Did you
install MoteWorks on top of previous version of TinyOS or Cygwin?
The second error indicates that not all the tools
properly got installed, which could very well be due to Cygwin issues.
- Giri
________________________________
From: tinyos-help-bounces at Millennium.Berkeley.EDU
[mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] On Behalf Of Chris
Yao
Sent: Thursday, July 12, 2007 7:29 AM
To: tinyos-help at Millennium.Berkeley.EDU
Subject: [Tinyos-help] help of MoteWorks
Hi,
I am new to TinyOS. I just installed MoteWorks (from
www.xbow.com <http://www.xbow.com/> ) on my Windows XP.
However, I have the following two problems:
1. After I double click Cygwin button: I got the
following error:
"C:\Crossbow\cygwin\bin\bash.exe (2308): *** fork: can't
reserve memory for stack
0x30000 - 0x230000, Win32 error 487
4 [main] bash 3384 fork_parent: child 2308 died
waiting for longjmp before
initialization
bash: fork: Bad file descriptor"
2. Following the manual of MoteWorks, I run one of its
applications (Blink) using Programmer Notepad.
make mica2 reinstall mib510,com1
I got the following error:
"/opt/MoteWorks/make/avr/mib510.extra:5: *** MIB510 must
be defined, try "make mica2 help". Stop."
Where should I define MIB510?
thanks for the information.
chris
________________________________
Get the Yahoo! toolbar and be alerted to new email
<http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/
features/mail/index.php> wherever you're surfing.
________________________________
Ready for the edge of your seat? Check out tonight's top picks
<http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/> on Yahoo! TV.
________________________________
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
<http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;
_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2V
udGVy>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070713/4b38b213/attachment.htm
More information about the Tinyos-help
mailing list