hi do you use Resource for bus resource control ? On Fri, Aug 19, 2011 at 11:08 PM, < [email protected]> wrote:
> Send Tinyos-help mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tinyos-help digest..." > > > Today's Topics: > > 1. error asm (Amin Amin) > 2. TOSSIM, TinyOs 1.x (Yazeed ncl) > 3. Re: Has anyone used AVRISP mk2 with tinyos? (B?r? Andr?s) > 4. Re: PowerTossimZ (OMNIA MEZGHANI) > 5. Read from UART0, send through radio with telosb (M C) > 6. Re: Wrong printed value (Geo Gkolfin) > 7. Re: Wrong printed value (Eric Decker) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 19 Aug 2011 16:38:20 +0100 > From: Amin Amin <[email protected]> > Subject: [Tinyos-help] error asm > To: tinyos-help <[email protected]> > Message-ID: > <cahgwhn3x1zvyyvn5wmph1ho07qrqxvqpjzuefjr+9qnawku...@mail.gmail.com > > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I used a library which contains a code of asm (assembler) in tinyos > 2.1.0. When i try to make simulation by 'make micaz sim', i have this > error: > > error:unknow register name 'r' in 'asm' > > Am in badly need for help, can any one help me please. > > Thanks in advance. > > > ------------------------------ > > Message: 2 > Date: Fri, 19 Aug 2011 16:57:52 +0100 > From: Yazeed ncl <[email protected]> > Subject: [Tinyos-help] TOSSIM, TinyOs 1.x > To: [email protected] > Message-ID: > <cac2y-e0vcpx-godjjnyjvswx-0yhwx4y7_c80d31yo8hq1b...@mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > My name is Yazeed. > I am trying to simulate a replay attack on TinySec. The first problem that > I > face is that the TOSSIM has already 3 users and I would like to use just > one > of them to send more than one message (thus replay attack). > I am wondering If I can make a user send or receive more than one message ? > and how ? > > Please help me > > thanks > Yazzed > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110819/67805d5c/attachment-0001.htm > > ------------------------------ > > Message: 3 > Date: Fri, 19 Aug 2011 18:04:35 +0200 > From: B?r? Andr?s <[email protected]> > Subject: Re: [Tinyos-help] Has anyone used AVRISP mk2 with tinyos? > To: soahil shuaib <[email protected]> > Cc: tinyos <[email protected]> > Message-ID: > <caojuouaeupsvfgospe6wz5xx7kvo-0fbdg8ftbsm5mkhvf0...@mail.gmail.com > > > Content-Type: text/plain; charset=ISO-8859-1 > > Sorry, thats my mistake, I forgot to install libusb-dev before > compiling avrdude. Here are the recompiled packages with usb support: > http://shell.sch.bme.hu/~biroandris/pkg/ > They will also be in the repository soon. > > Andris > > 2011/8/19 soahil shuaib <[email protected]>: > > Dear Janos Sallai, > > As per the command line you mentioned, i entered the following to compile > > and install the Blink application on my platform: > > > > PROGRAMMER=avrdude make rcb128rfa1 install,1 avrispmkii,usb > > > > It worked fine and the application compiled. But when it came to avrdude > > programming the platform, the following was the output and it ended in an > > error: > > > > installing rcb128rfa1 binary using avrispmkii > > avrdude -cavrispmkII -Pusb -U hfuse:w:0x99:m -pm128rfa1 efuse:w:0xff:m > > -C/etc/avrdude/avrdude.conf? -U > flash:w:build/rcb128rfa1/main.srec.out-123:a > > avrdude was compiled without usb support. > > > > avrdude done.? Thank you. > > > > make: *** [program] Error 1 > > > > It appears that avrdude does not recognizes the usb. I am using a linux > > distro and tinyos was installed using stanford repository. > > Any help or suggestion would be really appreciated. > > Thanks, > > Sohail > > > > > > > > > > > > ------------------------------ > > Message: 4 > Date: Fri, 19 Aug 2011 17:24:14 +0100 > From: OMNIA MEZGHANI <[email protected]> > Subject: Re: [Tinyos-help] PowerTossimZ > To: tinyos <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > > thank you I resolved the problem, now it is working the graphic > thank you Fjr > > > > > > > > > > > > > > > > > > > > > > > -Telecharger gratuitement DollarBarre et gagner plein d'argent > -passez votre annonce gratuitement ici > (offre d'omploi, voiture, immobilier, ventes&achats, location, > business&affaire.......) > > > > > > From: [email protected] > To: [email protected] > Subject: RE: [Tinyos-help] PowerTossimZ > Date: Fri, 19 Aug 2011 16:07:02 +0100 > > > > > > > > > > Hi, > I have the powercurses.exe file in the powercurses directory and I have > installed libncurses-dev (for the curses.h library); I also compiled > powercurses.c but the same error "bash: ./powercurses: No such file or > directory" exist > I need your help please > thank you > > > > > > > > > > > > > > > > > > > -Telecharger gratuitement DollarBarre et gagner plein d'argent > -passez votre annonce gratuitement ici > (offre d'omploi, voiture, immobilier, ventes&achats, location, > business&affaire.......) > > > > > > Date: Fri, 19 Aug 2011 16:04:25 +0800 > From: [email protected] > Subject: Re: [Tinyos-help] PowerTossimZ > To: [email protected]; [email protected] > > Hi, make sure you have a powercurses.exe file in the working directory. > Since the file needs curses library (curses.h), maybe you need to recompile > powercurses.c for your environment. > > Fjr. > > > Dari: OMNIA MEZGHANI <[email protected]> > Judul: [Tinyos-help] PowerTossimZ > Kepada: [email protected] > Tanggal: Kamis, 18 Agustus, 2011, 10:57 PM > > > > > > > Hi , > I need your help, I followed the Readme.txt of the PowerTossimZ but I > encounter a problem with the last instruction 'cat EnergyPowerCurses.txt | > ./powercurses 11'. I also tried './powercurses (num_motes_simulation) < > EnergyPowerCurses.txt' but the same error is shown "bash: ./powercurses: No > such file or directory" > can you help me please > > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110819/76f7b2f5/attachment-0001.htm > > ------------------------------ > > Message: 5 > Date: Fri, 19 Aug 2011 18:40:13 +0100 > From: M C <[email protected]> > Subject: [Tinyos-help] Read from UART0, send through radio with telosb > To: [email protected] > Message-ID: > <CANNKJ+SQ+o2ko3cxtzo=c2_c+zr+axsettxfnxgq17ph9gp...@mail.gmail.com > > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi! > > > I'm trying to use a telosb mote to receive data from a device to the > UART0Tx and Rx via the pins in the 10-pin expansion port. > > Until now, I've used the Oscilloscope, the TestSerial and other > examples, but the end result is the same: I can receive data via UART0 > _or_ receive/send data via radio. I can't have radio and UART > communication at the same time. > > Is there anyone that has some code (that could provide) that can > receive data from UART0 and send it to the radio? The examples only > work with the USB connection. > > > Any help would be greatly appreciated! > > > Cheers, > Marcelo > > > ------------------------------ > > Message: 6 > Date: Fri, 19 Aug 2011 21:32:22 +0300 > From: Geo Gkolfin <[email protected]> > Subject: Re: [Tinyos-help] Wrong printed value > To: Michael Schippling <[email protected]>, > [email protected] > Message-ID: > <ca+f8ecf5-w7e1f+sd_4fq_keskjz5gt_+tmqbhm2vqyejco...@mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > Thanks for your answer! > Actually it almost worked! > %lu prints 3354000128 instead of 3354000112. > %lx prints c7e9fb00 which is 3354000128 hex. > This can drive you crazy! Any ideas please? > > On Thu, Aug 18, 2011 at 12:58 AM, Michael Schippling <[email protected] > >wrote: > > > That is a little odd... > > > > I guess the implicit casting is trying to help you by > > returning the largest value for the uint16 when converting > > from a too-big float. When you change to uint32 you > > should get 0xC7E9FAF0 in your integer (which is what > > my Widows calculator shows as the correct conversion > > for decimal 354000112). Then, because the top bit is > > set and you asked for a signed decimal output "%ld" > > you should get a negative value, but it's off by 16... > > -940967168d == 0xC7E9FB00 > > so I'm not sure what is going on. > > > > Try printing %lu or %lx and see what you get. > > > > MS > > > > Geo Gkolfin wrote: > > > >> Hello! > >> > >> I am using telosb motes and tinyos-2.1.0. I have an application in which > >> some floating point operations are done and I wish to print (using > >> PrintfClient) only the decimal part of the result. Since the printed > value > >> is not what it should be -it is always 65535- I wrote a simple program > where > >> I have: > >> > >> float y; > >> uint16_t x; > >> > >> y=4354.542134509; > >> x=y; > >> printf("int(4354.542134509)=%**u\n",x); > >> printfflush(); > >> > >> I run > >> java net.tinyos.tools.PrintfClient -comm serial@/dev/ttyUSB0:telosb > >> > >> and I get the 4354! > >> > >> If I change the value stored in y to: > >> y=3354000112.542134509 then the printf returns 65535 -the same value as > in > >> my application! So I guess this is because the value does not "fit" > into a > >> uint16_t. I change x definition to uint32_t and %u to %ld (make is okay > with > >> that), but then the printed value is -940967168! > >> What is the problem? > >> > >> Thanks in advance, > >> Georgia > >> > >> > >> ------------------------------**------------------------------** > >> ------------ > >> > >> ______________________________**_________________ > >> Tinyos-help mailing list > >> Tinyos-help@millennium.**berkeley.edu< > [email protected]> > >> https://www.millennium.**berkeley.edu/cgi-bin/mailman/** > >> listinfo/tinyos-help< > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> > >> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110819/3194fa34/attachment-0001.htm > > ------------------------------ > > Message: 7 > Date: Fri, 19 Aug 2011 11:38:05 -0700 > From: Eric Decker <[email protected]> > Subject: Re: [Tinyos-help] Wrong printed value > To: Geo Gkolfin <[email protected]> > Cc: [email protected] > Message-ID: > <camdx_2dj3w2-7fejuqe3xm010unmr+9uxjb6tde_l0f8yfq...@mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > On Fri, Aug 19, 2011 at 11:32 AM, Geo Gkolfin <[email protected]> wrote: > > > Thanks for your answer! > > Actually it almost worked! > > %lu prints 3354000128 instead of 3354000112. > > %lx prints c7e9fb00 which is 3354000128 hex. > > This can drive you crazy! Any ideas please? > > > > Without explicitly stepping through the code and seeing what it is doing, > we > would be guessing. > > > > > On Thu, Aug 18, 2011 at 12:58 AM, Michael Schippling <[email protected] > >wrote: > > > >> That is a little odd... > >> > >> I guess the implicit casting is trying to help you by > >> returning the largest value for the uint16 when converting > >> from a too-big float. When you change to uint32 you > >> should get 0xC7E9FAF0 in your integer (which is what > >> my Widows calculator shows as the correct conversion > >> for decimal 354000112). Then, because the top bit is > >> set and you asked for a signed decimal output "%ld" > >> you should get a negative value, but it's off by 16... > >> -940967168d == 0xC7E9FB00 > >> so I'm not sure what is going on. > >> > >> Try printing %lu or %lx and see what you get. > >> > >> MS > >> > >> Geo Gkolfin wrote: > >> > >>> Hello! > >>> > >>> I am using telosb motes and tinyos-2.1.0. I have an application in > which > >>> some floating point operations are done and I wish to print (using > >>> PrintfClient) only the decimal part of the result. Since the printed > value > >>> is not what it should be -it is always 65535- I wrote a simple program > where > >>> I have: > >>> > >>> float y; > >>> uint16_t x; > >>> > >>> y=4354.542134509; > >>> x=y; > >>> printf("int(4354.542134509)=%**u\n",x); > >>> printfflush(); > >>> > >>> I run > >>> java net.tinyos.tools.PrintfClient -comm serial@/dev/ttyUSB0:telosb > >>> > >>> and I get the 4354! > >>> > >>> If I change the value stored in y to: > >>> y=3354000112.542134509 then the printf returns 65535 -the same value as > >>> in my application! So I guess this is because the value does not "fit" > into > >>> a uint16_t. I change x definition to uint32_t and %u to %ld (make is > okay > >>> with that), but then the printed value is -940967168! > >>> What is the problem? > >>> > >>> Thanks in advance, > >>> Georgia > >>> > >>> > >>> ------------------------------**------------------------------** > >>> ------------ > >>> > >>> ______________________________**_________________ > >>> Tinyos-help mailing list > >>> Tinyos-help@millennium.**berkeley.edu< > [email protected]> > >>> https://www.millennium.**berkeley.edu/cgi-bin/mailman/** > >>> listinfo/tinyos-help< > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> > >>> > >> > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > -- > Eric B. Decker > Senior (over 50 :-) Researcher > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110819/be65dbee/attachment.htm > > ------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > End of Tinyos-help Digest, Vol 100, Issue 33 > ******************************************** >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
