Re: [Tinyos-help] Atmel SAM4 Support

2016-02-24 Thread Thomas Schmid
Hi Eric, The SAM4 is very similar to the SAM3. Shouldn't be too difficult to get it up and running on it. You will have to enable the compiler flags for hardware floats if that's why you want to use a SAM4 though. Cheers, - Thomas On Wed, Feb 24, 2016 at 12:54 PM, Eric Rudisill

Re: [Tinyos-help] cc2420 soft chip decision

2015-09-09 Thread Thomas Schmid
Nahr, This is how the radio chip works, and not the TinyOS implementation. This is how the radio decides if it received a 0 or a 1. TinyOS can only access the final result, not the actual value used for the soft decision. - Thomas On Wed, Sep 9, 2015 at 5:43 AM, Nahr Elk

Re: [Tinyos-help] TinyOS support for Atmel chips on newer ZigBit modules (ATZB)

2014-04-23 Thread Thomas Schmid
, Thomas Schmid thomas.sch...@utah.eduwrote: The rf233 driver has been modified and tested, not just renamed. But I am not 100% sure if we did all the mods mentioned in that app note. On Apr 22, 2014 4:48 PM, Martin Cerveny mar...@c-home.cz wrote: Hello. Thanks for answers. On Tue, 22 Apr

Re: [Tinyos-help] TinyOS support for Atmel chips on newer ZigBit modules (ATZB)

2014-04-23 Thread Thomas Schmid
/FM141/SC1169/SS1576/LN10/PF253090 -Original Message- From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help- boun...@millennium.berkeley.edu] On Behalf Of Philip Levis Sent: Wednesday, April 23, 2014 18:41 To: Thomas Schmid Cc: Tinyos-Help Subject: Re: [Tinyos

Re: [Tinyos-help] Why microsecond accuracy in FTSP with telosb?

2013-09-27 Thread Thomas Schmid
Hi, Fairly simple, the FTSP paper was based on the Mica2 (or was it the MicaZ?) which has a higher frequency crystal. You can do a similar thing with the TelosB, but you will have to change some of the code. Search the mailing list. There were long threads discussing how to do that. Cheers, -

Re: [Tinyos-help] CC2420: receiving old packets again (from rxfifo)

2013-09-03 Thread Thomas Schmid
Christian, Try to use the cc2420x driver and see if the problem persists. On Sep 3, 2013 6:03 AM, Christian Renner christian.ren...@tuhh.de wrote: Dear all, I'm currently working on implementing the Orinoco routing protocol (which is based on RI-MAC) for the TelosB/Tmote platform. Things

Re: [Tinyos-help] How to connect a SFD pin to a oscilloscope

2013-09-02 Thread Thomas Schmid
This is the way to do it. Good luck! On Sep 2, 2013 10:54 PM, Dingming Wu dmwu0...@gmail.com wrote: Hi all, This should be an easy question. I want to measure the SFD pin activity using a oscilloscope. Can I directly connect the pin to a oscilloscope by a counducting wire (like the way in the

Re: [Tinyos-help] Time to transmit in CC2420!

2013-02-08 Thread Thomas Schmid
Wasif, Not sure how you are synchronizing, but have a look at how packet timestamps are implemented. You get a timestamp at transmit (SFD rise on the transmitter) that gets added to the packet that is about to be sent out. The CC2420 actually lets you fill the TXFIFO while it is already in

Re: [Tinyos-help] how Many Telosb/z1 nodes can be serially connected to one PC!

2013-01-15 Thread Thomas Schmid
We successfully had about 150 telosb nodes connected to one Linux laptop. The theoretic USB limit is 127 devices, including hubs, per bus. Usually your computer has multiple buses. We actually tried to have 200 connected, but Linux didn't want to enumerate all of them and stopped at about 150. We

Re: [Tinyos-help] how Many Telosb/z1 nodes can be serially connected to one PC!

2013-01-15 Thread Thomas Schmid
, atleast I know that I have to try harder on that, but one small catch, I ma using Ubuntu12.04, can this be the reason, not sure but need to look into it in more detail. Thanks! Regards, Wasif! On Tue, Jan 15, 2013 at 4:02 PM, Thomas Schmid thomas.sch...@gmail.com wrote: We successfully

Re: [Tinyos-help] How to program all the motes same time.

2012-11-16 Thread Thomas Schmid
Sarah, As Antonio mentioned, you have to be more specific. I wrote a set of python scripts that encapsulate everything Antonio mentioned, without having to write the udev rules: https://github.com/tschmid/mni It works great with TelosB/Irene nodes (i.e. any TI BSL based platform with FTDI chip

Re: [Tinyos-help] arm cortex toolchain

2012-11-05 Thread Thomas Schmid
Andras, I am currently using the latest CodeBench ARM Toolchain. Seems to work great. We had a lot of difficulty to get the lates ARM GCC to compile (~1/2 year ago), and CodeBench has a precompiled version. I believe Razvan has some scripts that at some point compiled the toolchain, but I am not

Re: [Tinyos-help] LOTUS devices manufactured by MEMSIC VS TinyOS

2012-05-10 Thread Thomas Schmid
Note that the LOTUS uses a LPC1758. You would have to write all the peripheral drivers for it in TinyOS, as that hasn't been done yet. So I think Janos' estimate of one man-month is low, unless you really know what you do. - Thomas -- Assistant Professor Electrical and Computer Engineering

Re: [Tinyos-help] Time sync problem using FTSP

2012-03-08 Thread Thomas Schmid
Ariel, Please use the version on the latest tree found here: http://code.google.com/p/tinyos-main/source/checkout The CVS tree is outdate for a while now. - Thomas On Thu, Mar 8, 2012 at 5:41 PM, Ariel1110 ariel.zhou.1...@gmail.com wrote: Hello all, We are working on time

Re: [Tinyos-help] Pinouts of a TelosB SPI bus

2011-08-01 Thread Thomas Schmid
http://www.snm.ethz.ch/pub/uploads/Projects/tmote_sky_schematic.pdf - Thomas On Mon, Aug 1, 2011 at 8:24 AM, Marcelo Coelho mjcoe...@criticalsoftware.com wrote: Hi! I'm trying to add Ethernet communication functionality to a Crossbow TelosB mote. To accomplish that, I intend to use an

Re: [Tinyos-help] Distance Calculations with RSSI

2011-06-15 Thread Thomas Schmid
Hi Matthew, Check out the NanoLoc (http://www.nanotron.com/EN/PR_nl_TRX.php). They can do localization using time of flight. Jennic also has a chip that does a similar thing, and there are a bunch of others on the way. But for now, you are stuck with RSSI. You can't do time of flight measurements

Re: [Tinyos-help] measure FTSP accuracy in multi-hop

2011-04-26 Thread Thomas Schmid
On Tue, Apr 26, 2011 at 8:03 PM, Xiaohui Liu whu...@gmail.com wrote: Hi everyone, I want to use FTSP in a multi-hop network such as Motelab and Indriya , before which I need to test its accuracy. But there is no mote, even using maximal power, that can reach every other mote in the network

Re: [Tinyos-help] rfxlink for Telos

2011-04-19 Thread Thomas Schmid
The only thing I can think of why not to switch to higher DCO is power draw. The same counts for setting SMCLK to DCO instead of DCO/4. Even though all the peripherals can divide it down, power draw is likely to be higher. At the same time, we duty-cycle DCO so the increase might be negligible. At

Re: [Tinyos-help] Exchanging floating point variables between telosb motes using nx_float

2011-04-16 Thread Thomas Schmid
Which version of nesc do you use? Thomas On Saturday, April 16, 2011, Mayank Gupta mayank...@gmail.com wrote: I was trying to use nx_float for exchanging floating point data between two telosb motes but apparently cannot compile the code. Can anyone help me solving this issue. Thanking you

Re: [Tinyos-help] Developing for CC2520

2011-03-27 Thread Thomas Schmid
Depends on what you mean with complete. It currently does software ack and we are working on hardware ack support. There is also encryption support, but we are still testing it. Cheers, - Thomas 2011/3/27 Breno Guimarães bren...@gmail.com: Hi! Do you know if that is that the complete

Re: [Tinyos-help] Park-Miller Minimal Standard Generator range

2011-03-07 Thread Thomas Schmid
with (2^32)/2? Thnx in advance Marios On Sat, Mar 5, 2011 at 3:20 AM, Thomas Schmid thomas.sch...@gmail.com wrote: Look at the Random interface: http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/iris/ihtml/tos.interfaces.Random.html rand16 gives you a 16-bit random number, rand32 a 32-bit

Re: [Tinyos-help] How to make a pull up/down resistor able or disable?

2011-03-07 Thread Thomas Schmid
Hi Haixia, That depends greatly on your chip. The msp430 on the telosb and epic does not have pull-ups/downs, others do. I think there is no generic interface for it (correct me if I am wrong, as I would have to change the Sam3 implementation). - Thomas On Mon, Mar 7, 2011 at 5:27 PM, Li,

Re: [Tinyos-help] Park-Miller Minimal Standard Generator range

2011-03-04 Thread Thomas Schmid
Look at the Random interface: http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/iris/ihtml/tos.interfaces.Random.html rand16 gives you a 16-bit random number, rand32 a 32-bit. Cheers, - Thomas On Fri, Mar 4, 2011 at 3:58 PM, aggeloko aggel...@gmail.com wrote: Greetings everyone, could

Re: [Tinyos-help] Latest TinyOS distribution issue with TOS_AM_ADDRESS

2011-02-07 Thread Thomas Schmid
Where and how do you set your node ids? This is usually done in a separate step of the make system, after compilation. Look at the difference when you type: make telosb make telosb install,32 You will see a line similar to the following: tos-set-symbols --objcopy msp430-objcopy --objdump

Re: [Tinyos-help] PLATFORM assignment bug in several target Makefiles

2010-12-11 Thread Thomas Schmid
Hi Ben, I am not sure if this is universal. You might have defined $PLATFORM somewhere in your startup scripts (.bashrc, .profile), as on my Ubuntu 10.04 $PLATFORM is not defined as Linux. Cheers, - Thomas On Sat, Dec 11, 2010 at 9:24 AM, Ben Ransford ransf...@cs.umass.edu wrote: Hello,

Re: [Tinyos-help] [Tinyos-devel] TinyOS port on TI CC2520DK

2010-11-25 Thread Thomas Schmid
. Best regards, Jimmy On 09/23/2010 04:49 PM, Thomas Schmid wrote: Yes, we have a cc2520 driver. But it is not in contrib nor main yet (though hopefully soon). You can find it here: http://github.com/tschmid/tinyos-2.x in tos/chips/cc2520 - Thomas On 09/23/2010 04:49

Re: [Tinyos-help] [Tinyos-devel] TinyOS port on TI CC2520DK

2010-11-25 Thread Thomas Schmid
of CC2520 chip? I am not sure whether I need this to integrate MSP430X yet. However, it's good to know whether this affects. Thank you very much for you help. Best regards, Jimmy On Thu, Nov 25, 2010 at 1:36 PM, Thomas Schmid thomas.sch...@gmail.com wrote: It won't be a standard, but we

Re: [Tinyos-help] [Tinyos-devel] TinyOS port on TI CC2520DK

2010-11-24 Thread Thomas Schmid
/2010 04:49 PM, Thomas Schmid wrote: Yes, we have a cc2520 driver. But it is not in contrib nor main yet (though hopefully soon). You can find it here: http://github.com/tschmid/tinyos-2.x in tos/chips/cc2520 - Thomas On 09/23/2010 04:49 PM, Thomas Schmid wrote: Yes, we have a cc2520

Re: [Tinyos-help] [Tinyos-devel] TinyOS port on TI CC2520DK

2010-09-23 Thread Thomas Schmid
potential, and our own passion. - Bertrand Piccard On Thu, Sep 23, 2010 at 10:28 AM, Janos Sallai sal...@isis.vanderbilt.edu wrote: Jimmy, If I remember correctly, Thomas Schmid wrote a cc2520 stack based on my cc2420 code. I suggest that you check with him whether the code is publicly available

Re: [Tinyos-help] Segmentation fault

2010-09-20 Thread Thomas Schmid
What specifically is segfaulting? If it is during compilation, then you are most likely using 64-bit math with msp430-gcc 3.x. - Thomas On Mon, Sep 20, 2010 at 10:12 AM, Janos Sallai sal...@isis.vanderbilt.edu wrote: Compile with -O0 and run the application within gdb. Janos On Mon, Sep

Re: [Tinyos-help] CC2420 and microsecond precision timestamps...

2010-08-04 Thread Thomas Schmid
Hi Sinan, The problem is not in the TinyOS code. The hardware you use (I assume TelosB or Sky?) does not support these timestamps by default. The timestamps are taken when the SFD line toggles. This line is connected to the TimerB, which is sourced from the 32kHz signal. Thus, you can not get

Re: [Tinyos-help] 8ms for packet to reach CC2420ReceiveC(receiver) from CC2420TransmitC(sender)

2010-07-13 Thread Thomas Schmid
How did you measure the 8ms? Remember, you also have to upload the message into the radio over SPI, and download it from the radio. That takes time too. Oh, and what platform and target are you using? - Thomas On Mon, Jul 12, 2010 at 10:28 PM, Obaid Salikeen obaidsalik...@gmail.com wrote: Hi,

Re: [Tinyos-help] How to transmit byte by byte instead of packet wise?

2010-07-05 Thread Thomas Schmid
Hi Kartik, Generally, that's not possible as the radio is a packed based radio. However, depending on what you want to do, you can frame the bytes you want to send into packets, thus providing an intermediate layer. Cheers, - Thomas On Mon, Jul 5, 2010 at 6:26 PM, Kartik Siddhabathula

Re: [Tinyos-help] How to transmit byte by byte instead of packet wise?

2010-07-05 Thread Thomas Schmid
. I am not sure how to do that in tinyos-2.x and also seems RFM.nc is for rene2 platform and not for telosb. Thanks, Kartik --- On *Mon, 7/5/10, Thomas Schmid thomas.sch...@gmail.com* wrote: From: Thomas Schmid thomas.sch...@gmail.com Subject: Re: [Tinyos-help] How to transmit byte

Re: [Tinyos-help] Synchronization error on XBow Iris platform if HW acks are enabled

2010-02-12 Thread Thomas Schmid
Pretty interesting. Miklos: Do I understand the rf230 datasheet correct in that on the TX side, you get the IRQ once the message is sent out, but on the RX side it is when the SFD is received? Thomas On Fri, Feb 12, 2010 at 4:59 AM, HL truong hlt.maill...@gmail.com wrote: Hi Miklos, Thanks

Re: [Tinyos-help] Quanto

2010-01-31 Thread Thomas Schmid
Not sure where you looked, but quanto is in CVS at the given location: http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/berkeley/quanto/ And I don't think the hardware is directly available to buy from a company. But the schematics and gerber files are available for several of

Re: [Tinyos-help] FTSP fixed bug, introduced again?

2010-01-29 Thread Thomas Schmid
Hi Mildo, TinyOS 2.1 was released before this bug was found. The version inside 2.1 is Rev 1.3 of that file, which, as you mentioned, does not have the fix yet. I suggest you either update to the latest CVS version or wait till 2.1.1 gets released. Cheers, Thomas On Fri, Jan 29, 2010 at

Re: [Tinyos-help] Timing analysis

2010-01-28 Thread Thomas Schmid
Hi Kiraneet, TOSSIM will not give you the correct time that a network of real motes will have. You will have to use something like Avrora to get cycle accurate timing. Cheers, Thomas -- Thomas Schmid Post Doctoral Researcher Center for Embedded Networked Sensing University of California, Los

Re: [Tinyos-help] FTSP Micro-second Precision?

2010-01-12 Thread Thomas Schmid
that uses the T32khz as a time source. If you really need microsecond accuracy, then you will have to add an external 8MHz (or 4MHz) crystal to the TMote. I have done it before, but it involves some PCB design for an extension board. Cheers, Thomas -- Thomas Schmid Post Doctoral Researcher Center

Re: [Tinyos-help] Hirose DF9-51S-1V(54) Connector

2010-01-12 Thread Thomas Schmid
?Cat=1442154k=CONN RECEPT 51POS 1MM SMD GOLD Cheers, Thomas -- Thomas Schmid Post Doctoral Researcher Center for Embedded Networked Sensing University of California, Los Angeles The most renewable energy we have is our own potential, and our own passion. - Bertrand Piccard On Tue, Jan 12

Re: [Tinyos-help] FTSP example application

2010-01-08 Thread Thomas Schmid
Hi Adarsh, Please have a look in apps/test/TestFtsp. Cheers, Thomas On Fri, Jan 8, 2010 at 2:40 AM, Adarsh Joshi joshi.ada...@gmail.com wrote: Hello all, Kindly point me towards any example application or sample program on FTSP or TimeSyncMessageC component. Thank you. -- Adarsh Joshi

Re: [Tinyos-help] TimeSyncMessageC component help

2010-01-08 Thread Thomas Schmid
standard notation. Cheers, Thomas -- Thomas Schmid Post Doctoral Researcher Center for Embedded Networked Sensing University of California, Los Angeles The most renewable energy we have is our own potential, and our own passion. - Bertrand Piccard On Thu, Jan 7, 2010 at 4:16 PM, Adarsh Joshi

Re: [Tinyos-help] re-calibrating the DCO on the MSP430 in TinyOS 2.1.0

2010-01-02 Thread Thomas Schmid
Hi Steve, There is a function that executes the recalibration of the DCO in the Msp430ClockP.nc file. You could do it yourself whenever you need it. I think the periodic recalibration got removed because most applications don't use the DCO for time critical things. An other solution for you

Re: [Tinyos-help] Reg: Unit of time for mesuring error

2009-12-17 Thread Thomas Schmid
Hi Jeena, If you are using an unmodified version of TestFTSP, then the units will be milliseconds. The TelosB motes are not capable of microsecond time synchronization accuracies out of stock, since they don't have a stable microsecond time source. What you can do though is switch over to the

Re: [Tinyos-help] I want to know timer A part and interrupt notion

2009-12-08 Thread Thomas Schmid
Hi Sun, This is the wrong mailing list. You should try a MSP430 specific forum. This mailing list is for the TinyOS operating system. Cheers, Thomas ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Improve RF listening range

2009-12-04 Thread Thomas Schmid
Well, there is a hardware solution to this: Use a high-gain antenna. But Paul is right. There is most likely not much you can do in terms of radio settings. Cheers, Thomas On Fri, Dec 4, 2009 at 8:20 AM, Paul Johnson oewyn...@gmail.com wrote: Zhao, Your best bet is to look at the datasheet

Re: [Tinyos-help] hardware ack for rf230

2009-12-04 Thread Thomas Schmid
Hi Miklos, 3) You might not be able to send and receive acknowledgement frames between software and hardware ack drivers (especially CC2420 software ack and RF230 hardware ack does not work). Is it a software reason, or hardware problem? I.e., is the MSP430/AVR128(1) just too slow? And if so,

Re: [Tinyos-help] hardware ack for rf230

2009-12-04 Thread Thomas Schmid
at 7:10 PM, Miklos Maroti mmar...@math.u-szeged.hu wrote: Hi Thomas, On Sat, Dec 5, 2009 at 3:49 AM, Thomas Schmid thomas.sch...@gmail.com wrote: Hi Miklos, 3) You might not be able to send and receive acknowledgement frames between software and hardware ack drivers (especially CC2420 software

Re: [Tinyos-help] TinyOS and EX430 Chronos

2009-12-03 Thread Thomas Schmid
Hi Lorenzo, The EZ430-Chronos is based on the CC430F6137. This is a SoC that combines the radio and MCU on one chip. However, the radio chip used is based on the CC1101, and not the CC2420 or 2520. Thus, you won't be able to use the 802.15.4 stack. Cheers, Thomas

Re: [Tinyos-help] Negative values from Counter

2009-11-13 Thread Thomas Schmid
Are you maybe converting the uint32_t into an int32_t? How do you know it is negative? Because a uint32_t is never negative, per definition, except if you cast it into a different signed type. Cheers, Thomas On Fri, Nov 13, 2009 at 7:25 AM, Robert Smith robby_smith...@yahoo.com wrote: Hi, I

Re: [Tinyos-help] Negative values from Counter

2009-11-13 Thread Thomas Schmid
%ld is for signed int, use %lu for unsigned long int. Cheers, Thomas On Fri, Nov 13, 2009 at 8:01 AM, Robert Smith robby_smith...@yahoo.com wrote: Thank you. I didn't cast the return value, so I'm geussing I misused printf. I did printf(%ld, call Counter.get());.  I checked TestPrintfC.nc

Re: [Tinyos-help] can tinyOs on cc1101?

2009-11-04 Thread Thomas Schmid
Hi Archi, Look at the following platform which uses the CC1101 and runs TinyOS: https://sensorweb.vancouver.wsu.edu/research/TelosW.html Cheers, Thomas 2009/11/4 张扬奇 zhan...@robot.nankai.edu.cn: Hi Everyone. I want to transplant TinyOs on TI CC1101. Who can tell me the possibility ?

Re: [Tinyos-help] Clock measurements

2009-10-28 Thread Thomas Schmid
Hi Nikhil, Have a look at the FTSP code in tos/lib/ftsp. That should help you further. The test application is under apps/test/TestFtsp. Cheers, Thomas On Wed, Oct 28, 2009 at 3:37 PM, nikhil marrapu marrapu.nik...@gmail.com wrote: Hello, I wish to look at the hardware clock values of the

Re: [Tinyos-help] Synchronization error measurement

2009-08-14 Thread Thomas Schmid
___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Don't complain; Just work harder - Randy Pausch Thomas Schmid, Ph.D. Candidate Networked Embedded Systems Laboratory (NESL) University of California, Los

Re: [Tinyos-help] Deluge T2 problem on a NEW platform

2009-02-13 Thread Thomas Schmid
work harder - Randy Pausch Thomas Schmid, Ph.D. Candidate Networked Embedded Systems Laboratory (NESL) University of California, Los Angeles (UCLA) ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi