Hi!
On Fri, 22 Jan 2010, Erwing Sánchez wrote:
Thank you Razvan, it works impeccably with the latest update.
Great! :-)
--
Razvan ME
On Thu, Jan 21, 2010 at 6:07 PM, Razvan Musaloiu-E. <razv...@cs.jhu.edu>wrote:
Hi!
Can you please make sure you are running la latest CVS/GIT? In my attempt
to fix some issues with micaz I managed to break telos. Now it should be
fine. The commit that restores the proper behavior is this one:
http://hinrg.cs.jhu.edu/git/?p=tinyos-2.x.git;a=commit;h=809036bc77a8366b0f9aa2d78cdcacdcc4dc1379
--
Razvan ME
On Thu, 21 Jan 2010, Erwing Sánchez wrote:
Hi,
is the erase command implemented for Deluge T2? it is possible to overwrite
an image and disseminate it?
I'm working with telosb nodes in linux., and I'm having problems replacing
an existing image.
If I use the erase command for erasing the first image, I get the expected
answer, but the image doesn't seem to be erased since the ping command is
able to find it, e.g.:
$ tos-deluge serial@/dev/ttyUSB0:115200 -e 1
Flushing the serial port..
Checking if node is a Deluge T2 base station ...
Image number 1 erased
$ tos-deluge serial@/dev/ttyUSB0:115200 -p 1
Flushing the serial port..
Checking if node is a Deluge T2 base station ...
Pinging node ...
--------------------------------------------------
Currently Executing:
Prog Name: BasestationAppC
UID: 0x701A61FE
Compiled On: Thu Jan 21 17:30:07 2010
Node ID: 0
Stored image 1
Prog Name: BlinkAppC
UID: 0xA606F84D
Compiled On: Thu Jan 01 01:00:00 1970
Platform:
User ID: erH
Host Name:
User Hash: 0x00000000
Size: 33504
Num Pages: 30
--------------------------------------------------
If, after, I try to write a new image in volume 1, tos-deluge tries to
replace the image, but in the summary the Prog Name is wrong and a
subsequent ping command shows that there isn't a valid image in the
volume.
$ tos-deluge serial@/dev/ttyUSB0:115200 -i 1 build/telosb/tos_image.xml
Flushing the serial port..
Checking if node is a Deluge T2 base station ...
Pinging node ...
Connected to Deluge nodes.
--------------------------------------------------
Stored image 1
Prog Name: BlinkAppC
UID: 0xA606F84D
Compiled On: Thu Jan 01 01:00:00 1970
Platform:
User ID: erH
Host Name:
User Hash: 0x00000000
Size: 33504
Num Pages: 30
--------------------------------------------------
Create image: /usr/local/bin/tos-build-deluge-image -i 1
build/telosb/tos_image.xml
Ihex read complete:
39418 bytes starting at 0x4A00
32 bytes starting at 0xFFE0
39450 bytes in 2 sections
CRCs:
0xB6B9 0xDA78 0xA4F7 0x3489 0x4A40 0xBA10 0x11BD
0xAF51 0x24A5 0x9846 0x785A 0x5E7B 0x3274 0x0910
0x7757 0x3564 0x8F06 0x9BF2 0xECAD 0x2747 0x0B75
0x72C0 0x78AD 0x3A03 0xBE0B 0x0B15 0x3388 0x204D
0xA156 0xC5C3 0x006C 0xA446 0xF9CD 0x9B7E 0x821E
0xF380
--------------------------------------------------
40128 bytes in 29.10 seconds (1378.8893 bytes/s)
--------------------------------------------------
Replace image with:
Prog Name: b`...@`pa
UID: 0x2002604C
Compiled On: Thu Jan 01 01:00:00 1970
Platform:
User ID: erH
Host Name:
User Hash: 0x00000000
Size: 32960
Num Pages: 4
--------------------------------------------------
$ tos-deluge serial@/dev/ttyUSB0:115200 -p 1
Flushing the serial port..
Checking if node is a Deluge T2 base station ...
Pinging node ...
--------------------------------------------------
Currently Executing:
Prog Name: BasestationAppC
UID: 0x701A61FE
Compiled On: Thu Jan 21 17:30:07 2010
Node ID: 0
No valid image was detected.
--------------------------------------------------
Any ideas for solving this behavior?
thanks,
Erwing
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help