Re: [Tinyos-help] Couple of questions about RSSI and UART Receive

2012-04-09 Thread Bíró , András
Hi, First of all, if you haven't did it already, go through this tutorial: http://docs.tinyos.net/tinywiki/index.php/Mote-PC_serial_communication_and_SerialForwarder After that, if you're familiar with java, check the app $TOSROOT/apps/test/TestSerial and the tinyos.jar source at

Re: [Tinyos-help] Unknown target micaz Known targets for TinyOS directory $(TOSROOT)/tos and the specified include directories are: none. make: *** [sim-exe] Error 2

2012-04-01 Thread Bíró , András
Hi, TOSROOT should be set before any other variable which uses it. Andris On Thu, Mar 29, 2012 at 8:29 AM, 柴晓萌 ustb@gmail.com wrote: I'm a Chinese student,and I'm sorry for my English speaking. I'm new in TinyOS.I have a problem when I run make micaz sim, I'm using cygwin under Win7.I

Re: [Tinyos-help] TOSSIM compile error

2012-04-01 Thread Bíró , András
On Fri, Mar 30, 2012 at 8:09 PM, Javier M Mora jmm...@us.es wrote: On Fri, 30 Mar 2012 14:16:03 -0400 Newlyn Erratt new...@erratt.com wrote: I am currently attempting to setup TinyOS on a new machine on OpenSUSE 12.1 and am running into a minor issue.  Compilation works fine for both Micaz

Re: [Tinyos-help] TinyOS + STM32 + Silabs Si4432

2012-03-29 Thread Bíró , András
Hi Oleg, The silabs driver from szte-wsn is not ready to use, we had some hardware bug, and we couldn't really test it. We want to finish it, but right now we have more important projects. Andris On Wed, Mar 28, 2012 at 1:44 PM, Oleg Trenkin legotro...@gmail.com wrote: Hi All, I want to use

Re: [Tinyos-help] TinyOS reading from UART byte per byte

2012-03-29 Thread Bíró , András
Hi, You should use the UartStream/UartByte interfaces provided by PlatformSerialC. Andris On Wed, Mar 28, 2012 at 2:34 AM, Jan Ebora j3b...@gmail.com wrote: Hello, I'm just wondering how would one go about reading bytes from the uart and changing baud rate. There is barely any tutorials on

Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial

2012-03-27 Thread Bíró , András
Hi, I think the windows CLASSPATH format is different: It uses ; (semicolon) instead of : (colon), and \ (backslash) instead of / (slash). Andris On Tue, Mar 27, 2012 at 4:35 PM, tifenn.ra...@etu.utc.fr wrote: Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial

[Tinyos-help] deluge improvement questions

2012-03-24 Thread Bíró , András
Hi Guys, Our company is planning to use deluge for remote programming, but we have some problems with it, and we're wandering if someone improved it or someone is improving it. Our problems: -Rollback feature would be nice. I know it could be achieved with the three images, but it could be done

Re: [Tinyos-help] Different compilers within the same TinyOS-2.1

2011-10-26 Thread Bíró András
You can install the packages with rpm -ivh --ignoreos --force, this will overwrite the conflicting files. Andris On Wed, Oct 26, 2011 at 12:24 PM, David Rodenas Herráiz drod...@hotmail.com wrote: Thanks Eric. I had some problems installing the xscale compiler (for Imote2): rpm -ivh --ignoreos

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-26 Thread Bíró András
Hi Luis, I had similar problems with telosa motes, and I don't know what caused the problem, or how to resolve it, but I found a workaround. Unofrtunatly it only worked on windows (xp)+cygwin: Before opening the serial port with the tinyos java apps, I opened it with rxtx

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-26 Thread Bíró András
the usb port with rxtx to see what happen..can you send me what program you use to do that? Thanks for your help Luís Pereira 2011/10/26 Bíró András bband...@gmail.com Hi Luis, I had similar problems with telosa motes, and I don't know what caused the problem, or how to resolve it, but I found

Re: [Tinyos-help] help please

2011-10-25 Thread Bíró András
Hi Hau! You should compile the JNI libraries for your platform (it's precompiled in the tinyos-tools package, but only for x86 platforms), and add it to your java libraries. You can found it in /tools/tinyos/java/env and /tools/tinyos/java/serial. But I think it's easier to compile the c version

Re: [Tinyos-help] TinyOS setup problem

2011-10-13 Thread Bíró András
Hi Max, That avr-gcc is really old. Try to reinstall every avr related package from this repository: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main Andris On Thu, Oct 13, 2011 at 2:06 PM, Morgan Reeves abelianchamel...@hotmail.com wrote: Hi Everyone, I have spent the last 3

Re: [Tinyos-help] TinyOS setup problem

2011-10-13 Thread Bíró András
Hi, On Thu, Oct 13, 2011 at 8:00 PM, Andrew Sabelhaus asabe...@umd.edu wrote: Hi Max, From that error message, it seems your issue is now with ncc (the nesC compiler.) Even though you updated your avr-gcc packages, did you do the same with ncc? The TinyOS wiki should have details for

Re: [Tinyos-help] TinyOS setup problem

2011-10-13 Thread Bíró András
Hi Max, On Fri, Oct 14, 2011 at 2:21 AM, Morgan Reeves abelianchamel...@hotmail.com wrote: Hi again, I followed Andrew's suggestion, but I had already updated everything: maxwell@XXX:~$ nescc --version nescc: 1.3.3 gcc: gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 Copyright (C) 2009 Free Software

Re: [Tinyos-help] net.tinyos.tools.Listen and Micaz

2011-10-11 Thread Bíró András
Hell Sghaier, You're probably using a mib520 programming board, which has two virtual serial port, the first one for programming, the second one for communicating. If you have no other usb serial device, then you should listen on ttyUSB1. Andris On Tue, Oct 11, 2011 at 6:24 PM, Nouha Sghaier

Re: [Tinyos-help] Interfacing with iris motes

2011-10-10 Thread Bíró András
Hi, You will need the file tos/platforms/mica/MicaBusC.nc. This config provides almost all the pins as GeneralIO, and gives you 8 ADC. There's also an i2c, spi and usart, which you can use directly from the mcu driver. Andris On Mon, Oct 10, 2011 at 5:09 PM, srikanth pasumarthy

Re: [Tinyos-help] Interfacing with iris motes

2011-10-10 Thread Bíró András
/10 srikanth pasumarthy pasumarthysrika...@gmail.com: Hi Andris,    Thank you very much for quick reply and information.    Can you share with me any materials/tutorials/examples which involves usage of any of these 51 pins. Srikanth. 2011/10/10 Bíró András bband...@gmail.com Hi, You

Re: [Tinyos-help] about micaz

2011-09-28 Thread Bíró András
Hi Mohamed, The transmit power of the cc2420 (and any 802.15.4 chip) is really low: 0dBm=1mW (about 0.3mA at 3.3V). However a received packet needs much more signal processing then a transmitted one (check the block diagram:

Re: [Tinyos-help] Problems faced while Compiling RadioCountToLeds for the rfa1 platform

2011-08-23 Thread Bíró András
Hi Sohail, If you're using the rfa1 codes of Philip Sommer or us (szte-wsn.sf.net), you should use it with tinyos-svn. Andris 2011/8/23 soahil shuaib ceme_...@yahoo.com: Dear All, I am compiling the RadioCountToLeds app for the rfa1 platform for the radio performance. I encountered many

Re: [Tinyos-help] Problems faced while Compiling RadioCountToLeds for the rfa1 platform

2011-08-23 Thread Bíró András
of platforms, i could not find any platforms of rfa1. Neither was there there atmrfa1 under the head of chips. Would you give the address where i can find tinyos svn. Thanks and regards, Sohail From: Bíró András bband...@gmail.com To: soahil shuaib ceme_

Re: [Tinyos-help] Has anyone used AVRISP mk2 with tinyos?

2011-08-19 Thread Bíró András
Sorry, thats my mistake, I forgot to install libusb-dev before compiling avrdude. Here are the recompiled packages with usb support: http://shell.sch.bme.hu/~biroandris/pkg/ They will also be in the repository soon. Andris 2011/8/19 soahil shuaib ceme_...@yahoo.com: Dear Janos Sallai, As per

Re: [Tinyos-help] Has anyone used AVRISP mk2 with tinyos?

2011-08-18 Thread Bíró András
Sohail, I think the avrdude in the stanford repository (5.10) has usb support. At least I used it with -Pusb for avrdragon. Andris On Thu, Aug 18, 2011 at 11:22 AM, soahil shuaib ceme_...@yahoo.com wrote: Dear Mr. Janos, Thank you for the information. Tinyos uses avrdude for programming avr

Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer version?

2011-08-17 Thread Bíró András
Hello, Sohail. 2011/8/17 soahil shuaib ceme_...@yahoo.com: Dear Andris, Thank you for the detailed information. At the university lab i have the karnic distribution of ubuntu. The new packages will only work on lucid (10.04) and newer (the older distros are unsopported by canonical too). For

Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer version?

2011-08-16 Thread Bíró András
Hello! Use this repository: http://tinyos.stanford.edu/tinyos/dists/ubuntu/ It has a patched toolchain with rfa1 support. Upgrading gcc may cause problems (better optimisation reveals unfixed bugs in tinyos), but it's needless for rfa1 support. Binutils and gcc only have to know that rfa1 uses

Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer version?

2011-08-16 Thread Bíró András
Hello, First of all, your original problem: You need to remove the tinyos avr toolchain to install an other one (avr-binutils-tinyos, etc). Sorry, I should have write this in my previous mail. 2011/8/16 Martin Cerveny mar...@c-home.cz: Hello. On Tue, 16 Aug 2011, Bíró András wrote

Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer version?

2011-08-16 Thread Bíró András
From: Bíró András bband...@gmail.com To: soahil shuaib ceme_...@yahoo.com Cc: tinyos-help@millennium.berkeley.edu tinyos-help@millennium.berkeley.edu Sent: Tuesday, August 16, 2011 3:34 PM Subject: Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer version

Re: [Tinyos-help] How to upgrade avr-gcc in tinyos to a newer version?

2011-08-16 Thread Bíró András
mentioned earlier (http://tinyos-main.googlecode.com/svn/trunk/tools/avr-toolchain/). Andris 2011/8/16 Bíró András bband...@gmail.com: Hello Sohail, 2011/8/16 soahil shuaib ceme_...@yahoo.com: Dear Andris, Thank you very much for the information. Let me take some more guidance and help from

Re: [Tinyos-help] TinyOS with msp-gcc-4.4.2: no known targets

2011-08-11 Thread Bíró András
Hello Tobe, If you installed tinyos 2.1.1 from a debian package, your TOSROOT should point to /opt/tinyos-2.1.1 I don't have much experience with the msp430 platforms, but I had problems with newer gcc on avr (some chips didn't work) Andris On Thu, Aug 11, 2011 at 2:26 PM, Klunz

Re: [Tinyos-help] How to build updated toolchain for AVR8

2011-08-08 Thread Bíró András
Hello! You could use the newest toolchain, there won't be any compilation errors, but some code doesn't work with that, probably becouse the better optimization in gcc (I had problems with the rf230 radio and the at45db flash chips). Current toolchain: binutils 2.17; gcc 4.1.2; avr-libc 1.4.7,

Re: [Tinyos-help] How to sample the light sensor?

2011-07-14 Thread Bíró András
2011/7/11 Bíró András bband...@gmail.com 2011/7/11 Geo Gkolfin geo198...@gmail.com: So I will use it as described in tinyos-2.1.0/tos/sensorboards, right? I don't have this file, so I don't know. But check the /apps/test library, it's a good place to start, if there's no documentation

Re: [Tinyos-help] How to sample the light sensor?

2011-07-11 Thread Bíró András
Then it depends on the sensorboard: If you're using mts3xx or mts1xx, it's called PhotoC. On mts400 it's called Taos2550C. Andris On Mon, Jul 11, 2011 at 8:14 PM, Geo Gkolfin geo198...@gmail.com wrote: I am using iris motes... ___ Tinyos-help

Re: [Tinyos-help] Any new development for the Atmega128RFA1?

2010-11-20 Thread Bíró András
Hello! First of all, sorry for the late answer. We're and Philipp Sommer is working on it: http://szte-wsn.svn.sourceforge.net/ https://github.com/phsommer/tinyos-main/ In our version (szte-wsn), the radio (only basic oparation mode), i2c, uart and timers are working and tested. We're using

Re: [Tinyos-help] mig generates crap code

2010-09-14 Thread Bíró András
one facing this problem. Best regards, Jimmy 2010/9/10 Bíró András bband...@gmail.com Hi, I had this problem too, the generated code had methodes like this: public static boolean isSigned_nx_struct ctrl_msg 10 96() My solution was to downgrade to perl 5,10.x, but I will try your patch

Re: [Tinyos-help] mig generates crap code

2010-09-10 Thread Bíró András
Hi, I had this problem too, the generated code had methodes like this: public static boolean isSigned_nx_struct ctrl_msg 10 96() My solution was to downgrade to perl 5,10.x, but I will try your patch. Andras Biro On Fri, Sep 10, 2010 at 5:52 PM, Chih-Ming Hsieh hsieh@googlemail.com wrote:

[Tinyos-help] sendDone() never called

2008-10-15 Thread Bíró András
Hello, I'm new in tinyos, and get that problem in the RadioCountMsg tutorial program with the packets.py TOSSIM script. I used the meyer-heavy.txt for the noise model and my topo.txt is this: 1 2 -54.0 2 1 -55.0 1 3 -60.0 3 1 -60.0 2 3 -64.0 3 2 -64.0 just like in the tutorial. And the