[Tinyos-help] How to write log data to a file and not flash memory.

2010-07-22 Thread Rizwan Mumtaz
Hello there, I am trying to add tossim support for the flash storage for micaz motes. Currently when i go to tinyos-2.x/apps/tutorials/BlinkConfig and run the make micaz sim command I get a few errors. I understand that I have to change the ConfiStorageC and LogStorageC abstraction such that in

Re: [Tinyos-help] Problem with MIG

2010-07-22 Thread tyronewj
Hi, I have met the same problem with you ,an when I typed: $ java net.tinyos.tools.Listen -comm ser...@com1:micaz it showed: ser...@com1:57600: resynchronising And when I typed : $ java net.tinyos.tools.MsgReader BlinkToRadioMsg it showed: java.lang.ClassNotFoundException: BlinkToRadioMsg ser...

[Tinyos-help] Question about "nxle_uint16_t crc" in TossimRadioMsg.h

2010-07-22 Thread Yi Tang
Hey, I found there's a "nxle_uint16_t crc" inside the tossim_footer struct in TossimRadioMsg.h as follows: *typedef nx_struct tossim_footer {* * nxle_uint16_t crc; * *} tossim_footer_t;* Does anyone know what's this "crc" variable for? I guess it's not really used in TOSSIM as there's no real

[Tinyos-help] CTP BeaconTimer reset

2010-07-22 Thread Islam Hegazy
Hi, For the resetInterval() in CtpRoutingEngineP.nc, I don't think it is doing its job when called from within BeaconTimer.fired(). Let me explain it by example: Suppose that tHasPassed = false, thus BeaconTimer.fired() will call in order: 1 - updateRouteTask() 2 - sendBeaconTask() 3 - remaini

[Tinyos-help] How to write data to a file and not flash memory?

2010-07-22 Thread Rizwan Mumtaz
Hello there, I am trying to add tossim support for the flash storage for micaz motes. Currently when i go to tinyos-2.x/apps/tutorials/BlinkConfig and run the make micaz sim command I get a few errors. I understand that I have to change the ConfiStorageC and LogStorageC abstraction such that in

Re: [Tinyos-help] Writing a byte direct to serial

2010-07-22 Thread Guillermo De Cesco
Hi, You should use UARTC component, I have sample code for msp430 tmote: You use the interface UartByte or UartStream ## configuration UartGPSC { provides interface StdControl; provides interface UartStream; provides interface UartByte; } implementation { co

Re: [Tinyos-help] Reading multiple channels at same time

2010-07-22 Thread jostargal
Hi! I have to read two ADC channels "simultaneously" too. I've used the "Msp430Adc12ClientAutoRVGC" component.You can use the "Msp430Adc12MultiChannel" interface. First, configure the component (command "configure"): input channels, voltage reference, clock source for S&H, clock source for sam

Re: [Tinyos-help] About Mic on mts300

2010-07-22 Thread 徐经纬
btw: I use iris+mts310, does the same sensorboard you use? 在 2010年7月22日 下午5:46,徐经纬 写道: > Hi! > I have fixed my tinyos and I could compile everything. I have updated > tinyos tree and szte-wsn tree. But It still doesn't work. > The led0(red led) toggles and other leds didn't do anything.. > > 在 2

[Tinyos-help] BlinkToRadio, AMControl.startNode and AMSend.send : node not sending

2010-07-22 Thread Quentin Pradet
Hi, I'm trying to program two micaZ motes to communicate with each other as described in tutorial 3: Mote-mote radio communication [0]. The problem is that nodes are not sending anything to each other. What can I do to try to understand what the problem is and debug it? Here are relevant informat

[Tinyos-help] Reading multiple channels at same time

2010-07-22 Thread Mario Torrecillas Rodríguez
Hi all!! I would like to ask a very simple question: I'm trying to read two ADC channels (i want to get multiple readings for each one), and, for that task, i'm using two instances of the component "AdcReadStreamClientC()" (which provides the ReadStream interface). When I want to read the channel

[Tinyos-help] updated gcc for iMote2 and compilation options

2010-07-22 Thread Nelson Dopico
#http://www.gaps.ssr.upm.es/en/research/wsn/138-compiling-for-an-arm-architecture-imote2-tinyos For a some time now gcc v3.4.x has been widely used to compile for iMote2. Over this time many of us have had troubles setting up TinyOS for iMote2 or even installing its gcc. There is a recent post

Re: [Tinyos-help] About Mic on mts300

2010-07-22 Thread 徐经纬
Hi! I have fixed my tinyos and I could compile everything. I have updated tinyos tree and szte-wsn tree. But It still doesn't work. The led0(red led) toggles and other leds didn't do anything.. 在 2010年7月20日 上午3:37,Miklos Maroti 写道: > Hi! > > You have to set up your environment variables correctly

Re: [Tinyos-help] New platform creation

2010-07-22 Thread Jordi Soucheiron
The mcu is very similar to the msp430f2617 that use other motes (like Zolertia's Z1). There's quite a lot of information about it in the mailing list and sourceforge page *Jordi Soucheiron* Software Engineer *DEXMA* Parc Tecnològic la Salle Sant Joan de la Salle, 42 08022 Barcelona t/f: [+34] 93