Re: [Tinyos-help] main.exe and ihex file questions

2008-12-30 Thread Jordi Soucheiron
The binary format is only a possible representation of the data. One program
can be seen in hex, binary, ascii or another representation you want. The
information will be exactly the same.

2008/12/30 BAI LI libai0...@gmail.com

 Hi All,

 After the compilation of nesC application, it generated a ihex file. When I
 open this file by eidtor, i got the following information:

 :104AB240805A20013F40D8533E4000113D4003
 :104A12110D9E0524FE4F1E530E9DFB2B20
 :104A20003F4002113D4023110D9F0524CF435C
 :104A30001F530F9DFB2B3040DA4D30403E4A001390
 :104A4000100050009000D000FF4212C390
 :104A5F100F110F115FF332C203437FF3304188
 .

 why the first five digits are always the same, what does these stand for?
 Anyone could help me to understand this ihex file? Thanks.

 Another question is since main.exe is the ELF executable output format ,
 how to compile the application into some binary format, like 1011010101
 format?

 Regards,
 Bai

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Jordi Soucheiron
Software Engineer

DEXMA
Riu de l'Or 35, ES-08034, Barcelona
t:/f: +34 93 280 19 18
www.dexmatech.com
jsouchei...@dexmatech.com
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] main.exe and ihex file questions

2008-12-30 Thread Aurelien Francillon
Hi Bai,

Le Tuesday 30 December 2008 05:57:48 BAI LI, vous avez écrit :
 Hi All,

 After the compilation of nesC application, it generated a ihex file. When I
...
 why the first five digits are always the same, what does these stand for?
 Anyone could help me to understand this ihex file? Thanks.

Well google gives some good hints :
http://www.scienceprog.com/shelling-the-intel-8-bit-hex-file-format/

 Another question is since main.exe is the ELF executable output format ,
 how to compile the application into some binary format, like 1011010101
 format?
you can use avr-objcopy to dump to raw binary format :
avr-objcopy -O binary main.exe main.bin

see binutils documentation  on objcopy for more details : 
http://sourceware.org/binutils/docs/binutils/index.html

Cheers,
Aurelien

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] main.exe and ihex file questions

2008-12-30 Thread Siirtola Harri
That's just normal ihex format, 10 stands for record length in hex (=16
decimal) etc. Google ihex format and you'll find out. What do you need
some other format for? ELF is good for downloading code with command
line tools, hex formats help with programming memory chips. You have
everything you need.
 
Regards,
 
Harri



From: tinyos-help-boun...@millennium.berkeley.edu
[mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of BAI LI
Sent: Tuesday, December 30, 2008 6:58 AM
To: Tinyos-Help
Subject: [Tinyos-help] main.exe and ihex file questions


Hi All,
 
After the compilation of nesC application, it generated a ihex file.
When I open this file by eidtor, i got the following information:
 
:104AB240805A20013F40D8533E4000113D4003
:104A12110D9E0524FE4F1E530E9DFB2B20
:104A20003F4002113D4023110D9F0524CF435C
:104A30001F530F9DFB2B3040DA4D30403E4A001390
:104A4000100050009000D000FF4212C390
:104A5F100F110F115FF332C203437FF3304188
.
 
why the first five digits are always the same, what does these stand
for? Anyone could help me to understand this ihex file? Thanks.
 
Another question is since main.exe is the ELF executable output format ,
how to compile the application into some binary format, like
1011010101 format?
 
Regards,
Bai
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Bootstrap loader synchronization error

2008-12-30 Thread Mohamad Amer Wafai

Hello Everybody,

I'm learning about TinyOS for the first time and I installed it under linux 
Ubuntu as mentioned in the website.
During installation of Blink application I got an error:

mkdir -p build/telosa
compiling BlinkAppC to a telosa binary
ncc -o build/telosa/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow 
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosa 
-fnesc-cfile=build/telosa/app.c -board= -DIDENT_PROGRAM_NAME=\BlinkAppC\ 
-DIDENT_USER_ID=\mohamad\ -DIDENT_HOSTNAME=\mohamad-laptop\ 
-DIDENT_USER_HASH=0xe1cb22faL -DIDENT_UNIX_TIME=0x49596ec8L 
-DIDENT_UID_HASH=0x59efa900L  BlinkAppC.nc -lm
compiled BlinkAppC to build/telosa/main.exe
2558 bytes in ROM
  55 bytes in RAM
msp430-objcopy --output-target=ihex build/telosa/main.exe build/telosa/main.ihex
writing TOS image
cp build/telosa/main.ihex build/telosa/main.ihex.out
found mote on /dev/ttyUSB0 (using bsl,auto)
installing telosa binary using bsl
tos-bsl --telos -c /dev/ttyUSB0 -r -e -I -p build/telosa/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...

An error occoured:
Bootstrap loader synchronization error
make: *** [program] Error 1

Could you please tell me what ithe problem is?

And if anybody has solutions of most frequently error happened?

Amer


_
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Thread BaseStation

2008-12-30 Thread Kevin Klues
Anymore updates on this?

Kevin

On Thu, Dec 18, 2008 at 10:00 PM, Yang Chen cheny...@cs.utah.edu wrote:
 Hi Mike,

 I tried nesC version on telosb, too. The problem is BlockingAMSend.send
 doesn't not return. More precisely, BlockingAMSend.send never comes back
 from SystemCall.start. I tried old version (before August), which worked
 for me. Maybe I made some mistake. I will try it later and see what the
 problem is. Thanks.

 - Yang

 Chieh-Jan (Mike) Liang wrote:
 I tried both nesC and C version on telosb, and they seem to be fine.
 What problems are you experiencing? What hardware platform are you  using?

 Mike

 On Dec 18, 2008, at 6:03 PM, cheny...@cs.utah.edu wrote:

 Hi all,

 Seems the thread-version of BaseStation from the current CVS doesn't
 work. Anybody tried it recently? Thank you.

 - Yang

 
 This message was sent using IMP, the Internet Messaging Program.
 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
~Kevin
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] missing functionality of support/sdk/java in support/sdk/c

2008-12-30 Thread Andrey Gursky
Hi!

I'm looking now for the implementation of java classes such as 
PhoenixSource, MoteIF in C/C++. With another words is there any project 
(may be some external) that gives a simple way to communicate with motes 
(real or simulated) from C/C++ program? The support of java and python 
is very well, of course. But for C/C++ (with exception of serial 
forwarder) this all seems to be missing. Hope, someone could point me to 
the solution, or the only way is to reprogram the presented sf?

Thanks,
Andrey
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] How can I make zero noise in Tossim?

2008-12-30 Thread Daehee Kim
Hi.

How can I make zero noise in Tossim ?

For example, let's suppose there are three nodes, 0, 1, 2.

I set gain value for all nodes

gain 0   1  -55
gain 0   2 -55
gain 1   0  -55
gain  1  2  -55
gain  2  0  -55
gain 2  1   -55

Also, I made noise.txt (noise file) with more than 100 values

-100
-100
-100
:
:

By using upper gain and noise files, all three nodes can communicate each
other.
Problem is sometimes data packet disappear among them.

Realistic modeling is very important for simulation, but in my case, data
packets should not be disappeared at any case.
Do you know how to make idealistic environment where all data packets cannot
drop on the air ?
I would appreciate your any help.

Thanks.

-- 
DaeHee(Danny) Kim
Department of Electrical Engineering and Computer Science(EECS), Wichita
State University
Cell Phone : 1-607-321-9574
email-address : dxk...@wichita.edu, dahki...@gmail.com
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyOs storage

2008-12-30 Thread Alireza pourranjbar
Hello All.

We are developing an image processing Application . we are going to
test out application on a sensor network like enviroment to measure
some aspecs.

we need to load the input data on some nodes (as a file)and use it
during simulation.

How can we load input data on the mote memory , and use it during simulation ?
ofcourse we know that we can use small , log , big object Abstractions
but that does not solve our problem.

Thanks.
Alireza Pourranjbar.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help