[Tinyos-help] tinyOS on TI's new eZ430-rf2500?

2007-10-12 Thread Steven King
I've just received the hardware and was looking to put tinyOS on it. Is anyone else working on it? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Converting String to Byte to send in UART TX

2007-10-12 Thread Michael Schippling
You should probably start by learning the C language. This may help: http://en.wikibooks.org/wiki/C_Programming But a quick answer goes something like this: A 'C' string like gv is an array of chars (or bytes to most machines) so it may be declared and initialized thusly: char string[] =

[Tinyos-help] Re: Tinyos-help Digest, Vol 54, Issue 37

2007-10-12 Thread zahid iqbal
Hi All ! I am using the follwing to compile my nesC application: make micaz sim my program compiles successfully, says: compiling PeriodicReaderAppC to object file sim.o So what I get is an object file in /build/micaz/ directory and not an executable file. My question is how do I get

[Tinyos-help] Re: Help with MICAz Motes

2007-10-12 Thread Peizhao Hu
From your message, it seems to me that you are using TinyOS-1.x. I am not sure about TinyOS-1.x, but a good direction to start is to search in this mailing list. http://www.tinyos.net/scoop/special/support#mailing-lists here is a search

[Tinyos-help] Using tasks

2007-10-12 Thread Roberto
Hi all, I read the tutorials on tinyos-2.x but i still haven't understood the difference between a function (in C style) and a task Does anyone explain me this difference, please? Thanks in advance -- Platform: Linux Fedora TinyOS version: 2.x Programmer: MIB510 Device(s): Micaz, Stargate

[Tinyos-help] Logger works on some micaz's and not on others (all have same code)

2007-10-12 Thread Nick Soldner
I posted earlier on this however now I have a bit more intuition as to the nature of my problem. I have an application which writes data to the micaz's 512KB flash EEPROM through the logger component. My code first resets the write pointer whenever the mote is power cycled using

[Tinyos-help] Atmega2560 TinyOs

2007-10-12 Thread Domenico Arenga
I'm a student of the university of Pisa. I would want to program a atmega2560 with the tinyOs, is possible? it serves the avr-GCC-4? Many thanks. Domenico Arenga. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Is it possible to change the spreading sequence in CC2420 for MicaZ or TelosB?

2007-10-12 Thread Chang
I wonder if it is possible to change the spreading sequence in CC2420 for MicaZ or TelosB in the program or not. As we know, the transceiver CC2420 is 802.15.4compliant. But can we modify the physical layer parameters such as changing the spreading sequence to some sequence other than those

Re: [Tinyos-help] TinyOs avr-gcc-4

2007-10-12 Thread David Gay
On 10/11/07, Domenico Arenga [EMAIL PROTECTED] wrote: I would want to program a atmega2560 with the tinyOs, is possible? it serves the avr-gcc-4? For the avr-gcc 4 bit, see the instructions I posted earlier. In terms of actually running TinyOS, you'll presumably have to do some amount of

[Tinyos-help] tos-check-env problem

2007-10-12 Thread Derek Tarm
when I run tos-check-env in Ubuntu 7.04, it says: Classpath: use of uninitialized value in concatenation . or string at /usr/bin/tos-check-env line 319. /opt/tinyos-2.x/support/sdk/java/tinyos.jar . So, is there a problem? How could I solve it? Thank you!

Re: Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-12 Thread SANG Junjun
I mean the drivers for chip under TinyOS, for example the drivers under the folder tos/chips. If drivers for MCU is prepareed, you can try to make your platform defination(see lesson 10 in tutorials**) And then try to make TinyOS recongnize your platform(just like yamp in lesson) for your start.

[Tinyos-help] A little issue with tmote compile

2007-10-12 Thread Michael Schippling
I'm struggling with getting tmote sky to work after years of banging my head on mica/TOS. Using the CD I got from Moteiv a couple months ago, labeled boomerang Tmote Tools CD v2.0.5 I loaded the entire system from scratch and managed to get the Delta demo to compile and run, finally, on a

[Tinyos-help] tmote sky password error

2007-10-12 Thread Bill Leal
I'm trying to install a compiled program that I received from a colleague onto a tmote sky. I'm doing this via make telosb reinstall,1 bsl,5. I get the error NAK received (wrong password?). I'm running v. 1.1.15 (see rpm -qa results below). I've looked at discussion on this subject but can't seem

[Tinyos-help] /usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory

2007-10-12 Thread Derek Tarm
Hi, when I compile Blink using 'sudo make micaz sim' in TinyOS 2.x under Ubuntu 7.04, I got the following problem. I've search the help archive, but it doesn't help mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object

[Tinyos-help] Compile to binary

2007-10-12 Thread jose m
Hello, A question: Can I compile my code to create a binary file? not intel or motorola, hexadecimal code. Is the main.exe the binary? Thanks in advance. Los referentes más importantes en compra/ venta de autos se juntaron: Demotores y Yahoo! Ahora comprar o vender tu auto es más

Re: [Tinyos-help] Converting String to Byte to send in UART TX

2007-10-12 Thread Sikar Chan
Thanks for your help. I tried your method today but my CmuCAM3 seems did not receive the command. Would you please help me to tell me if my program is correct or not? For the time being, concurrency is not a problem. I just want to ensure my command is sent to CmuCAM3 through UART0 TX on Tmote

[Tinyos-help] Odd behavior when switching between LPL states (tinynode/tinyos 1.x)

2007-10-12 Thread Jacob Sorber
I'm trying to take advantage of the strengths of different LPL states. Specifically, I want my motes to listen in the lowest state (XE1205LPLSTATES-1) until they receive a request. At that point I want both nodes to switch to high power mode and transfer data, after which they return to the

Re: [Tinyos-help] Converting String to Byte to send in UART TX

2007-10-12 Thread Michael Schippling
Sorry, you're using a bunch of code with which I am still unfamiliar. Your use of usart.tx('S'); should be right, assuming tx() expects to get a single char (byte) as an argument. My only suggestions are that usart.tx(); may not block or queue -- if it works like most TOS interfaces -- so you may

Re: [Tinyos-help] Re: Tinyos-help Digest, Vol 54, Issue 37

2007-10-12 Thread Philip Levis
On Oct 10, 2007, at 4:33 PM, zahid iqbal wrote: Hi All ! I am using the follwing to compile my nesC application: make micaz sim my program compiles successfully, says: compiling PeriodicReaderAppC to object file sim.o So what I get is an object file in /build/micaz/ directory and not an

[Tinyos-help] Avr-gcc-4 TinyOs

2007-10-12 Thread Domenico Arenga
The avr-gcc-3 .3 exist in tinyOs 1.x is patched. Should I do the same with avr-gcc-4? Or wrong? Thank you very much, Domenico ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Logger works on some micaz's and not on others (all have same code)

2007-10-12 Thread David Gay
On 10/10/07, Nick Soldner [EMAIL PROTECTED] wrote: I posted earlier on this however now I have a bit more intuition as to the nature of my problem. I have an application which writes data to the micaz's 512KB flash EEPROM through the logger component. My code first resets the write pointer

Re: [Tinyos-help] tos-check-env problem

2007-10-12 Thread Ariel Mauricio Nunez Gomez
Have you just installed tinyos? If so, what installation method did you use? Did you follow all instructions from Step 5 in http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html? Ariel ___ Tinyos-help mailing list

Re: [Tinyos-help] Using tasks

2007-10-12 Thread Peizhao Hu
Ok, I will try, here. I am using TinyOS-2.x, so I will only comment on this version. Correct me if I have misunderstood. a normal C function is really like a private function to your TinyOS application (thread return until a function is finished), while a task (you can post it, thread return

Re: [Tinyos-help] tos-check-env problem

2007-10-12 Thread Peizhao Hu
check your CLASSPATH carefully. in your CLASSPATH, you should have at least something like CLASSPATH=$CLASSPATH:.:$TOSROOT/support/sdk/java/tinyos.jar where $TOSROOT of course pointing to your TinyOS root directory. regards; Peizhao Derek Tarm wrote: when I run tos-check-env in Ubuntu

Re: [Tinyos-help] TinyOs avr-gcc-4

2007-10-12 Thread Kevin Klues
We had actually talked about making this the official version supported by tinyos at one point. Are we ready to start moving towards this now? I know there were still issues with the new compiler not liking return statements inside of atomic sections though. Kevin On 10/11/07, David Gay

Re: [Tinyos-help] Logger works on some micaz's and not on others (all have same code)

2007-10-12 Thread Michael Schippling
I wonder if you have a timing race condition in your init code? Just an idea, probably nothing useful... MS Nick Soldner wrote: I posted earlier on this however now I have a bit more intuition as to the nature of my problem. I have an application which writes data to the micaz's 512KB flash

Re: [Tinyos-help] Using tasks

2007-10-12 Thread Michael Schippling
Tasks are like threads or processes. The task function gets put on an execution queue and is then fired up sometime later. The post task command returns, nearly, immediately and only indicates if the function was put on the queue successfully. MS Roberto wrote: Hi all, I read the tutorials on

Re: [Tinyos-help] send receive time

2007-10-12 Thread Kevin Klues
First off, using timers, you're not going to get very precise timing measurements. Timers inherently introduce jitter since they are run in synchronous context and are the result of a task being posted. Second, calling getNow on two separate motes doesn't necessarily correlate on some global

Re: [Tinyos-help] Re: Tinyos-help Digest, Vol 54, Issue 37

2007-10-12 Thread Kevin Klues
Right so now you need to either create a python script (or run python interactively), or write a C++ program to interact with this object file. Take a loot at tutorial 11 http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson11.html specifically at the sections entitled Running TOSSIM

Re: [Tinyos-help] Using tasks

2007-10-12 Thread Kevin Klues
You can sort of think of a task as a deferred function call. Explicitly making a function call (in the traditional sense), causes the program to jump to that function and execute the code it contains immediately. Posting a task, however, tells the program to set the function aside until all of