Re: [Tinyos-help] Mcu sleep interface

2015-04-05 Thread András Bíró
Hi, I guess this app is just a forgotten test for a non-existent interface. Sleep is handled automatically by the task scheduler: If there's no task, tos/system/SchedulerBasicP.nc will call McuSleepC.nc (platform dependent, usually /tos/chips/yourmcu/McuSleepC.nc via the sleep command of the

Re: [Tinyos-help] stuck at verifying flash stage when load program on micaz

2015-03-31 Thread András Bíró
Hi, You're wrong, most node has two flash memory: one in the mcu, the program memory of the atmega128l in your case, and one external for user storage in the at45db chip. The example codes are using the second one, and make install writes the first one. This error usually happens if there is some

Re: [Tinyos-help] SFD pin of CC2420 is NOT going into active state -during reception - telosb

2015-03-26 Thread András Bíró
Hi, Are you sure it's 2.45GHz? It should be 2.48GHz (channel 26, 2.45 is channel 20) - that can be a problem. Andris On Thu, Mar 26, 2015 at 5:23 PM, jobishjohn ips jobishjohn@gmail.com wrote: Hi, Sorry for the inconvenience due to a lengthy mail. Requesting you to spent 2 minutes on

Re: [Tinyos-help] SFD pin of CC2420 is NOT going into active state -during reception - telosb

2015-03-26 Thread András Bíró
, Mar 26, 2015 at 11:20 PM, András Bíró andras.b...@ucmote.com wrote: Hi, Are you sure it's 2.45GHz? It should be 2.48GHz (channel 26, 2.45 is channel 20) - that can be a problem. Andris On Thu, Mar 26, 2015 at 5:23 PM, jobishjohn ips jobishjohn@gmail.com wrote: Hi, Sorry

Re: [Tinyos-help] counting the duration of a pulse

2015-01-25 Thread András Bíró
Hi, The simplest way is probably LocalTimeMicroC, e.g.: uint32_t time; atomic{ //you don't want interrupts to mess up with the timing call samplePin.makeOutput(); //make the pin an output call samplePin.set(); //start ranging call delay.wait (5); //for 5 micro seconds call

[Tinyos-help] BLIP 2.0 working on RF230/RFA1

2015-01-15 Thread András Bíró
on any rfxlink radios which have HwAck (and address matching) driver layer. Best, András Bíró ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Change-suggestion for atm128rfa1 RadioDriverLayer to make it safe to use for atmega64/128/256rfr2

2014-10-20 Thread András Bíró
Hi Andreas, I see you're reasons, but I disagree. This bit on the RFA1 is reserved, it's very ugly to use it. There are other small changes in the radio registers, and not all can be worked around with such tricks (for example the PA_LT bits moved to an other register). I think the proper

Re: [Tinyos-help] rfa1 acknowledgements

2014-10-10 Thread András Bíró
acks with blip1/2 Blip2 doesn't work with rfxlink, therefor it doesn't work with rfa1 or rf230. However I've seen some blip2/rfxlink patch that worked, and it didn't needed hwack driver. Andris Best regards, Elena Chervakova Am 08.10.2014 17:53, schrieb András Bíró: Hi Elena, You're

Re: [Tinyos-help] rfa1 acknowledgements

2014-10-08 Thread András Bíró
Hi Elena, You're right, there's no hw-ack driver for the rfa1. There's no specific reason behind it, we just didn't really need it when we ported the rf230 driver for rfa1. But it should be quite easy to do this with the help of the existing soft-ack driver. If you want to do this, please share

Re: [Tinyos-help] Question

2014-10-07 Thread András Bíró
ran one of the codes: make: ncc: Command not found /opt/tinyos-main-master/support/make/avr/avr.rules:148: recipe for target 'exe0' failed make: *** [exe0] Error 127 Is there any help or advice to solve this? BR. -- *From:* András Bíró [andras.b...@ucmote.com

Re: [Tinyos-help] Question

2014-10-01 Thread András Bíró
. *From:* András Bíró [mailto:andras.b...@ucmote.com] *Sent:* Tuesday, September 30, 2014 4:55 PM *To:* IBRAHIM AHMED NEMER *Cc:* tinyos forum *Subject:* Re: [Tinyos-help] Question Hi, First of all, the new toolchain will be only supported in tinyos 2.2 (or whatever will be the version

Re: [Tinyos-help] Question

2014-09-30 Thread András Bíró
Hi, First of all, the new toolchain will be only supported in tinyos 2.2 (or whatever will be the version of the next release), so it only works with the developement tree right now. The cygwin-files.zip method installs an ages old cygwin, I recommend to uninstall it, and install cygwin based on

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread András Bíró
on it. Ugo 2014-09-01 13:28 GMT+02:00 András Bíró andras.b...@ucmote.com: Hi Guys, Fastserial doesn't provide faster communication, it's just using much less blocking (atomic) segments, so it doesn't mess up important interrupts. This is very useful when you want to use it as a really fast

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-04 Thread András Bíró
default behavior? Ugo 2014-09-04 12:48 GMT+02:00 András Bíró andras.b...@ucmote.com: You're on a good track, but you deleted the wrong file. You should replace libtoscomm.so. If you compiled and installed tinyos-tools from source, just run sudo tos-install-jni. Or you can do it by hand

Re: [Tinyos-help] Efficient ways to dump LogStorage

2014-09-01 Thread András Bíró
Hi Guys, Fastserial doesn't provide faster communication, it's just using much less blocking (atomic) segments, so it doesn't mess up important interrupts. This is very useful when you want to use it as a really fast basestation. You can turn it on with the fastserial extra (e.g. make iris

Re: [Tinyos-help] blip with iris

2014-08-28 Thread András Bíró
files. Andris -- Best regards, Alex. 在 2014-08-27 11:36:46,András Bíró andras.b...@ucmote.com 写道: Hi Alex, Blip doesn't work with any rfxlink radio, and the rf230 on iris uses rfxlink. There were patches about this, some of them seemed the work (search the list), but non of them

Re: [Tinyos-help] new avr toolchain

2014-08-27 Thread András Bíró
scratch On Thu, Jul 24, 2014 at 6:03 AM, András Bíró andras.b...@ucmote.com wrote: I have no idea, it worked for me without problem. Could you try a clean install (ideally a new cygwin installation)? Andris On Thu, Jul 24, 2014 at 5:00 AM, Roadstar Runner redstripe...@gmail.com wrote

Re: [Tinyos-help] blip with iris

2014-08-27 Thread András Bíró
Hi Alex, Blip doesn't work with any rfxlink radio, and the rf230 on iris uses rfxlink. There were patches about this, some of them seemed the work (search the list), but non of them was merged. Andris On Tue, Aug 26, 2014 at 3:36 AM, Alex mmz_tin...@yeah.net wrote: Hi, anyone who cares

Re: [Tinyos-help] blip 1 with iris

2014-08-27 Thread András Bíró
Hi again :) Blip1 worked with iris, but for a very short period. It was fixed a few months before blip2 was merged. Andris On Tue, Aug 5, 2014 at 9:58 AM, Alex mmz_tin...@yeah.net wrote: Hi, anyone who conerns Have you ever used blip 1 with iris mote? I compiled the source in the

Re: [Tinyos-help] new avr toolchain

2014-07-24 Thread András Bíró
trying to find the cause. Please let me know if you have any suggestions On Thu, Jul 10, 2014 at 11:00 AM, András Bíró andras.b...@ucmote.com wrote: I also added an updated avrdude for cygwin, please check my last comment on the github issue: https://github.com/tinyos/tinyos-main/issues/293

Re: [Tinyos-help] Error try to clone 'tinyos-main' through git.

2014-07-17 Thread András Bíró
Hi Alex, Raspberry pi is not supported by tinyos. Only PC-based platforms (i386 and amd64) are supported. Andris On Thu, Jul 17, 2014 at 6:20 PM, Alex CP cpa9...@gmail.com wrote: Dear Alex MMZ. Finally download the TinyOS package following your steps. ( I've added this command line to

Re: [Tinyos-help] new avr toolchain

2014-07-10 Thread András Bíró
I also added an updated avrdude for cygwin, please check my last comment on the github issue: https://github.com/tinyos/tinyos-main/issues/293 Andris On Wed, Jun 25, 2014 at 10:40 AM, András Bíró andras.b...@ucmote.com wrote: For some reason I had to use tinyos in virtualbox once, but the usb

Re: [Tinyos-help] new avr toolchain

2014-06-25 Thread András Bíró
issues. Phil On Jun 20, 2014, at 4:37 AM, András Bíró andras.b...@ucmote.com wrote: Hi Everyone, I'm finally done with updating the avr toolchain, and I'm happy to announce a beta release. Installation on debian/ubuntu/any dpkg based distro: #apt-get remove avr-tinyos-base #apt

Re: [Tinyos-help] new avr toolchain

2014-06-25 Thread András Bíró
a few TinyOS users out there using cygwin. Is there a way to tell NesC to use windows style paths ? On Fri, Jun 20, 2014 at 1:14 PM, András Bíró andras.b...@ucmote.com wrote: Sorry, you are right, and I didn't realize you were talking about the binary toolchain when you first mentioned

[Tinyos-help] new avr toolchain

2014-06-20 Thread András Bíró
Hi Everyone, I'm finally done with updating the avr toolchain, and I'm happy to announce a beta release. Installation on debian/ubuntu/any dpkg based distro: #apt-get remove avr-tinyos-base #apt-get install avr-libc-tinyos-beta Revert to the old toolchain: #apt-get remove avr-tinyos-base

Re: [Tinyos-help] new avr toolchain

2014-06-20 Thread András Bíró
on Cygwin because of cygwin/linux path syntax problems. I get an error avr-gcc.exe: error: /usr/lib/ncc/tdspecs: No such file or directory even though the file is present. On Fri, Jun 20, 2014 at 7:37 AM, András Bíró andras.b...@ucmote.com wrote: Hi Everyone, I'm finally done

Re: [Tinyos-help] Is TinyOS slowly dying ????

2014-06-03 Thread András Bíró
, András Bíró andras.b...@ucmote.com wrote: You're basicly asking for a compiler update, which is a painful and time consuming task. I'm responsible for the avr toolchain, but as the name suggests, it's just a tool, and I rather work on tinyos softwares than tools. I only do this, because nobody

Re: [Tinyos-help] Is TinyOS slowly dying ????

2014-05-30 Thread András Bíró
You're basicly asking for a compiler update, which is a painful and time consuming task. I'm responsible for the avr toolchain, but as the name suggests, it's just a tool, and I rather work on tinyos softwares than tools. I only do this, because nobody else does. The gcc 4.8 based beta toolchain

Re: [Tinyos-help] Battery status monitoring using TinyOS

2014-05-30 Thread András Bíró
Hi, Think about what the ADC reading means. It's a 10 bit adc. You have a maximum amplitude of 14. That's 3*14/4096=0.01V. That's not much, you probably don't need more precision. The reason of this can be faulty measure, yes. The ADC in these MCUs are usually better than this, but the wiring

Re: [Tinyos-help] Battery status monitoring using TinyOS

2014-05-30 Thread András Bíró
On Fri, May 30, 2014 at 11:09 AM, András Bíró andras.b...@ucmote.com wrote: Hi, Think about what the ADC reading means. It's a 10 bit adc. You have a maximum amplitude of 14. That's 3*14/4096=0.01V. That's not much, you probably don't need more precision. The reason of this can be faulty

Re: [Tinyos-help] Bug fix - compiling avr gcc toolchain for TinyOS

2014-05-13 Thread András Bíró
Hi, What change do you need? The current packages was built with this: https://github.com/tinyos/tinyos-main/tree/master/packaging/avr-41 But we started moving to a newer toolchain, it might be easier to use that: https://github.com/tinyos/tinyos-main/issues/278 Best, Andris On Tue, May 13,

Re: [Tinyos-help] Bug fix - compiling avr gcc toolchain for TinyOS

2014-05-13 Thread András Bíró
Hi guys, No need to build the atmel toolchain, it's easier to grab to binary version. I used the v3.4.3 for a few times, I didn't have any problem. Actually, it's not that easy to build the atmel toolchain as it was in the winavr days, the libc howto is for the gnu version, it won't work with the

[Tinyos-help] motelist2

2014-05-08 Thread András Bíró
Hi everyone, I just pushed some new tool I've been using for a while to the tinyos repository. One of this is motelist2. The difference between motelist and motelist2: -motelist is perl based (and cpp on win), motelist2 is python based (p3 compatible) -motelist searches for hardcoded VID/PID,

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

2014-04-23 Thread András Bíró
. Thanks for answers. On Tue, 22 Apr 2014, András Bíró wrote: Is there some progress or stable/final/tested code for Atmel newer RF chips on ZigBit (ATZB) modules ? We used the ATZB900 and ATZB24 modules without a problem, with a new platform of course. We dropped the atzb24 in favor

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

2014-04-23 Thread András Bíró
On Wed, Apr 23, 2014 at 4:26 AM, András Bíró andras.b...@ucmote.comwrote: On Wed, Apr 23, 2014 at 1:08 AM, 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

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

2014-04-22 Thread András Bíró
Hi Martin, On Sun, Apr 20, 2014 at 6:09 PM, Martin Cerveny mar...@c-home.cz wrote: Hello. Is there some progress or stable/final/tested code for Atmel newer RF chips on ZigBit (ATZB) modules ? We used the ATZB900 and ATZB24 modules without a problem, with a new platform of course. We

Re: [Tinyos-help] Error in compiling java environment

2014-04-18 Thread András Bíró
Hi, You can also use ant to compile the java sdk. I think it works better, but I didn't used any of it for a while. Andris On Mon, Apr 14, 2014 at 4:28 PM, kh sabrine sabrine...@gmail.com wrote: Hi everyone, I installed Tinyos 2.1 in my windows XP 32 bit, i followed all the installation

Re: [Tinyos-help] Help regarding SHT21 sensor

2014-04-08 Thread András Bíró
Hi Antonis, What platform are you using? What is DHT21? I couldn't find anything about it.. Best, Andras Biro http://ucmote.com On Tue, Apr 8, 2014 at 6:22 PM, Antonis Tzounis atzou...@gmail.com wrote: Hello, I am trying to use SHT21 sensor, but there are errors both in my configuration

Re: [Tinyos-help] ΠΡΟΣ: Re: Help regarding SHT21 sensor

2014-04-08 Thread András Bíró
is sold as SHT replacement. The ones I have use one cable for data. Αρχικό μήνυμα Από: András Bíró andras.b...@ucmote.com Ημερομηνία: 08/04/2014 21:10 (GMT+02:00) Προς: Antonis Tzounis atzou...@gmail.com Κοιν.: tinyos forum tinyos-help@millennium.berkeley.edu Θέμα: Re

Re: [Tinyos-help] Deluge T2 on Shimmer2r plataform

2014-04-07 Thread András Bíró
Sending again from my tinyos-help subscribed address. On Mon, Apr 7, 2014 at 6:51 PM, András Bíró andras.b...@unicomp.hu wrote: Hi Emanual, Yes, I did port deluge to some atm128rfa1/stm25p platform, but I'm not familiar with msp430. I think shimmer2r doesn't have any integrated flash, just

Re: [Tinyos-help] Question about changing udev rules

2014-04-03 Thread András Bíró
Hi, This is my tinyos related udev rule, might be helpful: http://pastebin.com/Rh3JAx1H The ENV{ID_MM_DEVICE_IGNORE}=1 is for the modemmanager, the otherwise it tries to configure the mcp2200 ports as gsm modems. (I don't think the GROUP=users part is needed) Andris On Thu, Apr 3, 2014 at

Re: [Tinyos-help] Bootloader for TelosB mote

2014-02-24 Thread András Bíró
Hi, I think it's integrated in the chip. It's called bootstrap loader (bsl). There's quite a lot of documentation at TI's sites, eg: http://processors.wiki.ti.com/index.php/BSL_%28MSP430%29 Best, Andras Biro http://ucmote.com On Mon, Feb 24, 2014 at 2:34 PM, Premkumar Arumugam

Re: [Tinyos-help] raspberry pi + TinyOS

2013-10-02 Thread András Bíró
, András Bíró andras.b...@ucmote.comwrote: raspberry pi armhf Hi Andras, I am facing the exact problem as explained above. I need some pointers on how to install libtoscomm and libgetenv for Raspbery pi arch Linux! Will very much appreciate your efforts. BR, -- Wasif Masood

Re: [Tinyos-help] Installing on Windows 7

2013-09-16 Thread András Bíró
A late answer for the archives: I created earlier a detailed cygwin package selection guide on the wiki: http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_up_to_date_Cygwin Andris On Fri, Aug 23, 2013 at 3:29 PM, Guilherme Politta guilhermepoli...@gmail.com wrote: I use windows 7

Re: [Tinyos-help] any documentation on tasklets?

2013-07-03 Thread András Bíró
GitHub supports MediaWiki markdown, so it should be just a copy-paste of the source. Test: https://github.com/andrasbiro/tinyos-main/wiki/test I guess it wouldn't be that hard to copy all the pages from here: http://sing.stanford.edu/tinyos-wiki/index.php/Special:AllPages It seems this doesn't

Re: [Tinyos-help] [Tinyos-devel] jni cross-compiling

2013-05-19 Thread András Bíró
PM, András Bíró wrote: I don't think it's necessary. It's much simpler (and in my opinion it's even nicer) to create platform dependent packages (actually, tinyos-tools is platform dependent since about v1.4.1) Andris On Wed, Apr 24, 2013 at 11:26 PM, Philip Levis p...@cs.stanford.edu

Re: [Tinyos-help] Programming Lotus Motes

2013-04-25 Thread András Bíró
It will be a really big project to use the cortex drivers by Thomas Schmidt. It's developed for Atmel's SAM3S/SAM3U, and while it has the same cortex core as the lotus mote's LPC17xx, the integrated peripherials (adc, digital buses, timers, etc) are probably quite different.. On top of that, those

Re: [Tinyos-help] tos-bsl: command not found

2013-04-24 Thread András Bíró
Hi, You should installl tinyos-tools as well! Andras Biro http://ucmote.com On Mon, Apr 15, 2013 at 8:39 PM, si1versurfer2010-tin...@yahoo.com si1versurfer2010-tin...@yahoo.com wrote: Hi, I installed tinyos 2.1.2 on ubuntu 11.10 according to this tutorial:

Re: [Tinyos-help] Node platform based on 128RFA1

2013-04-04 Thread András Bíró
Hi Christian, If you plan to use RFR2: It should be almost completly compatible with the RFA1, but I will try it soon. Andras Biro http://ucmote.com On Thu, Apr 4, 2013 at 1:06 AM, Johny Mattsson jmatts...@dius.com.auwrote: On 4 April 2013 01:26, Miklos Maroti mmar...@math.u-szeged.hu

Re: [Tinyos-help] about I2C on atmega128

2013-03-27 Thread András Bíró
Hi, It would do exactly what you want. Andris On Tue, Mar 26, 2013 at 12:47 PM, mamzh i-m-a...@hotmail.com wrote: Hi, anyone who cares I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using I2C protocol. I2C has some flags such as I2C_START,

Re: [Tinyos-help] tinyos efficiency

2013-03-27 Thread András Bíró
Hi, TinyOS uses 50kHz I2C, but you can use 100kHz i2c on most devices and 400kHz on some. Unfortunatly, there's no nice way to change the bitrate, you must change it in /tos/chips/atm128/HplAtm128I2CBusP.nc (TWBR register) Andris On Sun, Mar 24, 2013 at 2:36 AM, He Dajiang (I2R)

Re: [Tinyos-help] software reset micaz

2013-03-21 Thread András Bíró
Hi, Check this out: https://github.com/tinyos/tinyos-main/blob/master/tos/platforms/ucmini/SerialResetP.nc The important part is from line 73 to 78. Btw, I'm planning to create a watchdog/reset module to /tos/chips/atm128 Andris On Thu, Mar 21, 2013 at 3:59 AM, He Dajiang (I2R)

Re: [Tinyos-help] Radio Sleep in tinyos

2013-03-18 Thread András Bíró
Hi, Check how low power listening works: http://www.tinyos.net/tinyos-2.1.0/doc/html/tep105.html If you want to send packages, it turns on the radio no matter how much the LocalSleepInterval is. Oh, and sending the email twice doesn't cause faster reply... Andris On Mon, Mar 18, 2013 at 8:02

Re: [Tinyos-help] Debugging IRIS motes

2013-03-08 Thread András Bíró
. It certainly does support the ATMega1281 though. Janos On Fri, Mar 8, 2013 at 12:57 AM, András Bíró andras.b...@ucmote.com wrote: Not any JTAG programmer, JTAG ICE wouldn't work, because it doesn't support Atmega1281. But AVR Dragon is relatively cheap, and it works. Andris On Thu, Mar 7

Re: [Tinyos-help] Debugging IRIS motes

2013-03-07 Thread András Bíró
Not any JTAG programmer, JTAG ICE wouldn't work, because it doesn't support Atmega1281. But AVR Dragon is relatively cheap, and it works. Andris On Thu, Mar 7, 2013 at 8:11 PM, Janos Sallai sal...@isis.vanderbilt.eduwrote: Michal: Any JTAG programmer should work that works with AVR Studio

Re: [Tinyos-help] rpm not found

2013-03-05 Thread András Bíró
Hi Guys, Well, there's experimental support (Eric you should know about it, I sent you this link in January...) for msp430 on cygwin: https://www.dropbox.com/sh/h45q95piu0zskmb/Y_ivDN6hsk/munka/msp430 I don't think there's any problem with it, but noone really tested (I only compiled some very

Re: [Tinyos-help] raspberry pi + TinyOS

2013-02-19 Thread András Bíró
On Tue, Feb 19, 2013 at 3:50 PM, Janos Sallai sal...@isis.vanderbilt.eduwrote: It doesn't work, because the tinyos packages haven't been built for arm. If you want to do development (i.e. compiling tinyos applications, programming motes) on the raspberry pi, you will need to build everything

Re: [Tinyos-help] I2C read and write API

2013-02-15 Thread András Bíró
Hi Guys, No it doesn't have new implementation (but it will be soon). However, I fixed a lot of bugs in the atm128 i2c driver, trust me, it works. We're using it with a lot of chips. What is the chip you're trying to use? Andris On Wed, Feb 13, 2013 at 4:08 PM, Miklos Maroti

Re: [Tinyos-help] blip 2.0 telosb

2013-01-25 Thread András Bíró
Hi Konrad, TinyOS is officially moved to github: https://github.com/tinyos/tinyos-main I think the repository is based on the hinrg repo, so it should be easy to update. Andras Biro http://ucmote.com On Fri, Jan 25, 2013 at 5:54 PM, Krentz, Konrad-Felix

Re: [Tinyos-help] TestSerial not compiling, MIG generated file have errors

2013-01-21 Thread András Bíró
Hi Aswath, You should upgrade nesc from here: http://tinyos.stanford.edu/tinyos/dists/cygwin/ Andras Biro http://ucmote.com On Mon, Jan 21, 2013 at 12:02 PM, asw...@ee.iisc.ernet.in wrote: The terminal says this $ javac -target 1.5 -source 1.5 *.java TestSerialMsg.java:88: unclosed

Re: [Tinyos-help] iris support in blip

2013-01-18 Thread András Bíró
Hi Mohsan, Miklós Maróti adjusted the rfxlink stack (radio stack of iris and other motes) to support blip, you can found this in his github repo: https://github.com/mmaroti/tinyos/tree/blip Unfortunatly, it doesn't seems like it's working, and it needs someone who knows well enogh blip and

Re: [Tinyos-help] Help regarding GPIO output for mica2

2013-01-10 Thread András Bíró
too,though. On Tue, Jan 8, 2013 at 3:21 AM, András Bíró andras.b...@ucmote.comwrote: Hi, On Tue, Jan 8, 2013 at 1:09 AM, Sid sid...@gmail.com wrote: Hi All, I am fairly new to tinyos 2.x and cannot figure this problem out. I hope someone helps me out with this dumb question. I am trying

Re: [Tinyos-help] CFLAGS vs PFLAGS

2013-01-08 Thread András Bíró
Hi, As far as I know, the first characters should define the language: CFLAGS - c CXXFLAGS - c++ PFLAGS - pascal But it's not really standard, it depends on the Makefile(s). For example the avr.extra makes no difference: $(NCC) -o $(MAIN_EXE) $(NCC_SAFE_TINYOS_FLAGS) $(OPTFLAGS) $(PFLAGS)

Re: [Tinyos-help] Help regarding GPIO output for mica2

2013-01-08 Thread András Bíró
Hi, On Tue, Jan 8, 2013 at 1:09 AM, Sid sid...@gmail.com wrote: Hi All, I am fairly new to tinyos 2.x and cannot figure this problem out. I hope someone helps me out with this dumb question. I am trying to send a pulse using the GPIO(Port C0) of mica2 mote. But when I am trying to compile

[Tinyos-help] cygwin install wiki

2013-01-05 Thread András Bíró
Hi everyone, I wrote an article on the wiki about how to install an up to date cygwin for tinyos: http://docs.tinyos.net/tinywiki/index.php/Installing_up_to_date_Cygwin Since cygwin-files.zip is not available for a while, we might want to refer this page from here:

Re: [Tinyos-help] broken package problem

2013-01-03 Thread András Bíró
please help me out? András Bíró-3 wrote: Hi, Don't use the hardy repository on a much newer system, use this: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu natty main since currently that's the newest. Andras Biro Unicomp Ltd. http://ucmote.com On Thu, Dec 27

Re: [Tinyos-help] broken package problem

2012-12-28 Thread András Bíró
Hi, Don't use the hardy repository on a much newer system, use this: deb http://tinyos.stanford.edu/tinyos/dists/ubuntu natty main since currently that's the newest. Andras Biro Unicomp Ltd. http://ucmote.com On Thu, Dec 27, 2012 at 10:50 AM, mousumi saha mousumi1s...@yahoo.co.inwrote: Hi,

Re: [Tinyos-help] Help regarding avrdude

2012-12-27 Thread András Bíró
Hi Saurabh, You probably didn't select the correct programmer in the make command. You most likely used a command like this: make iris install However, you should use make iris install mib520,the serial port provided by mib520. mib520 provides two serial ports, usually the first one is the

[Tinyos-help] avr interrupt macros

2012-12-12 Thread András Bíró
Hi Guys, I checked how the interrupts work on avr platforms, and found this in the atm128hardware.h: /* We need slightly different defs than SIGNAL, INTERRUPT */ #define AVR_ATOMIC_HANDLER(signame) \ void signame() __attribute__ ((signal)) @atomic_hwevent() @C() #define

Re: [Tinyos-help] Deluge t2 issues

2012-12-10 Thread András Bíró
Hi Sadun, On Mon, Dec 10, 2012 at 5:18 PM, sadun silva silva.sa...@gmail.com wrote: Hi all, I have been working with deluge for couple of days now. I checked out the tree from google code. (so a stable version). But I ran in to following problems. 1. I do not have any way to erase the

Re: [Tinyos-help] Problem with different packet frames in Blip2.0 RF230/CC2420

2012-12-10 Thread András Bíró
Hi Guys, If you run out of memory on iris, I can test it on atm128rfa1 based ucmotes (16k RAM) for you. We would be happy if blip would work on our motes, but we don't know the blip framework at all, so we don't know where to search for bugs. Andras Biro Software Engineer Unicomp Ltd.

Re: [Tinyos-help] some low level questions

2012-12-02 Thread András Bíró
Hi Andres, On Sun, Dec 2, 2012 at 3:19 PM, Andres Mabini andres.mabi...@gmail.comwrote: Hi everyone, I am trying to understand how TinyOS works at the low level, and I hope you guys could help me out with some dumb questions These are beginner questions, but really good questions.

Re: [Tinyos-help] Fwd: TinyOS Java problem in Cygwin

2012-12-02 Thread András Bíró
Hi Ahmad, Why would you like to compile tinyos.jar? Tinyos comes with a precompiled one at $TOSROOT/support/sdk/java/tinyos.jar Andras Biro Software Engineer Unicomp Ltd. http://ucmote.com On Sun, Dec 2, 2012 at 2:46 AM, Ahmad Muhaimin fevernov...@gmail.comwrote: When I try to compile

Re: [Tinyos-help] Fwd: TinyOS Java problem in Cygwin

2012-12-02 Thread András Bíró
You probably should use an official guide, there's no need to recompile tinyos.jar in almost any cases, and the make system never worked for me, only the ant system. However you removed the original tinyos.jar. Try to reinstall tinyos, and then send the error message for java net.tinyos.Listen, I

Re: [Tinyos-help] Python SerialSource implementation?

2012-11-29 Thread András Bíró
no getSerialPacket method in the class generated by mig. Andris Thanks for the pointer! -Doug On Wed, Nov 28, 2012 at 3:30 AM, András Bíró andras.b...@unicomp.huwrote: Hi Doug, I had the same issue recently: http://code.google.com/p/tinyos-main/issues/detail?id=152 Yann Le Corre was kind enough

Re: [Tinyos-help] Python SerialSource implementation?

2012-11-28 Thread András Bíró
Hi Doug, I had the same issue recently: http://code.google.com/p/tinyos-main/issues/detail?id=152 Yann Le Corre was kind enough to send me his working version of the pyton sdk, what he found somewhere on the internet: http://dl.dropbox.com/u/363226/munka/tos-python.tar.gz But I never really

Re: [Tinyos-help] Ucmini program installation via USB

2012-11-06 Thread András Bíró
Hi Wasif, The problem was you didn't reset the mote before programming (and the tinyos makefiles can reset the mote via serial). The UCmini manual is a bit outdated, it doesn't include anything about tinyos, we're working on this. Miklos, don't worry, I'm checking tinyos-help for unicomp related

[Tinyos-help] arm cortex toolchain

2012-11-05 Thread András Bíró
Hi Guys, Is there an official toolchain for the sam3* platforms (Cortex M3)? If not, what version of gcc/binutils/libc (I don't know what else needed by the arm toolchain) should I use? Is there a script/tutorial which discribes how to compile it? BTW, if I do this, I will do it how I did the

Re: [Tinyos-help] arm cortex toolchain

2012-11-05 Thread András Bíró
, András Bíró andras.b...@unicomp.hu wrote: Hi Guys, Is there an official toolchain for the sam3* platforms (Cortex M3)? If not, what version of gcc/binutils/libc (I don't know what else needed by the arm toolchain) should I use? Is there a script/tutorial which discribes how to compile

Re: [Tinyos-help] Could not find the main class: net.tinyos.nesc.wiring.WiringCheck.

2012-11-03 Thread András Bíró
, Sep 24, 2012 at 12:13 AM, András Bíró andras.b...@unicomp.huwrote: Hi Guys, Miklos: I'm not sure what platforms are affected (I'm not even sure the Cygwin platform is affected, I don't know what's the version Gary used). Eric: Yes, I think if we compile it with jdk6, it will work with jre7

Re: [Tinyos-help] Cygwin compatible net.tinyos.tools.Listen program

2012-10-31 Thread András Bíró
Hi Peeyush, I think the CD has some really-really old version of cygwin and tinyos. I recommend to install cygwin based on the official documentation ( http://cygwin.com/install.html), and install the following extra packages: gcc make python perl rpm After that, you can follow the tinyos wiki

Re: [Tinyos-help] make: uisp: command not found (MicaZ and TinyOS 2.1.2)

2012-10-29 Thread András Bíró
Hi David, You were right. Uisp should be part of tinyos-tools, did you installled it? If you did, what repository did you used? What's the version of your tinyos-tools? Andris On Mon, Oct 29, 2012 at 10:26 AM, David Rodenas drod...@outlook.com wrote: Thanks Eric, I thought that problem didn't

Re: [Tinyos-help] make: uisp: command not found (MicaZ and TinyOS 2.1.2)

2012-10-29 Thread András Bíró
Yep, it seems Eric's version of tinyos-tools doesn't have uisp. That's ok, I would like to remove uisp from tinyos as well, since avrdude does everything what uisp can and more. You could force the make sytem to use avrdude with PROGRAMMER=avrdude environment variable. Eric, you should remove

[Tinyos-help] python sdk questions

2012-10-26 Thread András Bíró
Hi, I started experimenting with the python sdk, but I have some problems: -I can only use it with java/c serialforwarder, because there's no tinyos.packet.SerialSource, and I have no idea how could I generate it -How can I get the source nodeid of a message? With java, I used

Re: [Tinyos-help] python sdk questions

2012-10-26 Thread András Bíró
in the /support/sdk/python/tinyos direcories. So there are two independent python SDKs? Andris On Fri, Oct 26, 2012 at 1:46 PM, András Bíró andras.b...@unicomp.hu wrote: Hi, I started experimenting with the python sdk, but I have some problems: -I can only use it with java/c serialforwarder, because

Re: [Tinyos-help] Make install command for Telos RevA

2012-10-24 Thread András Bíró
Hi Guys, I had the misfortune to use TelosA motes. The main difference is in the reset circuit (schematics: http://www.tinyos.net/scoop/special/hardware). TelosA resets if a certain high/low combination is on the hw flow control pins, and TelosB resets if a certain high/low combination sequence

Re: [Tinyos-help] iris radio locked - returns BUSY forever

2012-10-24 Thread András Bíró
Hi Guys, This is probably irrelevant, but I never had the time to check it: On the rf212 radio with RADIO_DEBUG turned on, I get an assert sometimes: The driver gets a PLL_LOCK interrupt, with CMD_NONE, STATE_RX_ON, but it works after that. This bug is probably LPL related, but who knows. Andris

Re: [Tinyos-help] Latest sensor node platforms!

2012-10-19 Thread András Bíró
Hi wasif, Unfortunatly that's almost impossible. Every mote's timer I've seen so far created it's timer on a 32768 Hz crystal. You can get us accuracy using the main clock (usually 4-8-16MHz), but the main clock is usually much more innacurate (especially if it's an RC oscillator), but it's

Re: [Tinyos-help] Latest sensor node platforms!

2012-10-19 Thread András Bíró
be too hard to port to AVR. André - Original Message - From: Eric Decker To: András Bíró Cc: tinyos forum Sent: Friday, October 19, 2012 8:09 PM Subject: Re: [Tinyos-help] Latest sensor node platforms! That is why the hybrid timing is a good idea. I don't remember where

Re: [Tinyos-help] how to change payload size

2012-10-17 Thread András Bíró
Hi, TOSH_DATA_LENGTH sets the available memory for the payload. The actual payload length is set up by the last parameter of AMSend.send (len). Andirs On Tue, Oct 16, 2012 at 6:12 PM, ANDRIA Lama lamaand...@yahoo.fr wrote: Hi, Someone know how to change payload size dynamically? My

Re: [Tinyos-help] Correct serial to mote packet format

2012-10-17 Thread András Bíró
Hi Guys, Keep in mind that TEP113 has some small errors and lacks some important information: -I think the CRC is calculated from the protocoll byte, not the sequence number (but I'm not sure about that) -The example on the bottom completly forgets the CRC and the destination address, and it

Re: [Tinyos-help] MIB520-programmer is not responding problem

2012-10-08 Thread András Bíró
Hi, Mib520 creates two virtual serial port, one for programming, one for communicating. You probably try to program your motes with the communication port. The programming port is probably /dev/ttyUSB0, but that should be in the /var/log/messages (I think you only attached half of the ftdi log).

Re: [Tinyos-help] Propagation of 2.4 GHz under the soil

2012-10-07 Thread András Bíró
, Oct 5, 2012 at 7:19 PM, aca...@correo.ugr.es wrote: Dear András Bíró. I think probably with 868 MHz was better than 2.4 GHz because the wavelength is the longest. I was expecting to reach at least 25 m. Thanks a lot for your information. Yours faithfully, Alejandro. Hi Alejandro, I

Re: [Tinyos-help] Propagation of 2.4 GHz under the soil

2012-10-05 Thread András Bíró
Hi Alejandro, I would except much less. We tried to communicate in grain (corn to be exact), and it was less than 1m. Eventually, we used 868MHz, which was still really bad, but we could live with that. But anyway, you should try it, it's quite simple. One more thing: in our tests, it seemed that

Re: [Tinyos-help] Blip2.0/RPL support for IRIS/RF230-hardware

2012-10-04 Thread András Bíró
Hi, In your test, I saw one problem: sudo pppd debug passive noauth nodetach 115200 /dev/ttyUSB0 nocrtscts nocdtrcts lcp-echo-interval 0 noccp noip ipv6 ::23,::24 The default baudrate on iris is 56700, not 115200, and it's serial port is usually /dev/ttyUSB1 (but it depends on your system). I

Re: [Tinyos-help] ZigBit Amp (ATZB-A24-UFL) sleep issue

2012-10-01 Thread András Bíró
:46 PM, András Bíró wrote: Hi Ugo, Sorry, I took that picture a long time ago, I don't remember the avg. The measurement wasn't quite accurate eighter, I just wanted to show you what to except from an atmega128/1281 mote. Andris On Sat, Sep 29, 2012 at 11:19 AM, Ugo Colesanti colesa

Re: [Tinyos-help] low power, good range, sub GHz transceivers with tinyos

2012-10-01 Thread András Bíró
Hi John, There's no gcc support for 8051, and - as far as I know - that's a dealbreaker with nesc/tinyos. However, we're using Atmel's AT86RF212, and it's quite stable (We fixed some bugs in it in the last half year, with the help of Miklos Maroti). Unfortunatly, we're in Europe, so we can only

Re: [Tinyos-help] ZigBit Amp (ATZB-A24-UFL) sleep issue

2012-09-29 Thread András Bíró
shows 160uA. Just to know, in your figure, what is the avg current? Ugo On 09/28/2012 10:01 PM, András Bíró wrote: Hi Guys, 160uA doesn't seems so much. I don't think it's the amplifier, I suspect the timer stack is running on your mote. As far as I remember the timer stack is always

Re: [Tinyos-help] ZigBit Amp (ATZB-A24-UFL) sleep issue

2012-09-28 Thread András Bíró
Hi Guys, 160uA doesn't seems so much. I don't think it's the amplifier, I suspect the timer stack is running on your mote. As far as I remember the timer stack is always running on atmega128(1) based motes, and it consumes quite a lot of power (it's only an 8 bit counter, and the overflow

Re: [Tinyos-help] Could not find the main class: net.tinyos.nesc.wiring.WiringCheck.

2012-09-24 Thread András Bíró
what the java stuff does, but it's seems it's essential for compiling. Here are the sources: http://nescc.cvs.sourceforge.net/viewvc/nescc/nesc/tools/java/ Andris On Sun, Sep 23, 2012 at 11:08 PM, Eric Decker cire...@gmail.com wrote: On Sun, Sep 23, 2012 at 11:22 AM, András Bíró andras.b

  1   2   >