Hi All, 

I have tried to use DSP Motorola 56002 assembly to program MICA2. The nesC is 
not that good. I can work well using DSP on MICA2. 
Can some one help me to check other source which can be implemented on MICA2? 
For instance, the Atmel 89C51 assembly, just looks alike with DSP Assembly.
THanks!


An Feng
anderson.an.f...@aol.com




-----Original Message-----
From: tinyos-help-request <tinyos-help-requ...@millennium.berkeley.edu>
To: tinyos-help <tinyos-help@millennium.berkeley.edu>
Sent: Mon, Feb 18, 2013 11:16 pm
Subject: Tinyos-help Digest, Vol 118, Issue 38


Send Tinyos-help mailing list submissions to
tinyos-help@millennium.berkeley.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
or, via email, send a message with subject or body 'help' to
tinyos-help-requ...@millennium.berkeley.edu
You can reach the person managing the list at
tinyos-help-ow...@millennium.berkeley.edu
When replying, please edit your Subject line so it is more specific
han "Re: Contents of Tinyos-help digest..."

oday's Topics:
   1. the tree of CTP (Alpha Gama)
  2. Re: water level sensor (Brad Nickerson)
  3. Problems programming TelosB (quentin strydom)
  4. Re: Problems programming TelosB (Saeid Yazdani)
  5. Re: Problems programming TelosB (quentin strydom)

---------------------------------------------------------------------
Message: 1
ate: Mon, 18 Feb 2013 09:44:58 +0000 (GMT)
rom: Alpha Gama <alphag...@yahoo.fr>
ubject: [Tinyos-help] the tree of CTP
o: "tinyos-help@millennium.berkeley.edu"
<tinyos-help@millennium.berkeley.edu>
essage-ID:
<1361180698.86413.yahoomail...@web171505.mail.ir2.yahoo.com>
ontent-Type: text/plain; charset="utf-8"
Hi all,
 am working on CTP protocol implemented on tinyos-2.1 and I want to have the 
orm of the tree built by the protocol in each simulation.
an you help me pleaase.
hank you in advance.
------------- next part --------------
n HTML attachment was scrubbed...
RL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130218/599cbcdb/attachment-0001.htm
 

-----------------------------
Message: 2
ate: Mon, 18 Feb 2013 09:33:02 -0400
rom: Brad Nickerson <b...@unb.ca>
ubject: Re: [Tinyos-help] water level sensor
o: tinyos-help@millennium.berkeley.edu
essage-ID: <51222d8e.7020...@unb.ca>
ontent-Type: text/plain; charset="iso-8859-1"
Faruk:
   Yes, you can connect many different water level sensors to a mote with
nd extension (or expansion) board supports analog to digital conversion.
ne such example is presented in
Improving Responsiveness of Sensor Webs
y
e Deng
aster of Computer Science thesis
niversity of New Brunswick, Faculty of Computer Science
ovember, 2008
vailable at
  http://dspace.hil.unb.ca:8080/handle/1882/44162
This thesis uses a Mica2 mote with attached MDA300CA data acquisition
oard that, in turn, is connected to a WL400 water level sensor with 4 to
0 mA output.  Details of how to convert the 4 to 20 mA output of
he water level sensor to a useable analog voltage are presented in the
hesis.  Ke Deng's thesis uses TinyOS 1.1.15, but TinyOS 2.x can also be
sed.  One hardware setup we have found useful at UNB is that provided
y the Tinynode 584 and associated standard extension board.
Regards, Brad Nickerson
On 13-02-16 5:00 PM, Faruk Baturalp G?nay wrote:
 Hi again all,

 Do you know,can a water level sensor or indicator can be directly or 
 indirectly connected to a mote that has Tinyos?If it is,how it may 
 be?If you  could some details i'de pleased.Thanks from now.
-------------- next part --------------
n HTML attachment was scrubbed...
RL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130218/f97b77e4/attachment-0001.htm
 

-----------------------------
Message: 3
ate: Mon, 18 Feb 2013 14:19:21 +0000 (GMT)
rom: quentin strydom <quentinstryd...@yahoo.co.uk>
ubject: [Tinyos-help] Problems programming TelosB
o: "tinyos-help@millennium.berkeley.edu"
<tinyos-help@millennium.berkeley.edu>
essage-ID:
<1361197161.36071.yahoomail...@web133004.mail.ir2.yahoo.com>
ontent-Type: text/plain; charset="iso-8859-1"
Hi,
I'm having problems programming the TelosB. Can anyone help?
Thanks
Output as Follow:

 make telosb install,bsl

kdir -p build/telosb
?? compiling BlinkAppC to a telosb binary
cc -o build/telosb/main.exe? -Os -O -mdisable-hwmul -fnesc-separator=__ -Wall 
Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= 
DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" 
-DIDENT_USERNAME=\"qstrydom\" 
DIDENT_HOSTNAME=\"Quentin-PC\" -DIDENT_USERHASH=0x4acc32a1L 
DIDENT_TIMESTAMP=0x5122382fL -DIDENT_UIDHASH=0x864dcb78L? BlinkAppC.nc -lm 
?? compiled BlinkAppC to build/telosb/main.exe
?????????? 2648 bytes in ROM
???????????? 54 bytes in RAM
sp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
?? writing TOS image
os-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex 
uild/telosb/main.ihex build/telosb/main.ihex.out-bsl TOS_NODE_ID=bsl 
ctiveMessageAddressC__addr=bsl
ould not find symbol ActiveMessageAddressC__addr in build/telosb/main.exe, 
gnoring symbol.
ould not find symbol TOS_NODE_ID in build/telosb/main.exe, ignoring symbol.
?? found mote on /dev/ttyUSB0 (using bsl,auto)
?? installing telosb binary using bsl
os-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out-bsl
SP430 Bootstrap Loader Version: 1.39-telos-8
ass Erase...
An error occoured:
imeout
ake: *** [program] Error 1
------------- next part --------------
n HTML attachment was scrubbed...
RL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130218/09e65b4c/attachment-0001.htm
 

-----------------------------
Message: 4
ate: Mon, 18 Feb 2013 15:54:42 +0100
rom: Saeid Yazdani <sy.kal...@gmail.com>
ubject: Re: [Tinyos-help] Problems programming TelosB
o: tinyos-help@millennium.berkeley.edu
essage-ID: <512240b2.7080...@gmail.com>
ontent-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
RL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130218/dc55f7c1/attachment-0001.htm
 

-----------------------------
Message: 5
ate: Mon, 18 Feb 2013 15:13:53 +0000 (GMT)
rom: quentin strydom <quentinstryd...@yahoo.co.uk>
ubject: Re: [Tinyos-help] Problems programming TelosB
o: Saeid Yazdani <sy.kal...@gmail.com>,
"tinyos-help@millennium.berkeley.edu"
<tinyos-help@millennium.berkeley.edu>
essage-ID:
<1361200433.36618.yahoomail...@web133004.mail.ir2.yahoo.com>
ontent-Type: text/plain; charset="iso-8859-1"
I tried both and still the same, 3 different TelosB motes and 4 different usb 
orts. Added Debug output follows:
MSP430 Bootstrap Loader Version: 1.39-telos-8
ebug level set to 1
ython version: 2.7 (r27:82500, Sep 16 2010, 18:03:06) 
GCC 4.5.1 20100907 (Red Hat 4.5.1-3)]
sing serial port '/dev/ttyUSB0'
reparing device ...
ass Erase...
ransmit default password ...
ctions ...
nvoking BSL...
ransmit default password ...
utodetect successful: f16c -> F1x family
urrent bootstrap loader version: 1.61 (Device ID: f16c)
urrent bootstrap loader version: 0x0161
hanging baudrate to 38400 ...
ODO list:
? actionProgram
rogram ...
 Program starting at 0x4000, 224 bytes ...
 Program starting at 0x40e0, 224 bytes ...
 Program starting at 0x41c0, 224 bytes ...
 Program starting at 0x42a0, 224 bytes ...
 Program starting at 0x4380, 224 bytes ...
 Program starting at 0x4460, 224 bytes ...
 Program starting at 0x4540, 224 bytes ...
 Program starting at 0x4620, 224 bytes ...
 Program starting at 0x4700, 224 bytes ...
 Program starting at 0x47e0, 224 bytes ...
 Program starting at 0x48c0, 224 bytes ...
 Program starting at 0x49a0, 184 bytes ...
 Program starting at 0xffe0, 32 bytes ...
raceback (most recent call last):
 File "/usr/bin/tos-bsl", line 1619, in <module>
?? main()
 File "/usr/bin/tos-bsl", line 1583, in main
?? for f in todo: f()????????????????????????? #work through todo list
 File "/usr/bin/tos-bsl", line 1108, in actionProgram
?? self.programData(self.data, self.ACTION_PROGRAM)
 File "/usr/bin/tos-bsl", line 906, in programData
?? self.programBlk(currentAddr, seg.data[pstart:pstart+length], action)
 File "/usr/bin/tos-bsl", line 887, in programBlk
?? self.bslTxRx(self.BSL_TXBLK, addr, len(blkout), blkout)
 File "/usr/bin/tos-bsl", line 652, in bslTxRx
?? rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))? #Send frame
 File "/usr/bin/tos-bsl", line 438, in comTxRx
?? raise BSLException("Unknown header 0x%02x\nAre you downloading to RAM into 
n old device that requires the patch? Try option -U" % rxHeader)
_main__.BSLException: Unknown header 0xf0
re you downloading to RAM into an old device that requires the patch? Try 
ption -U


________________________________
From: Saeid Yazdani <sy.kal...@gmail.com>
o: tinyos-help@millennium.berkeley.edu 
ent: Monday, 18 February 2013, 14:54
ubject: Re: [Tinyos-help] Problems programming TelosB

 
mmm, looks like a hardware problem, have you tried with another telosb mote 
nd/or another USB portor system?
Regards,
aeid.
ww.eetutorials.com
On 18-2-2013 3:19 PM, quentin strydom wrote:
Hi,


I'm having problems programming the TelosB. Can anyone help?


Thanks


Output as Follow:




$ make telosb install,bsl



mkdir -p build/telosb
??? compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe? -Os -O -mdisable-hwmul
         -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb
         -fnesc-cfile=build/telosb/app.c -board=
         -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\"
         -DIDENT_USERNAME=\"qstrydom\" -DIDENT_HOSTNAME=\"Quentin-PC\"
         -DIDENT_USERHASH=0x4acc32a1L -DIDENT_TIMESTAMP=0x5122382fL
         -DIDENT_UIDHASH=0x864dcb78L? BlinkAppC.nc -lm 
??? compiled BlinkAppC to build/telosb/main.exe
??????????? 2648 bytes in ROM
????????????? 54 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
         build/telosb/main.ihex
??? writing TOS image
tos-set-symbols --objcopy msp430-objcopy --objdump
         msp430-objdump --target ihex build/telosb/main.ihex
         build/telosb/main.ihex.out-bsl TOS_NODE_ID=bsl
         ActiveMessageAddressC__addr=bsl
Could not find symbol ActiveMessageAddressC__addr in
         build/telosb/main.exe, ignoring symbol.
Could not find symbol TOS_NODE_ID in build/telosb/main.exe,
         ignoring symbol.
??? found mote on /dev/ttyUSB0 (using bsl,auto)
??? installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p
         build/telosb/main.ihex.out-bsl
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...

An error occoured:
Timeout
make: *** [program] Error 1




_______________________________________________
inyos-help mailing list Tinyos-help@millennium.berkeley.edu 
ttps://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
inyos-help mailing list
inyos-h...@millennium.berkeley.edu
ttps://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
------------- next part --------------
n HTML attachment was scrubbed...
RL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20130218/74b3f090/attachment.htm
 

-----------------------------
_______________________________________________
inyos-help mailing list
inyos-h...@millennium.berkeley.edu
ttps://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
End of Tinyos-help Digest, Vol 118, Issue 38
*******************************************

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

Reply via email to