No subject
Sun May 18 08:56:28 PDT 2008
uisp -v -dprog=mib510 -dserial=com5 --rd_fuses
and see if you get anything. The -v will be more verbose and might give you
more information.
eric
On Thu, May 29, 2008 at 7:06 PM, Yu Qun <maggie.qun at gmail.com> wrote:
>
> Hi everyone:
>
> Hope to gain some warm responses from you!
>
> I am the new one to use PN2, when I want to uplode the simple coding in the
> tutorials/lesson1" into the mote, the output is following, what is the Error
> 2, how to resolve the problem and make it work? would anyone like give me
> some ideas on it? Thanks!
> #############################
> Command: make mica2 reinstall mib510,com5
> Cygwin: C:\Crossbow\cygwin\bin
> Directory: C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\MyApp\lesson_1\
> "/opt/MoteWorks/tools/bin/ide.pl 'make mica2 reinstall mib510,com5'
> 'C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\MyApp\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/MyApp/lesson_1/ bash -c "make
> mica2 reinstall mib510,com5"
> cp build/mica2/main.srec build/mica2/main.srec.out
> installing mica2 binary using mib510
> uisp -dprog=mib510 -dserial=com5 --wr_fuse_h=0xd9 -dpart=ATmega128
> --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out
> timer timedout
> timer timedout
> timer timedout
> timer timedout
> Device is not responding correctly.
> make: *** [program] Error 2
>
> Thanks!
> Maggie
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
------=_Part_19083_26450545.1212114297264
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Maggie,<div><br></div><div>From the output of your reinstall, it appears that uisp (which is the programming program that loads programs into the flash on the mote) is failing. The error 2 is the return code to the system that uisp is returning.</div>
<div><br></div><div>The first thing I would do is see if I could use "uisp" to talk to the MIB510 (the programmer). For example can you read the current values of the fuses?</div><div><br></div><div>From the "com5" I assume you are running under cygwin.</div>
<div><br></div><div>uisp -v -dprog=mib510 -dserial=com5 --rd_fuses </div><div><br></div><div>and see if you get anything. The -v will be more verbose and might give you more information.</div><div><br></div><div>eric</div>
<div><br></div><div><br><br><div class="gmail_quote">On Thu, May 29, 2008 at 7:06 PM, Yu Qun <<a href="mailto:maggie.qun at gmail.com">maggie.qun at gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p><br>Hi everyone:<br> <br>Hope to gain some warm responses from you!<br> <br>I am the new one to use PN2, when I want to uplode the simple coding in the tutorials/lesson1" into the mote, the output is following, what is the Error 2, how to resolve the problem and make it work? would anyone like give me some ideas on it? Thanks!</p>
<div>#############################<br>Command: make mica2 reinstall mib510,com5<br>Cygwin: C:\Crossbow\cygwin\bin<br>Directory: C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\MyApp\lesson_1\<br>"/opt/MoteWorks/tools/bin/ide.pl 'make mica2 reinstall mib510,com5' 'C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\MyApp\lesson_1\'"<br>
#############################<br>ide.pl Ver:$Id: ide.pl,v <a href="http://1.1.2.1" target="_blank">1.1.2.1</a> 2006/05/29 07:22:52 lwei Exp $<br>Executing: /opt/MoteWorks/apps/tutorials/MyApp/lesson_1/ bash -c "make mica2 reinstall mib510,com5"<br>
cp build/mica2/main.srec build/mica2/main.srec.out<br> installing mica2 binary using mib510<br>uisp -dprog=mib510 -dserial=com5 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out<br>
timer timedout<br>timer timedout<br>timer timedout<br>timer timedout<br>Device is not responding correctly.<br>make: *** [program] Error 2</div>
<div> </div>
<div>Thanks!</div>
<div>Maggie</div>
<br>_______________________________________________<br>
Tinyos-help mailing list<br>
<a href="mailto:Tinyos-help at millennium.berkeley.edu">Tinyos-help at millennium.berkeley.edu</a><br>
<a href="https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help" target="_blank">https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</a><br></blockquote></div><br><br clear="all"><br>
-- <br>Eric B. Decker<br>Senior (over 50 :-) Researcher<br>Autonomous Systems Lab<br>Jack Baskin School of Engineering<br>UCSC<br>
</div>
------=_Part_19083_26450545.1212114297264--
More information about the Tinyos-help
mailing list