Hi Janos

After following Razvan recommendation I installed using:

$ CFLAGS=-DDELUGE_BASESTATION make iris install,0 mib510,COM5

Compiles without error.

Then send:

$ tos-deluge /dev/ttyS5 iris -p 1

Then receive the same error as before.

I have also tried installing the deluge Blink application, injecting my
application, then being able to ping the mote with expected results.
However after rebooting from the injected image attempts at pinging result
in the same error.

Charles

On Thu, Jul 10, 2008 at 4:12 PM, Janos Sallai <[EMAIL PROTECTED]>
wrote:

>  Charles:
>
>
>
> > Blink seems to work now.
>
> Great. This means that TinyOS is set up correctly.
>
>
> > However my application doesn't seem to.
>
> Did you define DDELUGE_BASESTATION?
>
>
>
> Janos
>
>
>
> *From:* Charles Elliott [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, July 10, 2008 12:54 PM
>
> *To:* Janos Sallai
> *Cc:* [email protected]
> *Subject:* Re: [Tinyos-help] Deluge on an IRIS
>
>
>
> Hi Janos
>
> Blink seems to work now.
> However my application doesn't seem to.
>
> $ tos-deluge /dev/ttyS5 iris -p 1
> Flushing the serial port..
> Checking if node is a Deluge T2 base station ...
> Pinging node ...
> Warning: Packet write took 0.268s!
> --------------------------------------------------
> Currently Executing:
> Traceback (most recent call last):
>   File "/usr/bin/tos-deluge", line 430, in <module>
>     ping(imgNum)
>   File "/usr/bin/tos-deluge", line 331, in ping
>     print formatShortIdent(ident())
>   File "/usr/bin/tos-deluge", line 274, in formatShortIdent
>     r  = "  Prog Name:   %s\n" % (i.appname)
> AttributeError: 'int' object has no attribute 'appname'
>
> Is there something different I need to do in my application?
> I have added
>
> TINYOS_NP=BNP
>
> to the make file and
>
> components DelugeC;
>
> to the wiring file.
>
> Thanks
> Charles
>
>  On Wed, Jul 9, 2008 at 8:34 PM, Janos Sallai <[EMAIL PROTECTED]>
> wrote:
>
> Charles:
>
>
>
> Based on your outputs, there are some issues with your installation:
>
> 1.       If you rebuilt tinyos-tools the way I suggested, the tos-deluge
> script should be installed in /usr/bin. However, in your outputs,
> /usr/local/bin/tos-deluge gets called, which is probably an older version of
> the script.
>
> 2.       Also, the tos.py module gets pulled in from /usr/local – probably
> an older version, too.
>
>
>
> Can you remove the old files and give it another try?
>
>
>
> Janos
>
>
>
> *From:* Charles Elliott [mailto:[EMAIL PROTECTED]
> *Sent:* Wednesday, July 09, 2008 5:44 PM
>
>
> *To:* Janos Sallai
> *Cc:* [email protected]
> *Subject:* Re: [Tinyos-help] Deluge on an IRIS
>
>
>
> Hi Janos
>
> I have attached the results of running the burn script both before and
> after a CVS update and rebuild of the tool chain.
>
> In the burnResults.txt file I added a comment marked by "##"
>
> I am running on a Win Xp machine using Cygwin.
>
> Charles
>
> On Wed, Jul 9, 2008 at 5:26 PM, Janos Sallai <[EMAIL PROTECTED]>
> wrote:
>
> Charles:
>
>
>
> Do you have the latest tinyos-tools installed?  If not, please update
> tinyos tools by typing "cd $TOSDIR/../tools; ./Bootstrap; ./configure
> --prefix=/usr; make; make install". (Alternatively, you may want to update
> tinyos-tools from the tinyos debian repository.)
>
>
>
> If the errors still persist, please give a detailed report including
> compiler output, output of tos-deluge, etc. I'm sending you the output of
> the burn and burn-net scripts. Here everything works as expected.
>
>
>
> Janos
>
>
>
>
>
> *From:* Charles Elliott [mailto:[EMAIL PROTECTED]
> *Sent:* Wednesday, July 09, 2008 3:41 PM
> *To:* Janos Sallai
> *Cc:* [email protected]
> *Subject:* Re: [Tinyos-help] Deluge on an IRIS
>
>
>
> Hi Janos
>
> Blink works for the other motes I'm working but not IRIS
>
> I am using a script based off of burn-net to rite my program so
> DDELUGE_BASESTATION is being set.
>
> When I try and run Blink on the IRIS I get a "No valid image was detected"
> error.
>
> When I run an injection command I get an "Unable to retrieve the ident"
> error.
>
> Thanks
> Charles
>
>
> On Wed, Jul 9, 2008 at 4:12 PM, Janos Sallai <[EMAIL PROTECTED]>
> wrote:
>
> Charles:
>
>
>
> Did you add CFLAGS=-DDELUGE_BASESTATION to your makefile? If
> DELUGE_BASESTATION is not defined, the mote is not accessible through the
> UART. This is described in the deluge docs, if I remember correctly.
>
>
>
> Just a sanity check: Does apps/tests/deluge/Blink work for you?
>
>
>
> Janos
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Charles
> Elliott
> *Sent:* Wednesday, July 09, 2008 12:56 PM
> *To:* [email protected]
> *Subject:* [Tinyos-help] Deluge on an IRIS
>
>
>
> Hello all
>
> I've been working on getting a program to run using deluge on an IRIS mote.
>
> The program compiles and runs normally however sending deluge commands to
> the base station doesn't work.
>
> I suspect that it has something to do with the way the images are set up.
> I have "volumes-at45db.xml" and "volumes-stm25p.xml" copied from the deluge
> blink example in the folder with the program.
> Do I need a different file to install on an IRIS mote?
>
> Thanks
> Charles
>
>
>
>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to