[Tinyos-help] Cannot receive packets from serial port

2011-11-21 Thread al face
Hi, I'm having the same problem described in https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026926.html . The TelosAmote receives because the USB Receive LED (D20) blinks. Any idea what can be the problem? ___ Tinyos-help mailing

[Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread David
Hi there. If I have a tmote sky mote (telosb), then: 1. How much storage space is there in flash? 2. If the board is upgraded with a new chip (with ability to access more storage space), then how well will TinyOS support this? I have an upcoming project where we may need to store a large

[Tinyos-help] Can't Execute python file test.py for application RadioCountToLeds

2011-11-21 Thread Kinjan Shah
Hi I am trying to execute python file test.py for *RadioCountToLeds* application. I have created python file as per instruction given on the following link http://docs.tinyos.net/tinywiki/index.php/TOSSIM It gives me output like 1 2 -54.0 2 1 -55.0 1 3 -60.0 3 1 -60.0

[Tinyos-help] Error while running Antitheft - Please define your sensorboard revision

2011-11-21 Thread Modi, Jenis Ashokkumar
Hi All, I am receiving error while running Antitheft application. P.S: I am using MPR400CB as a sensor board and MIB600CA, Ethernet Interface board. 1. As shown in instructions of AntiTheft, I am going to directory Nodes and then trying to install application using this command. make mica2

[Tinyos-help] Telosb and Android communication

2011-11-21 Thread Ashish Sharma
Hi all, Has anyone tried to establish connection between Telosb and Android device? I would like to connect the BaseStation to a Lenevo Tablet PC and read the data from its USB port. If anyone could give an idea of how to do this, it would be great. -- Regards, Ashish

Re: [Tinyos-help] Error while running Antitheft - Please define your sensorboard revision

2011-11-21 Thread Miklos Maroti
Dear Jenis, The AntiTheft application uses the MTS300 sensor board, it will not work with the MPR400. Miklos On Fri, Nov 18, 2011 at 8:23 PM, Modi, Jenis Ashokkumar jenis.m...@email.wsu.edu wrote: Hi All, I am receiving error while running Antitheft application. P.S: I am using MPR400CB as

Re: [Tinyos-help] Problem with TinyOS 2.1.1 on Ubuntu 11.10

2011-11-21 Thread Martin Stehlik
Hi Alfonso! Thank you very much for your advice! It is finally working so I am very grateful to you. Yanbo, thank you too. I know about Xubuntos wmvare image but it was not solution suitable for me. Thank you anyway. Have a nice day! Martin Alfonso Martinez wrote: Hi! I used the google

Re: [Tinyos-help] Cannot receive packets from serial port

2011-11-21 Thread Urs Hunkeler
Hi, Thanks for the detailed explanation why you posted off list. I think the list server is having a problem. Could you program the TestSerial test application on the mote, and then try the following command on Ubuntu? screen /dev/ttyUSB0 115200 This would just open the serial port and show

Re: [Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread Urs Hunkeler
Hi David, If I have a tmote sky mote (telosb), then: 1. How much storage space is there in flash? 1 MB in the external (i.e., not on the microcontroller, but on the PCB) flash. If I remember correctly, this is actually 1024*1024 bytes.

Re: [Tinyos-help] Cannot receive packets from serial port

2011-11-21 Thread András Bíró
Hi, The TelosA motes don't work with the current tinyos.jar, see this thread for details and solution: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2011-October/052670.html However, this doesn't affect the TelosB, that should work. Andris On Mon, Nov 21, 2011 at 12:59 PM, Urs

[Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread Martin Stehlik
Hello! Is anyone experienced with dynamic allocation of tables (arrays) in TinyOS? I need to store a table of neighbors in each of the nodes containing some information like RSSI of the messages coming from the neighbors etc. I do not know the number of neighbors in advance (I can discover

Re: [Tinyos-help] Question about tmote sky flash storage

2011-11-21 Thread András Bíró
Hi David, We're using 2MiB chips (ST M25P16) on the ucmini motes, and it works fine, with almost no changes. The only problem was the tos-storage-stm25p script (which generates the StorageVolumes.h from the xml file), becouse it fails with chips bigger than 1MiB. This was solved in the svn, by

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread András Bíró
Hi Martin, If I understood correctly, the reason for not recommending dynamic memory in tinyos is that there's no memory protection at all. Your data memory grows from one side of the memory, and the stack grows from the other side, if they're overlap, that could cause a hardly understandable

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread Martin Stehlik
Hi Andris, Thank you for your answer! You understood correctly and I am aware of the reason why I should not allocate the memory dynamically. Thus, I will probably set the size of the data at compilation-time. Is there any method how I can find out the available amount of the hardware memory?

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread András Bíró
Hi Martin, The memory size should be in the datasheets. If it's not in the platform datasheet, then check the microcontroller's datasheet (it's usually about 2-10kB). Andris On Mon, Nov 21, 2011 at 2:15 PM, Martin Stehlik stehli...@atlas.cz wrote: Hi Andris, Thank you for your answer! You

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread Martin Stehlik
Hi Andris, Thank you. I know the overall amount of memory but I do not know how much is remaining (can be used) for the table. Nevertheless, I have some idea now. The main point was to ensure myself that using dynamic allocation is not good method and I should avoid it. Thank you very much.

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread András Bíró
Hi Martin, After compilation tinyos prints the ram/rom usage of tha application with the gnu size util (or avr-size or msp430-size, depending on your platform). As I mentioned earlier ram is not really precise, I usually leave about 10% of the memory free (available for stack), and I never had

Re: [Tinyos-help] Managing table with neighbors - dynamic allocation

2011-11-21 Thread Martin Stehlik
Hi Andris, Ok, thank you for the valuable information! Martin Original Message Subject: Re: [Tinyos-help] Managing table with neighbors - dynamic allocation From: András Bíró bband...@gmail.com To: Martin Stehlik stehli...@atlas.cz Cc: tinyos-help@millennium.berkeley.edu

[Tinyos-help] Question regarding scheduler modification

2011-11-21 Thread Sobit Thapa
Dear all, I am trying to modify tinyos scheduler. If I use Active message components in TinyScheduler, it is not compiled. I have made new component and tried to use it which provides Radio functionality to scheduler. Still, It also doesn't work and gives same error message when I call from

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-11-21 Thread HamidRafiei
Hi Rubenalia, I am working on the same thing, I am trying to simulate CTP+LPL for micaz on Avrora without any sensorboard or security plan. I cannot verify that LPL is working properly. I wonder how you have simulated CTP+LPL? did you change the codes for CTP and insert some LPL commands per

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-11-21 Thread HamidRafiei
Hi Rubenalia, I am working on the same thing, I am trying to simulate CTP+LPL for micaz on Avrora without any sensorboard or security plan. I cannot verify that LPL is working properly. I wonder how you have simulated CTP+LPL? did you change the codes for CTP and insert some LPL commands per