Re: [Tinyos-help] TinyOS MICAz GpioInterrupt

2009-07-22 Thread Andres Vahter
call Leds.led0Toggle(); } . There seems to be something wrong because, led0 is always on. (I'm connecting gnd and Int0 pin on mda100 to make interrupt) Could someone take a look and point out what should I change in order to get it work on Iris a

Re: [Tinyos-help] TinyOS MICAz GpioInterrupt

2009-07-22 Thread Andres Vahter
Do I have to use external pullup resitor? Does call to [call IO.makeInput()] enables internal pullup so i do not have to use external resistor? PortE4 is the same as Int4 pin? What do you think - is this code correct for making interrupt? I try external pullup tomorrow. There is code with po

Re: [Tinyos-help] TinyOS MICAz GpioInterrupt

2009-07-23 Thread Andres Vahter
tinyos/tinyos-2.x/doc/html/tep109.html ) I access directly to HplAtm128InterruptC. It seems from that example, that I should use GpioInterrupt interface instead. Andres Vahter On 22.07.2009, at 23:36, Michael Schippling wrote: You'll have to look in the controller specs to see if

[Tinyos-help] Measuring battery voltage on Iris

2009-07-23 Thread Andres Vahter
t)data); if (!sendBusy) sendMessage(); } ..... Andres vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/li

[Tinyos-help] Connecting PCF8563 RTC to Iris

2009-07-29 Thread Andres Vahter
nt8_t), &buffer[2]) == SUCCESS) Any hints how PCF8563 should be used with TinyOS2 on Iris mote? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-07-30 Thread Andres Vahter
that, is following code right? buffer[0] = 0x02; // reg addr buffer[1] = 0x0F; // value if (call I2CPacket.write(I2C_START, 0xA2, 2, buffer) == SUCCESS) { } Andres Vahter ___ Tinyos-help mailing list Tinyos-help@mil

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-07-31 Thread Andres Vahter
or is it possible to do it with I2CPacket? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-08-02 Thread Andres Vahter
to call all I2CPacket.read and I2CPacket.write functions from event void Resource.granted()? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-08-02 Thread Andres Vahter
to call all I2CPacket.read and I2CPacket.write functions from event void Resource.granted()? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Connecting PCF8563 RTC to Iris

2009-08-04 Thread Andres Vahter
bal uint32_t variable } } //Post task readClock() somewhere to start reading. I tried to also make driver component, but it seems too complicated;) I need to glue together at leas t 6 files to get it working. Maybe later. Andres Vahter ___

[Tinyos-help] How to generate python mig files for app TestSerial?

2009-08-05 Thread Andres Vahter
$@ Could someone show me how to change that Makefile for python. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] How to generate python mig files for app TestSerial?

2009-08-05 Thread Andres Vahter
RULES) Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to send packet from PC to uart using Python?

2009-08-05 Thread Andres Vahter
# something is wrong How should I pass rtc to am.write()? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Cannot upload app to Iris using Mac OS X

2009-08-11 Thread Andres Vahter
Hi, I cannot upload app to Iris using Mac OS X. I get following error: tos-set-symbols build/iris/main.srec build/iris/main.srec.out-1 TOS_NODE_ID=1 ActiveMessageAddressC__addr=1 installing iris binary using mib510 avrdude -cmib510 -P/dev/tty.usbserial -U hfuse:w:0xd9:m -pm1281 -U efuse:

Re: [Tinyos-help] Cannot upload app to Iris using Mac OS X

2009-08-11 Thread Andres Vahter
nstalled, but non of them have mib510. Andres Vahter On 11.08.2009, at 15:06, David wrote: > Hi Andreas, > > I had the same error. I solved it by creating a softlink to the > avrdude.conf file in the directory where TinyOS searches for it. > > David. > __

Re: [Tinyos-help] Cannot upload app to Iris using Mac OS X

2009-08-27 Thread Andres Vahter
Andres Vahter On 11.08.2009, at 22:57, Andres Vahter wrote: > I created a link: > #sudo ln -s /stow/etc/avrdude.conf /etc/avrdude/avrdude.conf > > Now it cannot find mib 510: > #avrdude: Can't find programmer id "mib510" > > It seems to be wrong avrdude.c

Re: [Tinyos-help] classpath and makerules error

2009-09-07 Thread Andres Vahter
/java MAKERULES="$TOSROOT/support/make/Makerules" export TOSROOT export TOSDIR export CLASSPATH export MAKERULES I had also problems with classpath. So I added these dirs to classpath: CLASSPATH=$TOSROOT/support/sdk/java/:$TOSROOT/support/sdk/java/ tinyos.jar:.:$CLASSPATH Andres Vahte

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-09-20 Thread Andres Vahter
libgcc/./_mulhi3.o xgcc: i386: No such file or directory xgcc: i386: No such file or directory make[3]: *** [libgcc/./_mulqi3.o] Error 1 make[3]: *** Waiting for unfinished jobs make[3]: *** [libgcc/./_mulhi3.o] Error 1 make[2]: *** [stmp-multilib] Error 2 make[1]: *** [all-gcc] Error 2 make: *** [a

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-09-20 Thread Andres Vahter
msp430-gcc-tinyos msp430-libc- tinyos (for MSP430) sudo port install avr-binutils-tinyos avr-gcc-tinyos avr-libc-tinyos (for AVR) Andres Vahter On 21.09.2009, at 2:01, Razvan Musaloiu-E. wrote: Hi! On Sun, 20 Sep 2009, Andres Vahter wrote: I tried to install it to 10.5 Leopard and failed wi

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-09-23 Thread Andres Vahter
Hi, I have Xcode 3.1.3 Andres Vahter On 22.09.2009, at 23:19, Razvan Musaloiu-E. wrote: > Hi! > > Could you please tell the version of xcode you have? Mine is 3.1.2. > > Thank you! > Razvan ME > > On Mon, 21 Sep 2009, Andres Vahter wrote: > >> I have the sa

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-09-24 Thread Andres Vahter
Hi, I'm not sure if my last message was posted, it bounces back as too big. Yes, it compiles now. But I have one more problem when I tried to make Blink app: Andrese-MBP:Blink Andres$ make micaz /bin/sh: tos-ident-flags: command not found mkdir -p build/micaz compiling BlinkAppC to a micaz

Re: [Tinyos-help] How to send packet from PC to uart using Python?

2009-09-28 Thread Andres Vahter
payload) am = tos.AM() rtc = RTC() rtc.type = 0x06 #pseudo data rtc.time = 0x50 #pseudo data rtc.date = 0x56 #pseudo data am.write(rtc, 238) Andres Vahter On 28.09.2009, at 12:44, Marcus Autenrieth wrote: > Hi, > > Am Wed, 5 Aug 2009 15:29:00 -0400 (EDT) > schrieb "Razvan M

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-10-03 Thread Andres Vahter
forms drwxr-xr-x+ 14 Andres admin 476 3 okt 12:43 release drwxr-xr-x+ 10 Andres admin 340 3 okt 12:42 tinyos Is there something wrong with rights? Andres Vahter On 24.09.2009, at 10:26, Razvan Musaloiu-E. wrote: ncc and the tos-* programs are part of the tinyos tools. You should

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-10-04 Thread Andres Vahter
Yep, that was the problem. I messed it up when I used cmd+i on tinyos folder to add user. Andres Vahter On 04.10.2009, at 4:27, Razvan Musaloiu-E. wrote: > Hi! > > On Sat, 3 Oct 2009, Andres Vahter wrote: > >> Hi, >> >> I tried to compile TinyOS tools, but it seems

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-10-05 Thread Andres Vahter
set to 0xd9 Fuse Extended Byte set to 0xff rm -f build/micaz/main.exe.out-0 build/micaz/main.srec.out-0 I wonder why uploading works with micaz but not with Iris? They both have allmost the same MCU. Andres Vahter On 05.10.2009, at 21:00, Razvan Musalo

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-11-30 Thread Andres Vahter
h file or directory instead of Command not found. There is something broken, but what? Andres Vahter On 06.10.2009, at 9:49, Andres Vahter wrote: > Hi, > > I tried to install Null app to Iris to see if avrdude works. > > Make works fine: > Andrese-MBP:Null Andres$ make iris

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-12-01 Thread Andres Vahter
e/ports/ [default] Is this correct conf file - toolchain is installed from your git not from anywhere else? Andres Vahter On 30.11.2009, at 18:33, Razvan Musaloiu-E. wrote: > Hi! > > On Mon, 30 Nov 2009, Andres Vahter wrote: > >> Hi, >> >> I'm using now Sn

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-12-01 Thread Andres Vahter
Right - after installing avrdude everything works fine :) Thanks! Andres Vahter On 01.12.2009, at 12:13, Razvan Musaloiu-E. wrote: > Hi! > > On Tue, 1 Dec 2009, Andres Vahter wrote: > >> I'm little confused. >> >> I don't have avrdude.conf in: >

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-12-02 Thread Andres Vahter
etc/avrdude.conf I'll try symlink from /etc/avrdude/avrdude.conf to /opt/local/etc/avrdude.conf. I think it will do the trick. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] macports for nesc and the MSP430 toolchain for Snow Leopard

2009-12-02 Thread Andres Vahter
(http://hinrg.cs.jhu.edu/git/?p=ports.git). Very nice - no virtual machine for me anymore :) Andres Vahter On 02.12.2009, at 19:57, Razvan Musaloiu-E. wrote: > Hi! > > First of all: I made a mistake in saying that normal avrdude works fine. We > need a patched version. I added it to my m

[Tinyos-help] CC1101/MSP430F1611 based open hardware motes

2009-12-26 Thread Andres Vahter
knows commercial products based on CC1101 and MSP430F1611 - I'm very interested about them. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Mistake uploading updates to CVS

2010-03-19 Thread Andres Vahter
Hi, Is this a real GIT repository mirrored from CVS: http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x-contrib.git There seems to be no changes since 2008. Although main repository is up to date: http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x.git I'm very interested in msp430X code. Andres On 19.03.2010, a

[Tinyos-help] Using TinyOS mspgcc toolchain for building MSP430 MCU-s

2010-05-18 Thread Andres Vahter
Hi, I have mspgcc toolcain installed and it is working well with telosb. How can I use it for building and uploading a simple example program from TI webpage: MSP430F22x2, MSP430F22x4? These example programs consist of only single .c file. Could someone provide example how Makefile should look

Re: [Tinyos-help] TelosB USB identification EEPROM initialization?

2010-08-06 Thread Andres Vahter
Hi, How did you manufactured them, I mean is there anywhere for example Telosb Eagle CAD files available? Andres On 15.07.2010, at 6:09, Michael Ireland wrote: > Hello all - I have manufactured some TelosB motes and run into a problem: > They do not identify correctly. They will program and o

[Tinyos-help] Can't compile TinyOS-2.x Java tools on Mac OS X (10.5.7)

2009-06-07 Thread Andres Vahter
------- The main problem is step 4 (see above). What can be wrong, what should I check? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Can't compile TinyOS-2.x Java tools on Mac OS X (10.5.7)

2009-06-08 Thread Andres Vahter
to do (step: installing tinyos-2.x toolset ) every time I change env. variables or is it enough to try /opt/ tinyos-2.x/support/sdk/java make? Andres Vahter On 08.06.2009, at 0:56, Chris Custine wrote: On Sun, Jun 7, 2009 at 12:04 PM, Andres Vahter > wrote: export CLASSPATH=$TOSROOT/sup

Re: [Tinyos-help] Can't compile TinyOS-2.x Java tools on Mac OS X (10.5.7)

2009-06-08 Thread Andres Vahter
ceMix :: http://servicemix.apache.org Apache Directory Server :: http://directory.apache.org On Mon, Jun 8, 2009 at 4:52 AM, Andres Vahter wrote: I tried with: export CLASSPATH=$TOSROOT/support/sdk/java/:$TOSROOT/ support/sdk/java/tinyos.jar:.:$CLASSPATH It won't work either. tos-check

Re: [Tinyos-help] Can't compile TinyOS-2.x Java tools on Mac OS X (10.5.7)

2009-06-13 Thread Andres Vahter
Problem solved - I had wrong permissions in my tinyos folder (/opt/ tinyos-2.x) and that caused all the problems. Admin didn't have permission to write and unfortunately "make" didn't give any indication about permission issue. Andres Vahter I don't think you ne

[Tinyos-help] Multi-hop FTSP example

2009-06-14 Thread Andres Vahter
Hi, I'm trying to add FTSP to MultihopOcilloscope so that all nodes would be synced with root. I'm not sure how to do that. Someone knows an example about multi-hop FTSP? /apps/tests/TestFTSP is singlehop as far as I know. ___ Tinyos-help mailing li

Re: [Tinyos-help] Multi-hop FTSP example

2009-06-15 Thread Andres Vahter
lines to Makefile: PFLAGS += -DTIMESYNC_RATE=2 PFLAGS += -DTIMESYNC_DEBUG PFLAGS += -I$(TOSDIR)/lib/ftsp What I am doing wrong? Andres Vahter > Hi, > > I'm trying to add FTSP to MultihopOcilloscope so that all nodes > would be synced with root. > I'm not sure how to do

[Tinyos-help] Timer sync with FTSP

2009-06-16 Thread Andres Vahter
rence between local and globaltime. Any ideas how to get timers sync with globalTime? Andres Vahter #include "TestFtsp.h" #include "RadioCountToLeds.h" #define PERIOD 4096 module TestFtspC { uses { interface GlobalTime;

[Tinyos-help] TestNetworkLpl

2009-06-19 Thread Andres Vahter
get it work on micaz? By the way - how far is official CTP + LPL implementation? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TestNetworkLpl

2009-06-20 Thread Andres Vahter
On 19.06.2009, at 23:57, Razvan Musaloiu-E. wrote: In the default-lpl branch I was making use of Globals, a way to easily make some information available between different components. I considered the feature very useful but Phil argued that this was already discussed in the core some tim

Re: [Tinyos-help] TestNetworkLpl

2009-06-22 Thread Andres Vahter
); } } Andres Vahter On 22.06.2009, at 8:32, Razvan Musaloiu-E. wrote: I updated the default-lpl branch with support for micaz. I also add a branch called default-lpl-new which does not contain Globals. Can you please try one of them? I did not test them seriously yet so there might be some bugs

Re: [Tinyos-help] TestNetworkLpl

2009-06-22 Thread Andres Vahter
m/LplAMSenderC.nc:25: no match In component `TestNetworkAppC': TestNetworkAppC.nc:55: no match make: *** [exe0] Error 1 Lines 25 and 55 are LPL wirings. (xxx.Lpl -> ActiveMessageC;) Make complains about them on micaz, but not on telosb. Andres Vahter On 22.06.2009, at 8:32, Razvan Mu

Re: [Tinyos-help] TestNetworkLpl

2009-06-23 Thread Andres Vahter
what is average current consumtion using default-lpl-new branch? With default settings on micaz I get 3.6 mA (TestNetworkLpl). It seems MCU is not sleeping, but I try it later with different sleep times. Andres Vahter On 23.06.2009, at 2:55, Razvan Musaloiu-E. wrote: I did a quick te

Re: [Tinyos-help] TestNetworkLpl

2009-06-25 Thread Andres Vahter
Confirmed - It now works on micaz. Andres Vahter On 25.06.2009, at 1:45, Razvan Musaloiu-E. wrote: > I just committed a fix. In the Makefile the packet size was > increased to avoid chopping the output of the printfs but this makes > the whole app needing more RAM than the 4K the A

Re: [Tinyos-help] TestNetworkLpl

2009-06-29 Thread Andres Vahter
Hi Razvan, Could you also add Iris support to your branch, if it isn't too difficult. It would be great. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/lis

[Tinyos-help] FCP & LPP in Koala

2009-07-01 Thread Andres Vahter
Hi, I read the following paper: http://www.cs.jhu.edu/~cliang4/public/doc/2008_IPSN_Koala.pdf It was about Koala and low power interface called Low-Power Probing (LPP) that I am interested in. Is it possible to see any example application about Koala? It would be great. Andres Vahter

Re: [Tinyos-help] Problem with multihop program

2009-07-07 Thread Andres Vahter
u also check Makefile? Maybe you are missing CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/ net/ctp -I$(TOSDIR)/lib/net/4bitle in your Makefile. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.

Re: [Tinyos-help] FCP & LPP in Koala

2009-07-08 Thread Andres Vahter
you also add support for micaz and iris to master+lpp branch? I would like to try it, but I can use only micaz and iris motes. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin

Re: [Tinyos-help] BLIP application??

2009-07-09 Thread Andres Vahter
. ifconfig shows that tun0 is up and running. I'm running XubunTOS in virtual machine and using latest TinyOS CVS. What should I overcheck? Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berke

Re: [Tinyos-help] BLIP application??

2009-07-10 Thread Andres Vahter
How to get blip working? I followed readme from /tinyos-2.x-contrib/berkeley/blip/README Except I used: export LOWPAN_ROOT=/opt/tinyos-2.x-contrib/berkeley/ blip/ instead of export LOWPAN_ROOT=/opt/tinyos-2.x-contrib/berkeley/ b6lowpan/ But what about serial_tun.conf file. What should I put

Re: [Tinyos-help] BLIP application??

2009-07-10 Thread Andres Vahter
Huh, problem solved. I found this tutorial http://blog.xbow.com/xblog/2009/07/in-a-blip-pervasive-ip-has-arrived.html I was using micaz motes - that was my problem. Blip must be first patched in order to get it work with micaz. Andres Vahter

[Tinyos-help] How to send message from sink to node using multihop?

2009-07-17 Thread Andres Vahter
Hi, I'm playing with TestNetwork app where messages are sent to sink using multihop. But how can I send a message from sink to a specific node, for example to a node with ID 5? I checked dissemination, but it sends data to all nodes. Andres V

[Tinyos-help] TestTymo doesn't work on Iris and micaz

2009-07-21 Thread Andres Vahter
nm/tinyos-2.x.git It is the same with CVS version. It compiles for telosb. Could someone point me out why this is not working on micaz and iris. Andres Vahter ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium

[Tinyos-help] TinyOS for TI CC430F5137

2011-11-30 Thread Andres Vahter
Hi, I guess CC430F5137 is not yet supported in current tinyos-main trunk. Some time ago there was PeoplePower repository for their Surf platform, but now it seems to be gone. Also there is no OpenOSIAN.net webpage anymore. Could you tell me where can I find most up to date tinyos repository that

[Tinyos-help] TinyOS on cubesat ESTCube-1

2013-05-09 Thread Andres Vahter
AX.25 amateur radio communication protocol, therefore TinyOS needed quite a lot modifications to support this. More can be read from there: https://andresvahter.wordpress.com/2013/01/27/last-touches-to-the-estcube-1-communication-module/ and there http://www.estcube.eu/en/home. Andres Vahter ESTC