Hi!

There was a bug the way the CRC computation was handled for at45db which prevented the new image checks we put Deluge T2 from running properly. Can you try the latest CVS and see if it works well now?

Note: I noticed one strange case. It's like this: I inject an image, I erase it and then I try to inject it again. In this case the image should be detected as broken but all the CRC checking are passing which means the data was not actually erased. I'll look into this later.

--
Razvan ME

On Sun, 23 Dec 2007, J. Ryan Stinnett wrote:

I've been testing out the updated Deluge on CVS (as of today), and I think there might be a problem with the recent changes. I can only ping a given image right after injecting it. Once I reboot into the image, ping no longer works. I'm working with the micaz platform, so perhaps that is part of the issue. Here's what I did, inside the directory for GoldenImage:

$ make micaz install mib510,/dev/ttyUSB0
(installs successfully)
$ tos-deluge /dev/ttyUSB1 micaz -i 0 build/micaz/tos_image.xml
Pinging node ...
Connected to Deluge nodes.
WARNING: Invalid image format detected
--------------------------------------------------
Ihex read complete:
 Total bytes = 31364
 Sections = 1
--------------------------------------------------
32032 bytes in 49.85 seconds (642.6270 bytes/s)
--------------------------------------------------
Replace image with:
 Prog Name:   GoldenImageC
 Compiled On: Sun Dec 23 08:45:30 2007
 Platform:    micaz
 User ID:     Ryan
 Host Name:   RyanTab
 User Hash:   0x707df8d3L
 Num Pages:   29/29

 Size:        32032
 UID:         3369877168
 Version:     0
--------------------------------------------------
$ tos-deluge /dev/ttyUSB1 micaz -p 0
Pinging node ...
Connected to Deluge node.
--------------------------------------------------
Currently Executing:
 UID:         3369877168
Stored image 0
 Prog Name:   GoldenImageC
 Compiled On: Sun Dec 23 08:45:30 2007
 Platform:    micaz
 User ID:     Ryan
 Host Name:   RyanTab
 User Hash:   0x707df8d3L
 Num Pages:   29/29

 Size:        32032
 UID:         3369877168
 Version:     0
--------------------------------------------------
$ tos-deluge /dev/ttyUSB1 micaz -b 0
Command sent
$ tos-deluge /dev/ttyUSB1 micaz -p 0
Pinging node ...
WARNING: Invalid image format detected

Thanks,
Ryan

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to