hello all,
i am very new to tinyos and i need to get some fundamental knowledge. Sorry my question may seem like that of a novice, but i need help. i just installed tiny OS, but i would like to know how i can port it to an Atmega128 microprocessor. what i'm i expected to get as output if succesful. What features do i see in the output, can i make any changes to observe any kind of differences in my alterations.
thanks, help the soul that searches for knowledge.

[EMAIL PROTECTED] wrote:
Send Tinyos-help mailing list submissions to
tinyos-help@Millennium.Berkeley.EDU

To subscribe or unsubscribe via the World Wide Web, visit
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tinyos-help digest..."


Today's Topics:

1. TinyOs Help - TOSSIM (Marcus Phillips)
2. MTS400 packet length? (Zhengsu Gao)
3. Boomerang format flash (jagan nath)
4. Re: Packet format from PC to base mote through UART
([EMAIL PROTECTED])
5. "make: execvp: msp430-bsl: Permission denied" on Windows
(Andrew Hutchinson)
6. Re: Boomerang format flash (Joe Polastre)


----------------------------------------------------------------------

Message: 1
Date: Mon, 5 Jun 2006 15:31:48 -0400
From: "Marcus Phillips" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] TinyOs Help - TOSSIM
To: Tinyos-help@millennium.berkeley.edu
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Skipped content of type multipart/alternative-------------- next part --------------
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar C:/PROGRA~1/UCBS/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run build/pc/main.exe 30
Starting SimDriver...
Simulation random seed 918804064
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
at net.tinyos.sim.SimCommands.(SimCommands.java:64)
at net.tinyos.sim.SimDriver.(SimDriver.java:244)
at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Loading simulator plugins...
Creating TinyViz GUI...


Welcome to Tython. Type 'quit' to exit.
ESC on a line by itself will pause/resume the simulator.

>>> AUTORUN: Initializing simulation.
AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy -seed=918804064 -nodbgout 30
AUTORUN: Connecting...
SF enabled, 0 clients, 0 packets read, 0 packets written

SF enabled, 0 clients, 0 packets read, 0 packets written

SF enabled, 0 clients, 0 packets read, 0 packets written

SF enabled, 0 clients, 0 packets read, 0 packets written Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36)
at net.tinyos.packet.BrokenPacketizer.(BrokenPacketizer.java:58)
at net.tinyos.sim.packet.TossimSource.(TossimSource.java:44)
at net.tinyos.sim.packet.TossimSerialSource.(TossimSerialSource.java:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:503)
at net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:472)
at net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:463)
at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151)
at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
at net.tinyos.sf.SFListen.run(SFListen.java:84)
SimComm: TossimInitEvent received (30 motes)... initializing system.
SimComm: Pausing system for TossimInitEvent
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:118)
at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
at net.tinyos.packet.AbstractSource.open(AbstractSource.java:81)
at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
java.lang.NullPointerException
at net.tinyos.packet.AbstractSource.open(AbstractSource.java:82)
at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
AUTORUN: Simulation running.
-------------- next part --------------
mkdir -p build/pc
compiling TestTinyViz to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc -fnesc-cfile=build/pc/app.c -board=micasb -DIDENT_PROGRAM_NAME="TestTinyViz" -DIDENT_PROGRAM_NAME_BYTES="84,101,115,116,84,105,110,121,86,105,122,0" -DIDENT_USER_ID="jhemann" -DIDENT_USER_ID_BYTES="106,104,101,109,97,110,110,0" -DIDENT_HOSTNAME="DHE245-20" -DIDENT_HOSTNAME_BYTES="68,72,69,50,52,53,45,50,48,0" -DIDENT_USER_HASH=0x622543d3L -DIDENT_UNIX_TIME=0x448483abL TestTinyViz.nc -lm
gcc: unrecognized option `-pthread'
C:/PROGRA~1/UCBS/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In function `__nesc_nido_initialise':
C:/PROGRA~1/UCBS/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:724: warning: passing arg 1 of `memset' discards qualifiers from pointer target type
compiled TestTinyViz to build/pc/main.exe

------------------------------

Message: 2
Date: Mon, 5 Jun 2006 15:45:23 -0400
From: Zhengsu Gao <[EMAIL PROTECTED]>
Subject: [Tinyos-help] MTS400 packet length?
To: tinyos-help@Millennium.Berkeley.EDU
Message-ID:
<[EMAIL PROTECTED]>

Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060605/749653e2/attachment-0001.html

------------------------------

Message: 3
Date: Tue, 6 Jun 2006 01:15:44 +0530
From: "jagan nath" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] Boomerang format flash
To: tinyos-help@millennium.berkeley.edu
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I have formatted my flash in tinyos1.x using the TEstNewFlash format
application. Now Im trying to call mount.mount in my boomerang
application. It is not mounting.
Do I need to format the flash using "make tmote". but TestNewFlash
doesnt seem to be working in boomerang.
Is there any work around.....

-jagan


------------------------------

Message: 4
Date: Mon, 5 Jun 2006 15:53:05 -0400 (EDT)
From: [EMAIL PROTECTED]
Subject: [Tinyos-help] Re: Packet format from PC to base mote through
UART
To: tinyos-help@Millennium.Berkeley.EDU
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;charset=iso-8859-1


Hi Lei,

Are u trying to send the packet to Micaz using serial Forwarder and
Broadcast Inject. If not, What format are u using to send it???
Note: 10 represents the data length right?? so I think it should be 6 and
not 10. Also, since you are sending the packet to the UART so the
destination address should be the UART address.


My best regards,

Julia



-----------------------------------------------------------------------
>
> Hi, all
>
> I am trying to send a packet from a PC to a micaZ mote through serial
> cable.
> The packet looks like:
>
> 7e 42 ff ff 0 81 10 f f f f f f a1 21 7e
> header data crc
>
> (I put two random bytes in the crc field, but I think that's not a big
> problem since it doesn't filt out CRC-error packet.)
>
> At the mote, I read the received data in event TOS_MsgPrt
> UARTReveive.receive(TOS_MsgPrt Msg) {}. The header is correct, but
> Msg->data[0] is always the last CRC byte, here 0x21, and I didn't see the
> data section (0xf) in Msg.
>
> Did I make a right packet? How could I send data to base mote throught
> UART
> correctly?
>
> Thanks!
>
> Best,
> Lei Tang




------------------------------

Message: 5
Date: Mon, 5 Jun 2006 20:56:53 +0100
From: "Andrew Hutchinson" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] "make: execvp: msp430-bsl: Permission denied"
on Windows
To: tinyos-help@Millennium.Berkeley.EDU
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I've installed tinyos and all the extensions. When I compile make pc or
make telosb it creates the correct files.

When I try to install I get the following error. i'm using Windows xp /
cygwin

$ make telosb install
mkdir -p build/telosb
compiling Blink to a telosb binary
ncc -o build/telosb/main.exe -O -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
-Wnesc-al
l -target=telosb -fnesc-cfile=build/telosb/app.c -board= -I%T/lib/Deluge
-Wl,--s
ection-start=.text=0x4800,--defsym=_reset_vector__=0x4000
-DIDENT_PROGRAM_NAME=\
"Blink\" -DIDENT_USER_ID=\"user\" -DIDENT_HOSTNAME=\"COMPUTER\"
-DIDENT_USER_HAS
H=0x0e7f6315L -DIDENT_UNIX_TIME=0x4484899bL -DIDENT_UID_HASH=0xca8cf0e0L
-mdisab
le-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio Blink.nc -lm
compiled Blink to build/telosb/main.exe
2634 bytes in ROM
40 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
writing TOS image
cp build/telosb/main.ihex build/telosb/main.ihex.out
found mote on COM8 (using bsl,auto)
installing telosb bootloader using bsl
msp430-bsl --telosb -c 7 -r -e -I -p C:/Progra~1/cygwin/opt/tinyos-1.x
/tos/lib/D
eluge/TOSBoot/build/telosb/main.ihex
make: execvp: msp430-bsl: Permission denied
make: *** [program_bl] Error 127

I'm compiling for tmote sky. My output from toscheck is as follows:


toscheck completed with errors:

--> WARNING: No avr-gcc in current path.
--> WARNING: avr-gcc not found.
--> WARNING: The JAVA version found first by toscheck may not be version 1.4whi
ch is required by TOS. Please ensure that the located Java version is 1.4
Depending on your PATH environment variable, there is often a 1.2 version
of ja
va.exe in c:\windows\system32 that is "seen" first. Check that this is
version 1
.4 or reconfigure your PATH environment variable if this is the case.
--> WARNING: No uisp in current path.
--> WARNING: toscheck couldn't find the uisp program. Uisp is used to
program th
e motes. Please install uisp version 20030820tinyos which can be found in
the T
inyOS 1.1.0 distribution.
--> WARNING: No avr-as in current path.
--> WARNING: Couldn't find avr-as. Please install avr-binutils version
2.13.2.1

I'm really stuck on this one..

Many thanks

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060605/d2ca1a9f/attachment-0001.htm

------------------------------

Message: 6
Date: Mon, 5 Jun 2006 13:04:54 -0700
From: "Joe Polastre" <[EMAIL PROTECTED]>
Subject: Re: [Tinyos-help] Boomerang format flash
To: "jagan nath" <[EMAIL PROTECTED]>
Cc: tinyos-help@millennium.berkeley.edu
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

You should be able to compile

/opt/tinyos-1.x/apps/TestDeluge/FormatFlash

with

make tmote

-Joe

On 6/5/06, jagan nath <[EMAIL PROTECTED]>wrote:
> I have formatted my flash in tinyos1.x using the TEstNewFlash format
> application. Now Im trying to call mount.mount in my boomerang
> application. It is not mounting.
> Do I need to format the flash using "make tmote". but TestNewFlash
> doesnt seem to be working in boomerang.
> Is there any work around.....
>
> -jagan
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


End of Tinyos-help Digest, Vol 38, Issue 12
*******************************************


Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to