Thank you, the "make mica2 reinstall MIB510=COM1" did the trick, although now we have run into another problem running HFS.nc
After following the README file, it says to: -program a mote with HFS.nc --> done -program a mote with TOSBase --> done -compile the java code with "make -f jmakefile" --> done - collect some samples: run a serial forwarder that talks to your TOSBase -->done connect the TOSBase mote to your serial port -->done execute java Sample.class 200 20000 --PROBLEM-- we get this problem when typing in that specific java command ---------- Capture Output ---------- "C:\Program Files\Crossbow\Crimson\IDE.bat" "C:\tinyos\cygwin\opt\tinyos-1.x\apps\HighFrequencySampling" "c:\tinyos\cygwin\bin" "java Sample.class 200 20000" ############################# Command: java Sample.class 200 20000 Cygwin: c:\tinyos\cygwin\bin Directory: C:\tinyos\cygwin\opt\tinyos-1.x\apps\HighFrequencySampling Directory: /opt/tinyos-1.x/apps/HighFrequencySampling ############################# java.lang.NoClassDefFoundError: Sample/class Terminated with exit code 0 ------------------------------------ Do you know what may be causing this? -----Original Message----- From: Michael Schippling [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 1:20 PM To: Tony Ling Cc: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Flash Errors when Loading programs from anywhere except Contrib Folder I think I've said this about 10 times so far... if you read my last email I gave two suggestions for how I would go about doing the install. But you've forced my hand so I just went and tried a number of approaches. Do one of these: 1) Set the danged environment variable. or 2) Your make line is incorrect, which explains why the reinstall is running the compile line again (but actually doesn't explain what make thinks it's doing by re-running the compile...) Try this: make mica2 reinstall MIB510=COM1 MS Tony Ling wrote: > How would you go about running the HFS.nc program on your machine? > (\opt\tinyos-1.x\apps\HighFrequencySampling\HFS.nc) ? > > I would simply compile it first (command line: make mica2), > > Then install it to my mote: (command line: make mica2 reinstall > mib510,com1) > > I'm just making sure this is the proper way to do it, and see if anyone > else can run this program using that method. At least this way I'll > know that my problem isn't in my makefiles, but rather in the commands I > use to run the program > > thanks > > -----Original Message----- > From: Michael Schippling [mailto:[EMAIL PROTECTED] > Sent: Monday, December 11, 2006 3:08 PM > To: Tony Ling > Cc: tinyos-help@Millennium.Berkeley.EDU > Subject: Re: [Tinyos-help] Flash Errors when Loading programs from > anywhere except Contrib Folder > > My makefile reading days are far behind the current syntax... > > Try two things: > > export MIB510=COM1 > make .... > > or > > make .... MIB510=COM1 > > > and as I said, I believe the correct setup is described in one of > the Getting Started type manuals that you should be able to find > on the xbow site... > MS _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help