[Tinyos-help] imote2 help

2009-05-04 Thread roberto pagliari
Hello,I'm familiar with tinyos 1.x but I just bought an imote2 and I feel a bit confused. I was wondering which is the best way to program them. Is it possible to use an extension of visual studio which is able to program them with no need for cygwin? Thanks, Bob

Re: [Tinyos-help] imote2 help

2009-05-04 Thread roberto pagliari
ry to > reverse engineer the development system to get it to work > under a non *nix paradigm. > > MS > > roberto pagliari wrote: > >> Hello, >> I'm familiar with tinyos 1.x but I just bought an imote2 and I feel a bit >> confused. I was wondering which is

Re: [Tinyos-help] imote2 help

2009-05-04 Thread roberto pagliari
also, I cannot find tinyos 1.1.15 the links on tinyos website point to unexisting addresses... do you know where I can find it for upgrade? On Mon, May 4, 2009 at 3:41 PM, roberto pagliari wrote: > if you mean tinyos 1.x I'm very familiar with it. It just seems that > setting every

Re: [Tinyos-help] imote2 help

2009-05-04 Thread roberto pagliari
nder another system > would be problematic. I never even got any of the Eclipse plugins > to work reliably, and that's not factoring in the Microsoft way. > > MS > > roberto pagliari wrote: > >> also, I cannot find tinyos 1.1.15 >> >> the links on tinyos w

Re: [Tinyos-help] imote2 help

2009-05-10 Thread roberto pagliari
t that just getting a single > platform dir on top of 1.1.7 will lead to more worlds of hurt. If all > else fails finding the CVS tree is your next bet. > > But it ooks like you got an answer from someone else > so I hope it works out. > > MS > > roberto pagliari wrote: &g

Re: [Tinyos-help] imote2 help

2009-05-11 Thread roberto pagliari
> > *From:* tinyos-help-boun...@millennium.berkeley.edu [mailto: > tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *roberto > pagliari > *Sent:* Sunday, May 10, 2009 2:52 PM > *To:* sc...@santafe.edu > *Cc:* tinyos-help@millennium.berkeley.edu > *Subject:* Re: [Tinyos-help] im

[Tinyos-help] bandwidth

2009-11-24 Thread Roberto Pagliari
Hi All, does anyone know the amplitude of the wireless signal transmitted at 0dBm for example. I'd like to know its amplitude in Volts and the physical bandwidth... Thanks a lot Bob ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https

[Tinyos-help] usb serial

2010-04-27 Thread Roberto Pagliari
Hi All, I have a serial to USB adapter (Hawking UC232S) I use with my mib510+micaz. Do you know if there is a way to find the name of the corresponding serial port for flash programming? Hawking does not provide drivers for linux. thanks -- Roberto ___

[Tinyos-help] random values

2010-04-28 Thread Roberto Pagliari
Hi All, I tried this code value = call Random.rand16(); if( (value & 1) == 1 ) { call BitVector.set(0); call Leds.led0On(); } several times but, apparently, random always returns the same value. I wired RandomC.Init to main. Do I need to do anything else? Thanks -- Rob

[Tinyos-help] send packet

2010-04-29 Thread Roberto Pagliari
Hi All, I'm having trouble with sending packets, I just moved from tinyos 1 to tinyos 2. In the following code a node should blinkwhen a packet is received. The problem is that no packets are sent. AMSend.send, apparently, always returns FAIL. Does anybody know if I am missing something? Thanks

Re: [Tinyos-help] send packet

2010-04-29 Thread Roberto Pagliari
IL? or something > else like EOFF? > Thanks > Avinash Kumar Chaurasia > Department of Computer Science > IIT Kanpur, India > > > On Fri, Apr 30, 2010 at 12:43 AM, Roberto Pagliari < > robertodemed...@gmail.com> wrote: > >> Hi All, >> I'm having tr

Re: [Tinyos-help] send packet

2010-04-29 Thread Roberto Pagliari
are you using tinyos 2.1.1? On Thu, Apr 29, 2010 at 1:55 PM, Roberto Pagliari wrote: > yes I am. it blinks the led if I put FAIL as condition > > > On Thu, Apr 29, 2010 at 1:27 PM, avinash chaurasia < > avinash.aviank2...@gmail.com> wrote: > >> call AMSend.s

Re: [Tinyos-help] Re : send packet

2010-04-29 Thread Roberto Pagliari
of Sfax, > National School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 > ** * > > *Coordinator C2i @ ISET Sfax (Certified C2i since 2008)* > > > -- > *De :* avinash chaurasia > *À :* Roberto Pagliari > *Cc :* tinyos-help@millennium

Re: [Tinyos-help] Re : send packet

2010-04-29 Thread Roberto Pagliari
never mind. I forgot to call AMstart in the boot sequence On Thu, Apr 29, 2010 at 3:24 PM, Roberto Pagliari wrote: > what do you mean? packet is already global. here is the code: > > module NodeC @safe() > { > uses interface Timer as Timer0; > uses interface Leds; >

[Tinyos-help] repository

2010-05-03 Thread Roberto Pagliari
Hi All, I would like to let a few algorithms I implemented available on tinyos cvs. Do you know how I can upload the code? Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinf

Re: [Tinyos-help] repository

2010-05-04 Thread Roberto Pagliari
I sent an email to tinyos-contrib-caretak...@millennium.berkeley.edu, but I never got a reply. Maybe somebody else is handling this? On Tue, May 4, 2010 at 10:05 AM, Philip Levis wrote: > > On May 4, 2010, at 12:11 AM, Markus Becker wrote: > > > > > > > By the way, is TinyOS moving to git now si

[Tinyos-help] timer and backoff

2010-05-21 Thread Roberto Pagliari
Hi All, I just moved from tinyos 1.x to 2.x. I read somewhere that tinyos 2.x has a built-in function for disabling csma and backoff while transmitting? Is it in CSMA control? The second question I have is whether it is possible, while using a timer likeTmilli, to know at any time the amount of ti

[Tinyos-help] Mica2 SFD

2010-12-05 Thread roberto pagliari
Hi All, is there any equivalent of the SFD onto Mica2 motes? Thank you, Roberto ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Makerules path

2011-02-28 Thread roberto pagliari
Hi All, I just installed tinyos 2 under ubuntu 8. I found Makerules under /support/make and included it within the Makefile of Blink app, but it says there is no rule to make target. Do you know where the correct version of Makerules is? Thank you ___ Ti

[Tinyos-help] serial forwarder error

2011-03-30 Thread roberto pagliari
Hi All, I'm trying to use the Gui for Oscilloscope application. I get the following error while running serialforwarder bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0 micaz Exception in thread "main" java.lang.NoClassDefFoundError: n

Re: [Tinyos-help] serial forwarder error

2011-04-19 Thread roberto pagliari
chael Schippling wrote: > Check your CLASSPATH and the contents of the java tools or jar. > You are trying to run the "Listen" program -- which has nothing > to do with SerialForwarder or Oscilloscope -- and the main class > is not being found in your path. > > MS > &

Re: [Tinyos-help] serial forwarder error

2011-04-20 Thread roberto pagliari
never mind, it works now On Tue, Apr 19, 2011 at 5:18 PM, roberto pagliari wrote: > Apologies for the delay in my answer, I've been working on other projects > recently. > > I can run the listener app now. Basestation is connected to ttyUSB0 in my > case. However I do not

[Tinyos-help] oscilloscope make error

2011-04-21 Thread roberto pagliari
Hi All, I have issues building the GUI for Oscilloscope application. My environment variables are the following bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ echo $CLASSPATH /opt/tinyos-2.1.1/support/sdk/java/ bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ echo $MAKERULES /opt

Re: [Tinyos-help] oscilloscope make error

2011-04-21 Thread roberto pagliari
can install the standard C library header files. > > Regards, >Romain > > On Thu, Apr 21, 2011 at 11:38 AM, roberto pagliari > wrote: > > Hi All, > > I have issues building the GUI for Oscilloscope application. My > environment > > variables are the following

[Tinyos-help] tinyos 2.x TDMA example

2011-06-02 Thread roberto pagliari
Is there any more documentation about this implementation of TDMA MAC for tinyos 2.x? http://openwsn.berkeley.edu/browser/tinyos-2.x/apps/OpenWSN/01-PHY/cc2420/tdma?rev=337 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.mill

[Tinyos-help] compiling options

2007-06-13 Thread roberto pagliari
Hi All, I'm wondering to know if I can use the mica2 radio stac on mica motes. I this case what should I change to make it works? thank you ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/ma

[Tinyos-help] avoid mac layer

2007-06-15 Thread roberto pagliari
Hi All, I need to send and receive short pulses, without the mac layer. Does anyone know how do that? ultrasound is too directive, while the microphone available for micaz doesnt allow to send short pulses. Can I find something better? thanks ___ Tinyo

[Tinyos-help] start up time

2007-06-18 Thread roberto pagliari
hi all, does anyone know the start up time of the cc2420 radiochip ? I mean moving from transmit to receive mode or viceversa? How many useconds? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bi

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread roberto pagliari
I'm wondering to know if it is possible to measure the RSSI value whenever I want, I mean, not necessary during the reception of a packet, but everytime, for some reasons due to my specific applications... thank you On 6/19/07, Tsung-Han Lin <[EMAIL PROTECTED]> wrote: It's over the first 8 sym

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread roberto pagliari
... I mean, since before transmitting there are 2 different modes, based on the measured cca value, I think it's possible to get the actual value of the incoming signal power, even not during a reception. In that case which command should I use to get the rssi? On 6/19/07, roberto pag

Re: [Tinyos-help] RSSI measuring

2007-06-19 Thread roberto pagliari
sume every incoming message is not decoded and buffered. Is that correct? In this case, how many microseconds takes the radio to turn from tx to rx mode or viceversa? thanks a lot again On 6/19/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Jun 19, 2007, at 9:08 AM, roberto pagliari wrote:

[Tinyos-help] about CC2420

2007-06-19 Thread roberto pagliari
hi all, within RadioControlM I can see CC2420Control.RxMode(), but, after a packet has been sent I cant find any call to CC2420.RxMode() or SXON oscillator. where is it done? the second question is: once the transmitter oscillator STXON has been enabled, if an incoming message arrives, will it be

Re: [Tinyos-help] about CC2420

2007-06-19 Thread roberto pagliari
*From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *roberto pagliari *Sent:* Tuesday, June 19, 2007 3:24 PM *To:* tinyos-help@Millennium.Berkeley.EDU *Subject:* [Tinyos-help] about CC2420 hi all, within RadioControlM I can see CC2420Control.RxMode(), but, after a packet has been

Re: [Tinyos-help] about CC2420

2007-06-19 Thread roberto pagliari
off and CCA checking by default. You'll need to disable this, probably through MacControl or CsmaControl or something.. I forget what it is in 1.x. -David -- *From:* roberto pagliari [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, June 19, 2007 4:20 PM *To:

Re: [Tinyos-help] about CC2420

2007-06-20 Thread roberto pagliari
he past 8 symbol periods? -Han roberto pagliari 提到: > thank you David. I misunderstood the datasheet information regarding the > CCA modes. But it is possible, not during the transmission, to get the > rssi data, no matter if the node is receiving or not a message? I just > need to monitor

[Tinyos-help] micaz platform

2007-06-24 Thread roberto pagliari
why does in HPLCC2420.read(uint8_t addr) HPLCC2420.write(uint8_t addr, uint16_t data) functions the wait for availability of SPI bus is commented? // while (bSpiAvail){}; ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.m

[Tinyos-help] micaz platform

2007-06-24 Thread roberto pagliari
some component, like Spibus are not used in micaz platform, version 1.0.7right? May be they are used in newer version... ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos

[Tinyos-help] packet transmission

2007-06-25 Thread roberto pagliari
Hi All, I know from cc2420 datasheet that during the transmission of a packet the fsd pin must be kept high. Two questions regarding the sendPacket function: 1) where the sfd is set high 2) why the use of TOSH_uwait(450) instead of while (TOSH_READ_CC_SFD_PIN()){};only? void sendPack

Re: [Tinyos-help] about CC2420

2007-06-25 Thread roberto pagliari
6/20/07, roberto pagliari <[EMAIL PROTECTED]> wrote: Hi Tsung, regarding your last question I read on CC2420 that the RSSI_VALID status bit is set when the receiver has been enabled for at least 8 bit symbols, so I believe the value you retrieve is already averaged over 8 symbol periods O

Re: [Tinyos-help] CC2420 SACK question

2007-06-26 Thread roberto pagliari
the FIFO RX queue should have a size for just one packet, so I think the ack is sent to the only packet belonging to the rx queue On 6/26/07, Chieh-Jan (Mike) Liang <[EMAIL PROTECTED]> wrote: I am looking at CC2420ReceiveP.nc for software ACK. I see that strobing SACK to CC2420 is done after bo

[Tinyos-help] question regarding micaz and cc2420

2007-06-26 Thread roberto pagliari
I have to measure the RSSI value whenever I want, even when a preamble is not detected, using a CC2420. I need to know the two following information: 1) when the radio turn to rx mode the RSSI is calculated after 8 symbol periods. After that is the RSSI refreshed every 8 symbol periods? (I mean, t

Re: [Tinyos-help] CCA value

2007-07-02 Thread roberto pagliari
which kind of platform and distribution are u using? In tinyos 1.0.7 the default value for micaz platform is -128. You should change it going to HPLCC2420Control.init() On 7/1/07, JeongKwanhee <[EMAIL PROTECTED]> wrote: Hello all! I knew CCA default value is -32. And I found CCA_MODE that

Re: [Tinyos-help] start frame delimiter (SFD) detection - time precision

2007-07-02 Thread roberto pagliari
sure, the flag CC2420_STATUS_TX_ACTIVE returned by the radiochip, when STXON_CCA is called, is set if the radio started the transmission. Using just the command strobe STXON the transmission starts, no matter which value the cca is. On 6/30/07, Mehedi Bakht <[EMAIL PROTECTED]> wrote: Hi, I don

[Tinyos-help] make -I option

2007-07-02 Thread roberto pagliari
I'd like to add a directory where I put some other library components. where and how do I define that? I'm not expert using makefiles. thank you ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-b

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-02 Thread roberto pagliari
what is the field uint16_t fcf; ? On 7/1/07, Steve McKown <[EMAIL PROTECTED]> wrote: On Saturday 30 June 2007 06:35:32 pm Pedro Almeida wrote: > Hello, Steve! > > Wow, that was a very thorough and explicit explanation, i'm all cleared > now! Only in > > Radio Frame = SHR(5) + PHR/len(1) + MHR/

Re: [Tinyos-help] CCA value

2007-07-03 Thread roberto pagliari
f *JeongKwanhee *Sent:* Tuesday, July 03, 2007 10:15 AM *To:* 'roberto pagliari' *Cc:* tinyos-help@millennium.berkeley.edu *Subject:* RE: [Tinyos-help] CCA value Hello! I'm using the micaz to Tinyos 1.1.15 version. In cc2420data sheet, the default value of CCA_THR is -35.

[Tinyos-help] RSSI

2007-07-03 Thread roberto pagliari
I need to know two questions regarding how the cc2420 works 1) why does in cc2420M.nc the call TOSH_READ_RADIO_CCA_PIN() does not wait for the RSSI_VALID flag? 2) if the radio doesnt transmit for a long time, is the RSSI continuously updated every 8 periods of symbol and the RSSI_VALID flag is ev

Re: [Tinyos-help] RSSI

2007-07-03 Thread roberto pagliari
The TOSH_READ_RADIO_CCA_PIN() can be used every time you issue a request to dispatch a packet, if the pin is active then you can go... thank you marco, but what do you mean by "if the pin is active"? CCA_PIN returns the result of the operation (RSSI > CCA), but in order to read the RSSI, the rad

Re: [Tinyos-help] RSSI

2007-07-03 Thread roberto pagliari
yes, I read it, but within the tinyos code (1.0.7, for instance, CC2420RadioM.nc) there is something like void tryToSend() { uint8_t currentstate; atomic currentstate = stateRadio; // and the CCA check is good if (currentstate == PRE_TX_STATE) { if (TOSH_READ_RADIO_CCA_PIN

Re: [Tinyos-help] RSSI

2007-07-04 Thread roberto pagliari
so, if I just need to know whenever the RSSI > CCA I can get it in the two following ways (provided that the radio is in RxMode) event result_t Timer.fired() { /* First method */ uint8_t status; uint16_t rssi_reg; status = call HPLChipcon.cmd(CC2420_SNOP);

Re: [Tinyos-help] RSSI

2007-07-04 Thread roberto pagliari
sorry, I meant something like this: event result_t Timer.fired() { /* First method */ uint8_t status; uint16_t rssi_reg; status = call HPLChipcon.cmd(CC2420_SNOP); while( !((status >> CC2420_RSSI_VALID) & 0x01) ) { status = call HPLChipcon.cmd

Re: [Tinyos-help] RSSI

2007-07-05 Thread roberto pagliari
my micaz motes are going to arrive during this week. I will try both methods and I'll let you know. I read on the web that the second one have some problems, by the way I'll let you know soon (I think the CCA pin is set if RSSI > CCA_THRESHOLD, whenever RSSI is valid). Tsung-han, basically I need

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-05 Thread roberto pagliari
I think the module CC2420RadioM send a payload (excluding headers and footers) of TOSH_DATA_LENGTH, regardless of the particular size of your message. the only way is to change the TOSH_DATA_LENGTH definition within ..\micaz\AM.h pMsg->fcflo = CC2420_DEF_FCF_LO; if (bAckEnable) p

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-05 Thread roberto pagliari
the type is the identifier of the stream, like -> GenericComm.SendMsg ["type"]; On 7/5/07, roberto pagliari <[EMAIL PROTECTED]> wrote: I think the module CC2420RadioM send a payload (excluding headers and footers) of TOSH_DATA_LENGTH, regardless of the particular size of you

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-05 Thread roberto pagliari
I apologize for the first message, actually the code, at least in 1.0.7version for micaz, send the effective payload of your mesage. In CC2420RadioM there's something like (in Send.send) pMsg->length = pMsg->length + MSG_HEADER_SIZE + MSG_FOOTER_SIZE; hence, pMsg->length is the effective si

[Tinyos-help] assembled code

2007-07-06 Thread roberto pagliari
hi all, could you tell me how can I get the .asm code of my application. I need to check how many instructions are generated for each function I write. thank you ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.b

[Tinyos-help] TOSH_SIGNAL

2007-07-06 Thread roberto pagliari
is it possible to conclude an interrupt routine with a return statement like this.. TOSH_SIGNAL(something) { // do something return; } ? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/

[Tinyos-help] ROM and RAM variables

2007-07-09 Thread roberto pagliari
is it possible to tell the compiler where to put variables, I mean using explicitly the ROM and/or RAM memory. I know some compilers do that using different keywords, like flash, eeprom... is it possible to do that with gcc? ___ Tinyos-help mailing list

[Tinyos-help] memory allocation

2007-07-09 Thread roberto pagliari
Hi All, I tried to run this simply code... TOS_Msg message; uint16_t jump_v[LEVELS]; // some code StdControl.start() { value = jump_v[80]; pack = (struct time_msg*)message.data; pack->time = interval; call SendMsg.send(TOS_UART_ADDR, sizeof(struct time_msg), &messag

[Tinyos-help] Re: memory allocation

2007-07-09 Thread roberto pagliari
just solved. I need to use the malloc function On 7/9/07, roberto pagliari <[EMAIL PROTECTED]> wrote: Hi All, I tried to run this simply code... TOS_Msg message; uint16_t jump_v[LEVELS]; // some code StdControl.start() { value = jump_v[80]; pack = (struct ti

Re: [Tinyos-help] Counting CPU cycles using PowerTossim

2007-07-11 Thread roberto pagliari
did you try to count directly using the hardware timers 0,1,2, or 3? On 5/28/07, Ixent Galpin <[EMAIL PROTECTED]> wrote: Safraz, Thanks for pointing me to Avrora, it looks a very promising tool for my forthcoming research. With regards to the CPU cycle count problem of zero I was getting last

[Tinyos-help] HPL power management

2007-07-11 Thread roberto pagliari
what happens if I cut use HPLPowerManagement modul from AMStandard? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] SPI clock frequency

2007-07-12 Thread roberto pagliari
Hi All, the HPLCC2420M module in tinyos 1.x is responsible for the communications between the uController and the cc2420. the Spi frequency should be around 3.6 Mhz. My question is: who is responsible to send and receive data at that frequency? Is it handled by the hardware automatically? thank

Re: [Tinyos-help] SPI clock frequency

2007-07-12 Thread roberto pagliari
so the HPLCC2420M module doesnt care about the spi frequency because the output pins automatically. Do you know exactly what is the purpose of HPLPowerManagement module, used within AMStandard? On 7/12/07, Marco Antonio Lopez Trinidad < [EMAIL PROTECTED]> wrote: Hi roberto, On the radio there

[Tinyos-help] SFD handling

2007-07-12 Thread roberto pagliari
where is the SFD handling in tinyos 1.x versions <= then 1.7 ? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] timer

2007-07-13 Thread roberto pagliari
I'm having troubles using timer. I wrote something like this command result_t StdControl.init() { call Leds.init(); return SUCCESS; } command result_t StdControl.start() { outp(0x00, TCCR3A); // no waveform or output toggle outp(0x20, TCCR3B); // clk / 8 --> 1 tick = 1usec

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-15 Thread roberto pagliari
r instance, to the address recognition that may be done automatically by the cc2420 On 7/2/07, roberto pagliari <[EMAIL PROTECTED]> wrote: what is the field uint16_t fcf; ? On 7/1/07, Steve McKown <[EMAIL PROTECTED]> wrote: > > On Saturday 30 June 2007 06:35:32 pm Pedro Alm

[Tinyos-help] TOSH_SIGNAL and TOSH_INTERRUPT

2007-07-16 Thread roberto pagliari
I read the difference concerning the two macros TOSH_SIGNAL and TOSH_INTERRUPT. Suppose that two interrupts are driven by the macro TOSH_SIGNAL. Say TOSH_SIGNAL( SIG1 ) { // do something } TOSH_SIGNAL( SIG2 ) { // do something } and suppose that sig1 happens. If in the meanwhile sig2 happens i

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-16 Thread roberto pagliari
does it happen even during the transmission of a packet? I mean, if I write N bytes into the transmission queue, does the cc2420 check the FCF fram before transmitting it? thank you On 7/16/07, Steve McKown <[EMAIL PROTECTED]> wrote: On Sunday 15 July 2007 06:00:45 pm roberto pagliari

[Tinyos-help] atmega128 clock frequency

2007-07-17 Thread roberto pagliari
how can I set the clock frequency of motes microcontroller? I'm using micaz mote right now ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] atmega128 clock frequency

2007-07-17 Thread roberto pagliari
erclocked in software though. MS roberto pagliari wrote: > how can I set the clock frequency of motes microcontroller? > I'm using micaz mote right now > > > > > _

Re: [Tinyos-help] atmega128 clock frequency

2007-07-17 Thread roberto pagliari
B1 -> 1 so, is it 7.3Mhz? On 7/17/07, roberto pagliari <[EMAIL PROTECTED]> wrote: my fuse low byte is set to 0xff. this means the clock frequency is 7.3Mhz(not 8Mhz) right? thank you in advance On 7/17/07, Michael Schippling < [EMAIL PROTECTED]> wrote: > > I think &qu

Re: [Tinyos-help] atmega128 clock frequency

2007-07-18 Thread roberto pagliari
llator is > normally 7.3728 MHz. > > Giri > > > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of > *roberto pagliari > *Sent:* Tuesday, July 17, 2007 3:27 PM > *To:* [EMAIL PROTECTED] > *Cc:* tinyos-help@Millennium.Berkeley.EDU > *Subj

Re: [Tinyos-help] atmega128 clock frequency

2007-07-18 Thread roberto pagliari
l measures, and I need to know exactly the frequency of the microcontroller. Thank you a lot in advance On 7/18/07, roberto pagliari <[EMAIL PROTECTED]> wrote: Hi Michael, I get the following configuration fuse low byte 0xff fuse high byte 0xff fuse extended byte 0xff calibration byte

Re: [Tinyos-help] atmega128 clock frequency

2007-07-18 Thread roberto pagliari
I'm sorry, I issued the wrong command since I use a mib510. Now, writing uisp -dprog=mib510 -dpart=ATmega128 -dserial=/dev/ttyS1 --rd_fuses I get fuse low byte 0xff fuse high byte 0xd9 fuse extended byte 0xff calibration byte 0x00 - read only lock bits 0xff BLB12 -> 1 BLB11 -> 1 BLB02 -

[Tinyos-help] GenericComm

2007-07-19 Thread roberto pagliari
which timer uses GeneriComm? I'm using timer1 and 3 in my app, and I'm afraid they interfere with genericcomm ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] GenericComm problem

2007-07-19 Thread roberto pagliari
the simple following code should blink the red led on and off every time a msg has received (if the ). I don't understand why sometimes it does not happen. Does genericcomm uses timer3, or there is another problem in that code? thank you event TOS_MsgPtr ReceiveMsg.receive( TOS_MsgPtr m) {

[Tinyos-help] Leds and Random

2007-07-20 Thread roberto pagliari
is it wrong to use LedsC and Random components within different modules. I mean, if Leds.init() and Random.init() are called by different modules, do they work ? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.ber

[Tinyos-help] address recognition

2007-07-23 Thread roberto pagliari
if the address recognition is enabled, in CC2420, and it fails during the reception of a packet whe does the SFD pin goes slow? After receiving all the bytes belonging to the address mac, or even after receiving the first byte of the address, if wrong? _

[Tinyos-help] timer precision

2007-07-31 Thread roberto pagliari
Hi All, I did the following simple experiment: 1) a base station sends a message to some motes 2) each receiving mote records the clock time (using timer3) 3) the base station sends another msg asking the recorded time repeating this experiment several time I noticed that the clock differences be

[Tinyos-help] tinyos + vista

2007-08-03 Thread roberto pagliari
does anyone has successfully installed tinyos under windows vista? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] cc2420 RF power

2007-08-12 Thread roberto pagliari
the cc2420 allows different RF output power levels. The default value is set to (1 << CC2420_TXCTRL_PADIFF) | (0x1f << CC2420_TXCTRL_PAPWR)); I'm wondering to know to which value that correspond to, since I didn't find it in the datasheet. Also, the possible values are 31 27 23 19 15 11 7 3 wha

[Tinyos-help] CC2420 packet delivery

2007-09-18 Thread roberto pagliari
Hi All, does anyone know what happen if, during the receiption of a packet, a STXON (not STXONCCA) strobe command from the microcontroller is issued? Does the radiochip turn the circuit to the transmitter? If so, should I flush the RXFIFO queue? many thanks, Roberto _

Re: [Tinyos-help] CC2420 packet delivery

2007-09-24 Thread roberto pagliari
ize) then the RX FIFO certainly needs to be > flushed. > > > > -David > > > > > ------ > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *roberto > pagliari > *Sent:* Tuesday, September 18, 2007 4:43 PM > *

[Tinyos-help] tossim

2007-10-20 Thread roberto pagliari
Hi All, I wonder to know if it is possible to run multiple simulations (using tossim) and save the results in a file, like ns. thanks, Roberto ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/m

[Tinyos-help] tune preset

2007-10-29 Thread roberto pagliari
the function CC2420Control.TunePreset doesnt work, in tinyos 1.x. doesn anyone know the reason? thanks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] zigbee + tinyos

2007-11-29 Thread roberto pagliari
Does anyone know where I can find a tinyos implementation of the zigbee protocol stack? thnks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyos 2.x split phase

2007-12-16 Thread roberto pagliari
Hi All, I wonder if someone can explain me the following two sentences (taken from the tutorial), reagrding the split phase advantages: First, split-phase calls do not tie up stack memory while they are executing. Third, it tends to reduce stack utilization, as creating large variables on the st

Re: [Tinyos-help] tinyos 2.x split phase

2007-12-17 Thread roberto pagliari
maybe I should read the appropriate TEP, btw what do you mean by "The point here is that there is just one stack in a TinyOS-based system, so all execution is LIFO" ? Roberto On Dec 17, 2007 12:30 PM, John Regehr <[EMAIL PROTECTED]> wrote: > > First, split-phase calls do not tie up stack memory

[Tinyos-help] tinyos 2.x radio

2007-12-18 Thread roberto pagliari
Hi All, I have a question concerning the radio stack of cc2420 in tinyos 2.x. A low power listening is used, which means that the radio is turned off and on periodically in order to detect a preamble sequence. Hence, the transmitter broadcasts many times the packet to ensure reception to its neighb

Re: [Tinyos-help] Hardware Address Recognition

2007-12-18 Thread roberto pagliari
Hi Andrè, address recognition and ack can be set indipendently at the hardware level, CC2420. You can set the address recognition, and disable auto ack, just set the appropriate register. If you're using 1.x there are two functions, like addressDecodeEnable/Disable and autoAckEnable/Disable in CC24

Re: [Tinyos-help] Si può campion are un Timer prima dell'overflow?

2007-12-19 Thread roberto pagliari
Ciao, prima di tutto dovresti scrivere in inglese per avere qualche risposta ;) Per avere una misura di tempo, la suluzione migliore è usare i timers dell'atmega128, o del controllore che usa il tuo nodo. Sono molto precisi e puoi misurare tempi, oltre che settare firings. ciao On Dec 18, 2007 8:

Re: [Tinyos-help] Si può campion are un Timer prima dell'overflow?

2007-12-19 Thread roberto pagliari
tmega timers, even if other solutions are available using the existing library.. Roberto On Dec 19, 2007 11:48 AM, Philip Levis <[EMAIL PROTECTED]> wrote: > > On Dec 19, 2007, at 9:00 AM, roberto pagliari wrote: > > > Ciao, > > prima di tutto dovresti scrivere in ingles

Re: [Tinyos-help] CC2420ReceiveP RXFIFO.readDone

2007-12-19 Thread roberto pagliari
yeah, the FIFOP pin is triggered whenever the number of bytes, tipically set to the length of the message, is equal or exceeds a programmable threshold, while the FIFO pin indicates if there are bytes buffered by the radio and available to be downloaded. On Dec 19, 2007 12:14 PM, David Moss <[EMAI

[Tinyos-help] CC2420 scheduling

2007-12-20 Thread roberto pagliari
Hi All, I have a question regarding the CC2420 scheduler, since texas intruments customer support does not answer. If a node delivers a packet issuing the STXON strobe command, and flushes the RXFIFO, like the following STXON(); FLUSH_RXFIFO; does the radio-chip transmit the packet first, and th

Re: [Tinyos-help] tinyos 2.x radio

2007-12-20 Thread roberto pagliari
Hi All, I've been using tinyos 1.x stack on micaz motes. From CC2420 datasheet, when address recognition is enabled, the SFD goes low if address recognition fails. In this case, how much time does the radio need to wait before transmitting a packet? I tried something like while (TOSH_READ_C

Re: [Tinyos-help] tinyos 2.x radio

2007-12-21 Thread roberto pagliari
n that's going on and begins transmitting the packet you're > telling it to transmit. > > > > -David > > > > > -- > > *From:* roberto pagliari [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, December 20, 2007 6:18 PM > *To:* David Moss; Ti

[Tinyos-help] availability for current or future TEPs

2007-12-21 Thread roberto pagliari
Hi All, I'm available current or future TEPs regarding MAC and network layer. If someone of the tinyos staff is interested, just let me know. Roberto ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cg

Re: [Tinyos-help] RadioBackoff - No effect?

2007-12-21 Thread roberto pagliari
what do you mean by "I create channel contention with 5 motes that continuously broadcast messages." what is the mote's sending rate? it's weird you get such a big delay wirh 5 motes On Dec 21, 2007 12:09 PM, Hauke Holtkamp <[EMAIL PROTECTED]> wrote: > Hi, > > I have a test system (TinyOS 2.0/Mic

Re: [Tinyos-help] TinyOS 1.1.0 and MicaZ

2007-12-29 Thread roberto pagliari
sure On Dec 27, 2007 5:09 PM, Chris Yao <[EMAIL PROTECTED]> wrote: > Hi, > > Does this directory: > > http://www.tinyos.net/dist-1.1.0/tinyos/windows/micaz-installer/ > > means that we can make Micaz mote work on TinyOS 1.1.0? > > Thanks, > > Chris > > -- > Never miss

  1   2   >