Hi! On Thu, 17 Jan 2008, David wrote:
'make telosb install' gets a similar error.You can fix this error by removing the VERSION = ... line from two files: tinyos-2.x/tools/platforms/msp430/pybsl/serial/__init__.py tinyos-2.x/tools/platforms/msp430/pybsl/serial/serialposix.py I'll investigate a way to also fix this.Thanks, that fixed the problem with install and reinstall. See attached the .gitignore file I created to filter out the files generated during the tinyos build. I would normally use wildcards but I didn't want to filter out anything important accidentally. One problem that came up during my test script, was that erasing the slots and injecting an image failed. My script originally ran the tos-deluge instructions immediately after each other without any problems, but it now looks like extra delays are required so that tos-deluge doesn't fail. Here is an example: ===== ERRORS START ===== (Some of these lines come from my script) Erasing all deluge slots... - Erasing slot 0... ERROR: Unable to erase the flash volume error: 5 data: [] - Erasing slot 1... ERROR: Unable to erase the flash volume error: 1 data: [] - Erasing slot 2... ERROR: Unable to erase the flash volume error: 1 data: [] - Erasing slot 3... ERROR: Unable to erase the flash volume error: 1 data: [] Injecting Golden Image into slot 0 on mote 0... Pinging node ... ERROR: Unable to retrieve the ident. Connected to Deluge nodes. ===== ERRORS END ===== Do you have a suggestion for how long to wait before calls to tos-deluge so there won't be errors? I'm using 5s now without errors, but I'm not sure how safe that is, or if it is too long (as fast as possible is nice for testing).
I just committed a fix that should allow the erase/inject to work without any additional delays. Let me know if it works well for you.
-- Razvan ME _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
