X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=doc%2Fhtml%2Fupgrade-tinyos.html;h=116c85a860ef659a641c37ee51a17f101f5a7369;hb=9aa24d53100071ed9e1ff3b47e9f73e12082c5cb;hp=bc799923a3e3a8795cc1e354e7f976781a174a54;hpb=9c7aac772d933a7e532a697caa327ba491c088f0;p=tinyos-2.x.git diff --git a/doc/html/upgrade-tinyos.html b/doc/html/upgrade-tinyos.html index bc799923..116c85a8 100644 --- a/doc/html/upgrade-tinyos.html +++ b/doc/html/upgrade-tinyos.html @@ -2,13 +2,13 @@
-
This document describes how to upgrade your TinyOS 1.x environment to
a TinyOS 2.x environment. This requires that you not only install the
@@ -157,11 +157,17 @@ only installing a 2.x tree, you can use rpm -Uvh
.
If you using the Cygwin version recommended
in these install
instructions, you should install the "Recommended" Windows/Cygwin
-nesC RPM.
-Try installing it and if it does not work (e.g., you
-get strange errors when you try to execute it), this may be due
+nesC RPM.
+If you
+get strange errors when you try to compile TinyOS programs,
+such as the error message "the procedure entry point basename could not be located
+in the dynamic link library cygwin1.dll", this is likely due
to a Cygwin version incompatibility: try the "Other" Windows/Cygwin
-RPM (1.2.7a).
+RPM. If you are using Cygwin and installing the nesC RPM
+causes an error that the RPM was built for Cygwin, add the --ignoreos
+option.
+
+
@@ -183,13 +189,20 @@ RPM (1.2.7a).
rpm -Uvh
rpm -Uvh --ignoreos
(if Cygwin complains)rpm -ivh --force
(1.x tree)rpm -Uvh
(no 1.x tree)rpm -ivh --force
(1.x tree)rpm -Uvh
(no 1.x tree)chmod 666 /dev/<devicename>
groups:
-->
+Finally, if you have installed TinyOS 2.0.1, there is a bug in TOSSIM (which will be fixed in 2.0.2). +The bug is in file tos/chips/atm128/sim/atm128_sim.h. Change these lines 22 and 23 from: + +
+#define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr) + 0x20) +#define _SFR_IO16(io_addr) _MMIO_WORD((io_addr) + 0x20) ++ +to + +
+#define _SFR_IO8(io_addr) _MMIO_BYTE((io_addr)) +#define _SFR_IO16(io_addr) _MMIO_WORD((io_addr)) ++ +If you do not do this, then timers will not work correctly.