Hi Razvan I've made the change you mentioned however it still doesn't seem to be working properly. Are there any commands that I should look for in the code that would lock the flash so deluge could not use it?
Thanks Chares On Thu, Jul 10, 2008 at 3:10 PM, Razvan Musaloiu-E. <[EMAIL PROTECTED]> wrote: > Hi! > > On Thu, 10 Jul 2008, Charles Elliott wrote: > > 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 >> > > Note: the 'TINYOS_NP=BNP' was replaced by 'BOOTLOADER=tosboot': > > http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x.git;a=commit;h=cf29154f46b267342958c92ac2df1c61230f81db > > -- > Razvan ME > > > 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:* tinyos-help@millennium.berkeley.edu >>> *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:* tinyos-help@millennium.berkeley.edu >>> *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:* tinyos-help@millennium.berkeley.edu >>> *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 Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help