This is a simplest test. But It seems that only the erase operation works in
mica2.
I don't know why.
RandRWAppC.nc:
#include StorageVolumes.h
configuration RandRWAppC { }
implementation {
components RandRWC, new BlockStorageC(VOLUME_BLOCKTEST),
MainC, LedsC, PlatformC, RandomC;
Java deprecated classes are, IMHO, a joke.
Excepting, as David Gay has pointed out, System.getenv()
they are all still there due to the backward (compatibility)
requirements. Just ignore the warnings and wish that Java
system implementors had been able to design things reasonably
the first
Tmotes even have two flash EEPROMS (terminology borrowed from the
tinyos-1 tutorial): one on the microcontroller and an external one,
which is even bigger than the MicaX ones :-)
Joke aside, it looks like the mica family of motes uses for the external
flash a AT45DB chip, while the tmote uses an
Hi,
I'm trying tu run the oscilloscope application in micaz motes buy
following the instruction of the tutorial Lesson 6:
I typed: make micaz install mib510,/dev/ttyS0 and after: java
net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:57600
but nothing appears on the Serial Forwarder
I used type java from cygwin and got:
Java is hashed (/cygdrive/c/WINDOWS/system32/java)
I looked, and sure enough, java itself is in there, but it doesn't make
mention of where the extensions and such should go. I'm using 1.6.0_01, so
I tried moving my files to correspond with what you had,
Hello, Marcel. I'm not sure, but this strikes me as application-level,
whereas the problem I seem to be having is operating system/java engine
level. Where did you get the toscomm.dll file?
Thanks,
Greg Turnipseed
From: Marcel Kania [EMAIL PROTECTED]
Date: Wed, 09 May 2007 23:50:33 -0300
SUCCESS! After poking around some more, I realized I have 3 (why???)
different versions of Java installed, and apparently I was in the wrong one.
Finally tried the third one, and got it working with the .dll going into
javapath\bin, the comm.jar into javapath\lib\ext, and the properties
file into
Try using mica2 instead of 57600 in the -comm argument.
I know, I know, it should be micaz, but that's not the way things work...
Oh yeah, and if you are using later cygwin versions try /dev/ttyS0 instead
of COM1 too...
If that doesn't work, try the ListenRaw program to see if you are getting
Well,
That's a very strange problem here which i also still have.
When using 57600 , the java tools don't work. When using tmote, which is
the variable for 57600 it works! In both cases it also says: COM3:57600
synchronizing. So i think there is somewhere a bug in the java tools, maybe
in the
Thanks for your advices but I didn't manage to solve the problem.
I tried mica2 instead of 57900 but I have the same thing:
[EMAIL PROTECTED]:57600: resynchronising and no packets.
/dev/ttyS0 doesn't work:JavaIOException: invalid port
The ListenRaw programm doens't work too: I obtain:
openong
Hi everybody:
I'm currently trying to develop a forward error correction algorithm above the
IEEE 802.15.4 protocol stack of the CC2420 module in the Tmote Sky platform.
Basically, I get rid of all TOS packets and go to the lowest level to work
almost directly with the physical frame that is
Hi Erwing,
did you also changed (increased) TOSH_DATA_LENGTH in your Makefile? Because
in most implementations of the send() command there is something like:
command result_t Send.send[uint8_t id](TOS_MsgPtr _msg, uint16_t _length) {
TOS_MHopMsg* _mhopmsg = (TOS_MHopMsg*)_msg-data;
Hi all,
Are the functions delay( ),sleep( ), etc predefined in nesC.?
Thanks in advance.
Dipti___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Hi,
I have a strange problem for my program that when i use power tossim, all power
values are stuck at 0.
Why/How would this happen and how can i go about fixing it?
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
I don't think so. While a program is sleeping, nothing else could
execute (it's not a multi-threading system).
You probably would have to split your function in two parts at the point
where you would want to insert the delay()/sleep() function call. Then
you use a timer instead. This way another
Hi all
I have using Surge as my application and also the GUI to monitor packets.
However, I noticed that if node 0 (base-station) does not send any surge
message, the surge GUI not display correct results (e.g . zero yeild)
My scenario is simple: [node1] -- [node0]
In my SurgeM.nc, I dont
Hello All,
I'm currently generating an application using TinySec. However, I want to
extend the current group-id by splitting the nodes into clusters?
How do I go about doing that?
Thanks.
-
All New Yahoo! Mail Tired of
Hi Ole!
I actually tried that too (increasing TOSH_DATA_LENGTH). But it did not work,
which I believe is
correct because I'm not working with TOS_msg. Instead, I create my own
'struct' which is similiar to the TOS_msg struct but with less control
fields. Besides, I do not use any component that
Hi,
On Wednesday 09 May 2007 20:52, shanza khan wrote:
I want to get time for execting a function. So i want to used timer
interface with TMicro can anybody tell me that which component i should use
for it that provide timer interface with Tmicro.
TinyOS 1.1.x or 2.x? What hardware platform?
On Thursday 10 May 2007 07:31, Urs Hunkeler wrote:
Dipti schrieb:
Hi all,
Are the functions delay( ),sleep( ), etc predefined in nesC.?
Thanks in advance.
I don't think so. While a program is sleeping, nothing else could
execute (it's not a multi-threading system).
You probably would
Hi i create an application that send message between 2 tmote Sky using Tinyos
1.1. Now i show datas by the command ..Listen: and i see a string like that:
7e 00 0a 7d 1a 01 00 14 00 01 00 10 00
where the last 2 bytes are the value of data.
I want to know if it is possible to show a string like
Hello all!
I want to transfer Micaz TOS_MSG transfer time to PC.
However, I don't know the setup method in Micaz's Surge application.
Could you know me about this??
Seeing AM.h, I found time, etc.
How is this using and setting up???
___
I would like to say that this is the most eloquent explanation I have seen
for the question of battery monitoring on motes.
On Mon, April 30, 2007 11:31 am, Steve McKown said:
Assuming you aren't periodically recharging your battery, you can use four
variables to give you a very rough idea of
Hi i read lesson 6 and i try to use it, but i have a question.
Can i show only one data on Oscilloscope GUI?+
the tutorial use a buffer of 10 data but i want to show only one data at one
time; i change the value of BUFFER_SIZE in OscopeMsg but this action caused
some error when showing data.
Hi Shanza,
I hope you don't mind me putting this discussion back to the list. Others in
the future may benefit from our discussion.
On Thursday 10 May 2007 09:35, shanza khan wrote:
Thank you but i am using Timer.fired().
I don't see a microsecond timer implemented for any tos2 platform.
It's been discussed before, but it's worth mentioning again.
Timer.fired is synchronous, which means after the corresponding hardware
interrupt signals, the application fired events goes through the task
queue. That means an arbitrary number tasks and an arbitrary amount of code
may execute
oh you know...that stupid little switch on the MIB510,
on the edge opposite from the serial connector...
It should be in the OFF position.
I believe that having programmed the device successfully
is evidence that the port and wiring are OK, but you could
double check all that. Beyond that I'd
I have that deja-vu feeling that I just posted thisa few times.
Have a look at tinyos-1.x/tools/src for some C examples of message reading.
MS
[EMAIL PROTECTED] wrote:
Hi i create an application that send message between 2 tmote Sky using Tinyos 1.1. Now i
show datas by the command
You probably need to change the GUI program to expect only
one sample in each message as well. Also trace through all
the places that the BUFFER_SIZE is used and make sure someone
hasn't made some silly assumption about it's size.
MS
[EMAIL PROTECTED] wrote:
Hi i read lesson 6 and i try to use
Actually I think JiffyTimer on micaz and SysTime on mica2 use the
ATMEGA Timer3 to make close to 1us timers. I discovered this after
I laboriously reinvented the wheel in my code at:
http://www.etantdonnes.com/Motes/AVR128timers.zip
But none of them use the Timer[x] sort of abstraction.
MS
Cory, thank you! I'm reminded of that old saying always ask why before you
ask how. Bit again...
Shanza, now you see the *real* reason I put this back on the list. ;^)
On Thursday 10 May 2007 11:56, Cory Sharp wrote:
It's been discussed before, but it's worth mentioning again.
Timer.fired
Hi,
On Wednesday 09 May 2007 03:59, Micfox Micfox wrote:
I have the following problem I need to solve and hope I can get some
advice from this mailing list.
Let me say I have a program called A (in C language). It can generate
some output (denoted as B). I need to pass B to the motes
I have noticed that compiling in cygwin is comparatively slower than in
linux. Is there a reason for that and a work around?
Thanks.
Affan.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
On May 10, 2007, at 3:18 PM, Affan Ahmed wrote:
I have noticed that compiling in cygwin is comparatively slower
than in linux. Is there a reason for that and a work around?
The reason is that Cygwin has to translate all of the UNIX system
calls into Windows system calls. There is no
Did you use the -p switch with your tossim compiled main.exe?
On 5/10/07, umar hafeez [EMAIL PROTECTED] wrote:
Hi,
I have a strange problem for my program that when i use power tossim, all
power values are stuck at 0.
Why/How would this happen and how can i go about fixing it?
Hi all,
I need to develop an application in which one of the Motes say mote1 is
programmed to send counter values on RF. The other mote say mote 2 has to be
programmed in such a way that when it receives a particular count say 10 from
the mote1 it shud send highs on 3 i/o pins for say x secs,
36 matches
Mail list logo