<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rtime.felk.cvut.cz/hw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Auersm1</id>
	<title>HW wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rtime.felk.cvut.cz/hw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Auersm1"/>
	<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php/Special:Contributions/Auersm1"/>
	<updated>2026-05-22T01:44:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Parkinsons_disease_monitoring_project&amp;diff=3108</id>
		<title>Parkinsons disease monitoring project</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Parkinsons_disease_monitoring_project&amp;diff=3108"/>
		<updated>2007-09-13T23:40:11Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;background-color: #DCDDF6; width:200px; border: solid #BA0000 1px; float: right; padding: 1em; margin-top: 4em; margin-right: 2em; margin-left: 2em&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aktuální práce - úkoly v sekci &amp;quot;Tasks&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Project definition&#039;&#039;&#039; ==&lt;br /&gt;
Wireless sensor motes placed on limbs (legs, arms) transmit periodically measured data to a central node for storing and evaluation. Once a day (or in predefined period) data from central node is downloaded to PC or PDA for analysis and computation of feedback in the form of brain stimulation or appropriate dose of medicine. &amp;lt;BR&amp;gt;&lt;br /&gt;
Central node stores received data from wireless sensor motes with time stamps to embedded memory card (MMC, SD, CF or similar). Central node consists of 802.15.4/ZigBee radio chip, MCU and memory card. Central node can be wear on belt therefore its size is not so important. Wireless sensor mote includes 802.15.4/ZigBee radio chip, MCU and accelerometer and should be worn on wrist similar a watch is weared. This motes should be as small as possible.&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
[http://rtime.felk.cvut.cz/hw/images/e/e1/Spec_ParkinsonsDisease.pdf Project specification link]&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;CENTER&amp;gt;[[Image:Body.png]]&amp;lt;/CENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Developing phase&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Extension boards with accelerometers ===&lt;br /&gt;
&lt;br /&gt;
PCB design was created in OrCAD 10.3. PCB was made by firm Pragoboard (PCB producer) and soldered manually.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Analog accelerometer MMA7260Q (Freescale)&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: 3-Axis, selectable sensitivity 1.5g/2g/4g/6g, low current consumption 500 μA, low voltage operation 2.2V-3.6V, high sensitivity (800mV/g @1.5g)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p align=&amp;quot;left&amp;quot;&amp;gt;[[Image:telosb&amp;amp;MMA.jpg]]&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Digital accelerometer LIS3LV02DQ (ST)&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: 3-Axis, selectable sensitivity 2g/6g, 2.16V-3.6V single supply operation, 1.8V compatible IOs, I2C/SPI digital output interfaces, programable 12 or 16bit data representation&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p align=&amp;quot;left&amp;quot;&amp;gt;[[Image:telosb&amp;amp;LIS.jpg]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Application DataSendAccel ===&lt;br /&gt;
&lt;br /&gt;
Program for the Tmote Sky module with the accelerometer&#039;s extension board is developed by using TinyOS/nesC and open-ZB protocol stack designed at Polytechnical Institute of Porto.&amp;lt;br&amp;gt;&lt;br /&gt;
Program is based on the example application DataSendExample (created by André Cunha). The devices already have a short address meaning they are associated with the PAN coordinator. It&#039;s possible to associate three devices with accelerometer&#039;s extension board.&amp;lt;br&amp;gt;&lt;br /&gt;
Sensor&#039;s data are read, processed and send via IEEE 802.15.4 protocol during the CAP period using the CSMA/CA in data frame of packet. Coordinator receives and processes packet, sensor&#039;s data places in data frame of TinyOS message and the message send over the USB to computer. By means of drivers &amp;quot;USB to serial comm port&amp;quot; we can read data from USB as well as from serial port.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TinyOS files:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;datasendaccel.h&#039;&#039; - definitions and variables&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;DataSendAccel.nc&#039;&#039; - the configuration component, file containing the top-level configuration&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;DataSendAccelM.nc&#039;&#039; - the module component, contains implementation and own program for two different operation modes depending if the device is the coordinator or not&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;mma7260q.h&#039;&#039; - header file with the configuration of connecting external sensor&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;TRead.h&#039;&#039; - header file with structure&#039;s definition of TinyOS message&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;LocalTime.h, LocalTime.nc, LocalTimeC.nc, LocalTimeM.nc, LocalTimeInfo.nc, AbsoluteTimer.nc&#039;&#039; - interfaces, configuration and implementation of reading the Tmote&#039;s local time and its conversing to milliseconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== C# application ===&lt;br /&gt;
The application in C# is running on computer and proccesing and displaying the received data from the USB/serial port.&amp;lt;br&amp;gt;&lt;br /&gt;
Application uses class handles of the bit and hexadecimal manipulations. And the ZedGraph module. It&#039;s a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;CENTER&amp;gt;[[Image:CollectDataAppl_Csharp.jpg]]&amp;lt;/CENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Application form:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Connect&#039;&#039; - open port connection&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Disconnect&#039;&#039; - close port connection&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Port scan&#039;&#039; - find active ports&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Test&#039;&#039; - one-shot depiction of collected sensor&#039;s data&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Graph&#039;&#039; - on/off graphical representation&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;Tasks&#039;&#039;&#039; ==&lt;br /&gt;
* osadit 3x akcelerometr (analogove)&lt;br /&gt;
* otestovat digitalni akcelerometr (I2C)&lt;br /&gt;
* topologie hvezda - 1x PAN Coordinator, 3x slaves&lt;br /&gt;
* program (C, Java) na ukladani sebranych dat do textoveho souboru&lt;br /&gt;
* asociace/disasociace do PAN&lt;br /&gt;
* GTS - otestovat a porovnat s CSMA/CA&lt;br /&gt;
* ztratovost paketu - najit slabe misto&lt;br /&gt;
* chybovost paketu&lt;br /&gt;
* casova synchronizace mezi slaves (synchronization between wireless sensor motes and central node: common time for the samples capture)&lt;br /&gt;
* aktualizovat WiKi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;SW &amp;amp; Documentation&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.cadence.com/products/orcad/index.aspx OrCAD 10.3]&lt;br /&gt;
* [http://www.tinyos.net/ TinyOS 1.1.15 (Dec 2005)]&lt;br /&gt;
* [http://nescc.sourceforge.net/ nesC 1.2.7a]&lt;br /&gt;
* [http://www.open-zb.net/ An IEEE 802.15.4/Zigbee protocol implementation v1.2 (in nesC/TinyOS)]&lt;br /&gt;
* [http://msdn2.microsoft.com/en-us/evalcenter/bb188238.aspx Microsoft Visual Studio 2005] &lt;br /&gt;
* [http://zedgraph.org/wiki/index.php?title=Main_Page ZedGraph]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;HW &amp;amp; Documentation&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.moteiv.com/products/tmotesky.php Tmote Sky (TelosB platform)]&lt;br /&gt;
* [http://www.alldatasheet.com/datasheet-pdf/pdf/117096/STMICROELECTRONICS/LIS3LV02DQ.html LIS3LV02DQ (ST) - 3-Axis 2g/6g digital accelerometer]&lt;br /&gt;
* [http://www.alldatasheet.com/datasheet-pdf/pdf/103487/MOTOROLA/MMA7260Q.html MMA7260Q (Freescale) - 3-Axis 1.5g-6g analog accelerometer]&lt;br /&gt;
* For central unit we can use  [http://www.vinculum.com/prd_vnc1l.html VNC1L] - it is USB host controler. Its perfect way how to storage data on USB disks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;Other Links&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.pragoboard.cz/ PragoBoard s.r.o. - PCB producer]&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Parkinsons_disease_monitoring_project&amp;diff=3107</id>
		<title>Parkinsons disease monitoring project</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Parkinsons_disease_monitoring_project&amp;diff=3107"/>
		<updated>2007-09-13T23:36:29Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;background-color: #DCDDF6; width:200px; border: solid #BA0000 1px; float: right; padding: 1em; margin-top: 4em; margin-right: 2em; margin-left: 2em&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aktuální práce - úkoly v sekci &amp;quot;Tasks&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Project definition&#039;&#039;&#039; ==&lt;br /&gt;
Wireless sensor motes placed on limbs (legs, arms) transmit periodically measured data to a central node for storing and evaluation. Once a day (or in predefined period) data from central node is downloaded to PC or PDA for analysis and computation of feedback in the form of brain stimulation or appropriate dose of medicine. &amp;lt;BR&amp;gt;&lt;br /&gt;
Central node stores received data from wireless sensor motes with time stamps to embedded memory card (MMC, SD, CF or similar). Central node consists of 802.15.4/ZigBee radio chip, MCU and memory card. Central node can be wear on belt therefore its size is not so important. Wireless sensor mote includes 802.15.4/ZigBee radio chip, MCU and accelerometer and should be worn on wrist similar a watch is weared. This motes should be as small as possible.&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
[http://rtime.felk.cvut.cz/hw/images/e/e1/Spec_ParkinsonsDisease.pdf Project specification link]&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;CENTER&amp;gt;[[Image:Body.png]]&amp;lt;/CENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Developing phase&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Extension boards with accelerometers ===&lt;br /&gt;
&lt;br /&gt;
PCB design was created in OrCAD 10.3. PCB was made by firm Pragoboard (PCB producer) and soldered manually.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Analog accelerometer MMA7260Q (Freescale)&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: 3-Axis, selectable sensitivity 1.5g/2g/4g/6g, low current consumption 500 μA, low voltage operation 2.2V-3.6V, high sensitivity (800mV/g @1.5g)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p align=&amp;quot;left&amp;quot;&amp;gt;[[Image:telosb&amp;amp;MMA.jpg]]&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Digital accelerometer LIS3LV02DQ (ST)&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: 3-Axis, selectable sensitivity 2g/6g, 2.16V-3.6V single supply operation, 1.8V compatible IOs, I2C/SPI digital output interfaces, programable 12 or 16bit data representation&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p align=&amp;quot;left&amp;quot;&amp;gt;[[Image:telosb&amp;amp;LIS.jpg]]&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Application DataSendAccel ===&lt;br /&gt;
&lt;br /&gt;
Program for the Tmote Sky module with the accelerometer&#039;s extension board is developed by using TinyOS/nesC and open-ZB protocol stack designed at Polytechnical Institute of Porto.&amp;lt;br&amp;gt;&lt;br /&gt;
Program is based on the example application DataSendExample (created by André Cunha). The devices already have a short address meaning they are associated with the PAN coordinator. It&#039;s possible to associate three devices with accelerometer&#039;s extension board.&amp;lt;br&amp;gt;&lt;br /&gt;
Sensor&#039;s data are read, processed and send via IEEE 802.15.4 protocol during the CAP period using the CSMA/CA in data frame of packet. Coordinator receives and processes packet, sensor&#039;s data places in data frame of TinyOS message and the message send over the USB to computer. By means of drivers &amp;quot;USB to serial comm port&amp;quot; we can read data from USB as well as from serial port.&amp;lt;br&amp;gt;&lt;br /&gt;
The application in C# is running on computer and proccesing and displaying the received data from the USB/serial port.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TinyOS files:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;datasendaccel.h&#039;&#039; - definitions and variables&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;DataSendAccel.nc&#039;&#039; - the configuration component, file containing the top-level configuration&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;DataSendAccelM.nc&#039;&#039; - the module component, contains implementation and own program for two different operation modes depending if the device is the coordinator or not&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;mma7260q.h&#039;&#039; - header file with the configuration of connecting external sensor&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;TRead.h&#039;&#039; - header file with structure&#039;s definition of TinyOS message&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;LocalTime.h, LocalTime.nc, LocalTimeC.nc, LocalTimeM.nc, LocalTimeInfo.nc, AbsoluteTimer.nc&#039;&#039; - interfaces, configuration and implementation of reading the Tmote&#039;s local time and its conversing to milliseconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== C# application ===&lt;br /&gt;
Application uses class handles of the bit and hexadecimal manipulations. And the ZedGraph module. It&#039;s a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;CENTER&amp;gt;[[Image:CollectDataAppl_Csharp.jpg]]&amp;lt;/CENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Application form:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Connect&#039;&#039; - open port connection&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Disconnect&#039;&#039; - close port connection&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Port scan&#039;&#039; - find active ports&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Test&#039;&#039; - one-shot depiction of collected sensor&#039;s data&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Graph&#039;&#039; - on/off graphical representation&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;Tasks&#039;&#039;&#039; ==&lt;br /&gt;
* osadit 3x akcelerometr (analogove)&lt;br /&gt;
* otestovat digitalni akcelerometr (I2C)&lt;br /&gt;
* topologie hvezda - 1x PAN Coordinator, 3x slaves&lt;br /&gt;
* program (C, Java) na ukladani sebranych dat do textoveho souboru&lt;br /&gt;
* asociace/disasociace do PAN&lt;br /&gt;
* GTS - otestovat a porovnat s CSMA/CA&lt;br /&gt;
* ztratovost paketu - najit slabe misto&lt;br /&gt;
* chybovost paketu&lt;br /&gt;
* casova synchronizace mezi slaves (synchronization between wireless sensor motes and central node: common time for the samples capture)&lt;br /&gt;
* aktualizovat WiKi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;SW &amp;amp; Documentation&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.cadence.com/products/orcad/index.aspx OrCAD 10.3]&lt;br /&gt;
* [http://www.tinyos.net/ TinyOS 1.1.15 (Dec 2005)]&lt;br /&gt;
* [http://nescc.sourceforge.net/ nesC 1.2.7a]&lt;br /&gt;
* [http://www.open-zb.net/ An IEEE 802.15.4/Zigbee protocol implementation v1.2 (in nesC/TinyOS)]&lt;br /&gt;
* [http://msdn2.microsoft.com/en-us/evalcenter/bb188238.aspx Microsoft Visual Studio 2005] &lt;br /&gt;
* [http://zedgraph.org/wiki/index.php?title=Main_Page ZedGraph]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;HW &amp;amp; Documentation&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.moteiv.com/products/tmotesky.php Tmote Sky (TelosB platform)]&lt;br /&gt;
* [http://www.alldatasheet.com/datasheet-pdf/pdf/117096/STMICROELECTRONICS/LIS3LV02DQ.html LIS3LV02DQ (ST) - 3-Axis 2g/6g digital accelerometer]&lt;br /&gt;
* [http://www.alldatasheet.com/datasheet-pdf/pdf/103487/MOTOROLA/MMA7260Q.html MMA7260Q (Freescale) - 3-Axis 1.5g-6g analog accelerometer]&lt;br /&gt;
* For central unit we can use  [http://www.vinculum.com/prd_vnc1l.html VNC1L] - it is USB host controler. Its perfect way how to storage data on USB disks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;Other Links&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.pragoboard.cz/ PragoBoard s.r.o. - PCB producer]&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=File:CollectDataAppl_Csharp.jpg&amp;diff=3106</id>
		<title>File:CollectDataAppl Csharp.jpg</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=File:CollectDataAppl_Csharp.jpg&amp;diff=3106"/>
		<updated>2007-09-13T22:52:16Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=File:Telosb%26LIS.jpg&amp;diff=3105</id>
		<title>File:Telosb&amp;LIS.jpg</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=File:Telosb%26LIS.jpg&amp;diff=3105"/>
		<updated>2007-09-13T22:50:51Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=File:Telosb%26MMA.jpg&amp;diff=3104</id>
		<title>File:Telosb&amp;MMA.jpg</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=File:Telosb%26MMA.jpg&amp;diff=3104"/>
		<updated>2007-09-13T22:50:41Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Parkinsons_disease_monitoring_project&amp;diff=3103</id>
		<title>Parkinsons disease monitoring project</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Parkinsons_disease_monitoring_project&amp;diff=3103"/>
		<updated>2007-09-13T22:32:00Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;background-color: #DCDDF6; width:200px; border: solid #BA0000 1px; float: right; padding: 1em; margin-top: 4em; margin-right: 2em; margin-left: 2em&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aktuální práce - úkoly v sekci &amp;quot;Tasks&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Project definition&#039;&#039;&#039; ==&lt;br /&gt;
Wireless sensor motes placed on limbs (legs, arms) transmit periodically measured data to a central node for storing and evaluation. Once a day (or in predefined period) data from central node is downloaded to PC or PDA for analysis and computation of feedback in the form of brain stimulation or appropriate dose of medicine. &amp;lt;BR&amp;gt;&lt;br /&gt;
Central node stores received data from wireless sensor motes with time stamps to embedded memory card (MMC, SD, CF or similar). Central node consists of 802.15.4/ZigBee radio chip, MCU and memory card. Central node can be wear on belt therefore its size is not so important. Wireless sensor mote includes 802.15.4/ZigBee radio chip, MCU and accelerometer and should be worn on wrist similar a watch is weared. This motes should be as small as possible.&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
[http://rtime.felk.cvut.cz/hw/images/e/e1/Spec_ParkinsonsDisease.pdf Project specification link]&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;CENTER&amp;gt;[[Image:Body.png]]&amp;lt;/CENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Developing phase&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Application DataSendAccel ===&lt;br /&gt;
Program for the Tmote Sky module with the accelerometer&#039;s extension board is developed by using TinyOS/nesC and open-ZB protocol stack designed at Polytechnical institute of Porto.&amp;lt;br&amp;gt;&lt;br /&gt;
Program is based on the example application DataSendExample (created by André Cunha). The devices already have a short address meaning they are associated with the PAN coordinator.&amp;lt;br&amp;gt;&lt;br /&gt;
It&#039;s possible to associate three devices with accelerometer&#039;s extension board.&amp;lt;br&amp;gt;&lt;br /&gt;
Sensor&#039;s data are read, processed and send via IEEE 802.15.4 protocol during the CAP period using the CSMA/CA in data frame of packet. Coordinator receives packet, sensor&#039;s data place in data frame of TinyOS message and the message send over the USB to computer.&amp;lt;br&amp;gt;&lt;br /&gt;
By means of drivers &amp;quot;USB to serial comm port&amp;quot; we can read data from USB as well as from serial port. The application in C# is running on computer and proccesing and displaying the received data from the USB/serial port.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TinyOS files:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;datasendaccel.h&#039;&#039; - definitions and variables&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;DataSendAccel.nc&#039;&#039; - the configuration component, file containing the top-level configuration&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;DataSendAccelM.nc&#039;&#039; - the module component, contains implementation and own program for two different operation modes depending if the device is the coordinator or not&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;mma7260q.h&#039;&#039; - header file with the configuration of connecting external sensor&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;TRead.h&#039;&#039; - header file with structure&#039;s definition of TinyOS message&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;LocalTime.h, LocalTime.nc, LocalTimeC.nc, LocalTimeM.nc, LocalTimeInfo.nc, AbsoluteTimer.nc&#039;&#039; - interfaces, configuration and implementation of reading and conversion the Tmote&#039;s local time&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== C# application ===&lt;br /&gt;
Application uses class handles of the bit and hexadecimal manipulations. And the ZedGraph module. It&#039;s a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets.&lt;br /&gt;
&lt;br /&gt;
Application form:&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Connect&#039;&#039; - open port connection&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Disconnect&#039;&#039; - close port connection&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Port scan&#039;&#039; - find active ports&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Test&#039;&#039; - one-shot depiction of collected sensor&#039;s data&amp;lt;br&amp;gt;&lt;br /&gt;
: &#039;&#039;Graph&#039;&#039; - on/off graphical representation&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;Tasks&#039;&#039;&#039; ==&lt;br /&gt;
* osadit 3x akcelerometr (analogove)&lt;br /&gt;
* otestovat digitalni akcelerometr (I2C)&lt;br /&gt;
* topologie hvezda - 1x PAN Coordinator, 3x slaves&lt;br /&gt;
* program (C, Java) na ukladani sebranych dat do textoveho souboru&lt;br /&gt;
* asociace/disasociace do PAN&lt;br /&gt;
* GTS - otestovat a porovnat s CSMA/CA&lt;br /&gt;
* ztratovost paketu - najit slabe misto&lt;br /&gt;
* chybovost paketu&lt;br /&gt;
* casova synchronizace mezi slaves (synchronization between wireless sensor motes and central node: common time for the samples capture)&lt;br /&gt;
* aktualizovat WiKi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;SW &amp;amp; Documentation&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.tinyos.net/ TinyOS 1.1.15 (Dec 2005)]&lt;br /&gt;
* [http://nescc.sourceforge.net/ nesC 1.2.7a]&lt;br /&gt;
* [http://www.open-zb.net/ An IEEE 802.15.4/Zigbee protocol implementation v1.2 (in nesC/TinyOS)]&lt;br /&gt;
* [http://msdn2.microsoft.com/en-us/evalcenter/bb188238.aspx Microsoft Visual Studio 2005] &lt;br /&gt;
* [http://zedgraph.org/wiki/index.php?title=Main_Page ZedGraph]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;HW &amp;amp; Documentation&#039;&#039;&#039; ==&lt;br /&gt;
* [http://www.moteiv.com/products/tmotesky.php Tmote Sky (TelosB platform)]&lt;br /&gt;
* [http://www.alldatasheet.com/datasheet-pdf/pdf/117096/STMICROELECTRONICS/LIS3LV02DQ.html LIS3LV02DQ (ST) - 3-Axis 2g/6g digital accelerometer]&lt;br /&gt;
* [http://www.alldatasheet.com/datasheet-pdf/pdf/103487/MOTOROLA/MMA7260Q.html MMA7260Q (Freescale) - 3-Axis 1.5g-6g analog accelerometer]&lt;br /&gt;
* For central unit we can use  [http://www.vinculum.com/prd_vnc1l.html VNC1L] - it is USB host controler. Its perfect way how to storage data on USB disks.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;Other Links&#039;&#039;&#039; ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2959</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2959"/>
		<updated>2007-04-16T03:31:03Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [3,4 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2958</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2958"/>
		<updated>2007-04-16T03:30:56Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [5,6 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2957</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2957"/>
		<updated>2007-04-16T03:30:48Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2956</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2956"/>
		<updated>2007-04-16T03:30:37Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [9,10 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2955</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2955"/>
		<updated>2007-04-16T03:30:27Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [11,12 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2954</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2954"/>
		<updated>2007-04-16T03:30:17Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [13,14 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2953</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2953"/>
		<updated>2007-04-16T03:30:08Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [15,16 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2952</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2952"/>
		<updated>2007-04-16T03:29:12Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [1,2 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [15,16 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [13,14 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [11,12 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [9,10 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [7,8 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [5,6 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [3,4 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== week [1,2 - 2007] (CZ) ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2951</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2951"/>
		<updated>2007-04-16T03:20:20Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Developing phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [15,16 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
Website &amp;quot;Main modifications of Open-ZB stack&amp;quot; was moved:&lt;br /&gt;
 --- [http://rtime.felk.cvut.cz/wsn/ New location of pages &amp;quot;Main modifications of Open-ZB stack&amp;quot;] ---&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [13,14 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
update website:&lt;br /&gt;
: [http://rtime.felk.cvut.cz/wsn/ Main modifications of Open-ZB stack]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [11,12 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
: created website:&lt;br /&gt;
: [http://rtime.felk.cvut.cz/wsn/ Main modifications of Open-ZB stack]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [9,10 - 2007] ===&lt;br /&gt;
I did small changes, see down..&lt;br /&gt;
&lt;br /&gt;
- add the first error:&lt;br /&gt;
: I dont&#039;t rename PIN but add PIN&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
: new code:&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
- add the second error:&lt;br /&gt;
: implementation of functions for Telos:&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.edge(0); &amp;lt;- CHANGE&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP() {&lt;br /&gt;
   atomic {&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
   }   return SUCCESS;  } &lt;br /&gt;
&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    // signal the interrupt&lt;br /&gt;
      signal HPLCC2420.FIFOPIntr(); &amp;lt;- CHANGE&lt;br /&gt;
	} &lt;br /&gt;
&lt;br /&gt;
- add the third error:&lt;br /&gt;
: I try replace the function &amp;quot;Timer2.setIntervalAndScale&amp;quot; in HPLTimer2 (TimerAsync.start), which sets timer and starts and enables interrupt, directly calling to make the Timer with tick granularity equals 69 microseconds (requirement is 69.54 us), by interface with argument (tinyos-programming, pages 29-32).&lt;br /&gt;
: ..and link to it the nacessary steps and TinyOS would set, start and enables interrupt. In &amp;quot;TimerAsync.stop&amp;quot; would be call the Timer destructor instead disable interupt.&lt;br /&gt;
: But I don&#039;t thing that it would be so simple. Since no other idea how we going to deal with this problem on a low-level.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
(the problem from [5,6 - 2007] solved)&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &amp;lt;- CHANGE, don&#039;t rename but addition&lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably. &amp;lt;- Since OK.&lt;br /&gt;
: Excerpts, implementation of functions for Telos &amp;lt;- CHANGE &lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
: -&amp;gt; &#039;&#039;this problem solved&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2892</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2892"/>
		<updated>2007-04-04T19:01:48Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [13,14 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I updated website &amp;quot;Main modifications of Open-ZB stack&amp;quot;&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2891</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2891"/>
		<updated>2007-04-04T19:00:46Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [11,12 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
: - I created website &amp;quot;Main modifications of Open-ZB stack&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2890</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2890"/>
		<updated>2007-04-04T18:59:00Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Developing phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [13,14 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
update website:&lt;br /&gt;
 --- [http://veverka.sh.cvut.cz/~seamus/porting/index.htm Main modifications of Open-ZB stack] ---&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [11,12 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
: created website:&lt;br /&gt;
: [http://veverka.sh.cvut.cz/~seamus/porting/index.htm Main modifications of Open-ZB stack]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [9,10 - 2007] ===&lt;br /&gt;
I did small changes, see down..&lt;br /&gt;
&lt;br /&gt;
- add the first error:&lt;br /&gt;
: I dont&#039;t rename PIN but add PIN&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
: new code:&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
- add the second error:&lt;br /&gt;
: implementation of functions for Telos:&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.edge(0); &amp;lt;- CHANGE&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP() {&lt;br /&gt;
   atomic {&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
   }   return SUCCESS;  } &lt;br /&gt;
&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    // signal the interrupt&lt;br /&gt;
      signal HPLCC2420.FIFOPIntr(); &amp;lt;- CHANGE&lt;br /&gt;
	} &lt;br /&gt;
&lt;br /&gt;
- add the third error:&lt;br /&gt;
: I try replace the function &amp;quot;Timer2.setIntervalAndScale&amp;quot; in HPLTimer2 (TimerAsync.start), which sets timer and starts and enables interrupt, directly calling to make the Timer with tick granularity equals 69 microseconds (requirement is 69.54 us), by interface with argument (tinyos-programming, pages 29-32).&lt;br /&gt;
: ..and link to it the nacessary steps and TinyOS would set, start and enables interrupt. In &amp;quot;TimerAsync.stop&amp;quot; would be call the Timer destructor instead disable interupt.&lt;br /&gt;
: But I don&#039;t thing that it would be so simple. Since no other idea how we going to deal with this problem on a low-level.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
(the problem from [5,6 - 2007] solved)&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &amp;lt;- CHANGE, don&#039;t rename but addition&lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably. &amp;lt;- Since OK.&lt;br /&gt;
: Excerpts, implementation of functions for Telos &amp;lt;- CHANGE &lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
: -&amp;gt; &#039;&#039;this problem solved&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2865</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2865"/>
		<updated>2007-03-21T23:49:35Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Developing phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [11,12 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
 --- [http://veverka.sh.cvut.cz/~seamus/porting/index.htm Main modifications of Open-ZB stack] ---&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [9,10 - 2007] ===&lt;br /&gt;
I did small changes, see down..&lt;br /&gt;
&lt;br /&gt;
- add the first error:&lt;br /&gt;
: I dont&#039;t rename PIN but add PIN&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
: new code:&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
- add the second error:&lt;br /&gt;
: implementation of functions for Telos:&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.edge(0); &amp;lt;- CHANGE&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP() {&lt;br /&gt;
   atomic {&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
   }   return SUCCESS;  } &lt;br /&gt;
&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    // signal the interrupt&lt;br /&gt;
      signal HPLCC2420.FIFOPIntr(); &amp;lt;- CHANGE&lt;br /&gt;
	} &lt;br /&gt;
&lt;br /&gt;
- add the third error:&lt;br /&gt;
: I try replace the function &amp;quot;Timer2.setIntervalAndScale&amp;quot; in HPLTimer2 (TimerAsync.start), which sets timer and starts and enables interrupt, directly calling to make the Timer with tick granularity equals 69 microseconds (requirement is 69.54 us), by interface with argument (tinyos-programming, pages 29-32).&lt;br /&gt;
: ..and link to it the nacessary steps and TinyOS would set, start and enables interrupt. In &amp;quot;TimerAsync.stop&amp;quot; would be call the Timer destructor instead disable interupt.&lt;br /&gt;
: But I don&#039;t thing that it would be so simple. Since no other idea how we going to deal with this problem on a low-level.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
(the problem from [5,6 - 2007] solved)&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &amp;lt;- CHANGE, don&#039;t rename but addition&lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably. &amp;lt;- Since OK.&lt;br /&gt;
: Excerpts, implementation of functions for Telos &amp;lt;- CHANGE &lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
: -&amp;gt; &#039;&#039;this problem solved&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2864</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2864"/>
		<updated>2007-03-21T23:24:33Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [11,12 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - I&#039;m starting to collaborate with Andre Cunha, author of the OpenZB stack.&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2863</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2863"/>
		<updated>2007-03-21T23:22:33Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [9,10 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - small changes in the first, second and third error, visit the consistent part of section on the front page&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - solve the third error - problem with TimerAsync and HPLTimer2C&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2862</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2862"/>
		<updated>2007-03-21T23:14:34Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Developing phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [9,10 - 2007] ===&lt;br /&gt;
I did small changes, see down..&lt;br /&gt;
&lt;br /&gt;
- add the first error:&lt;br /&gt;
: I dont&#039;t rename PIN but add PIN&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
: new code:&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
- add the second error:&lt;br /&gt;
: implementation of functions for Telos:&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.edge(0); &amp;lt;- CHANGE&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP() {&lt;br /&gt;
   atomic {&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
   }   return SUCCESS;  } &lt;br /&gt;
&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    // signal the interrupt&lt;br /&gt;
      signal HPLCC2420.FIFOPIntr(); &amp;lt;- CHANGE&lt;br /&gt;
	} &lt;br /&gt;
&lt;br /&gt;
- add the third error:&lt;br /&gt;
: I try replace the function &amp;quot;Timer2.setIntervalAndScale&amp;quot; in HPLTimer2 (TimerAsync.start), which sets timer and starts and enables interrupt, directly calling to make the Timer with tick granularity equals 69 microseconds (requirement is 69.54 us), by interface with argument (tinyos-programming, pages 29-32).&lt;br /&gt;
: ..and link to it the nacessary steps and TinyOS would set, start and enables interrupt. In &amp;quot;TimerAsync.stop&amp;quot; would be call the Timer destructor instead disable interupt.&lt;br /&gt;
: But I don&#039;t thing that it would be so simple. Since no other idea how we going to deal with this problem on a low-level.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
(the problem from [5,6 - 2007] solved)&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &amp;lt;- CHANGE, don&#039;t rename but addition&lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably. &amp;lt;- Since OK.&lt;br /&gt;
: Excerpts, implementation of functions for Telos &amp;lt;- CHANGE &lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
: -&amp;gt; &#039;&#039;this problem solved&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2861</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2861"/>
		<updated>2007-03-21T22:58:27Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
(the problem from [5,6 - 2007] solved)&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &amp;lt;- CHANGE, don&#039;t rename but addition&lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably. &amp;lt;- Since OK.&lt;br /&gt;
: Excerpts, implementation of functions for Telos &amp;lt;- CHANGE &lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
: -&amp;gt; &#039;&#039;this problem solved&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2860</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2860"/>
		<updated>2007-03-21T22:46:26Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* [5,6 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably.&lt;br /&gt;
: Excerpts, implementation of functions for Telos&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
: -&amp;gt; &#039;&#039;this problem solved&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=AssociationExample_HPLCC2420&amp;diff=2774</id>
		<title>AssociationExample HPLCC2420</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=AssociationExample_HPLCC2420&amp;diff=2774"/>
		<updated>2007-02-22T05:00:39Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Mica ==&lt;br /&gt;
=== HPLCC2420C ===&lt;br /&gt;
 configuration HPLCC2420C {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420FIFO;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
  components HPLCC2420M, HPLCC2420FIFOM;&lt;br /&gt;
 //&lt;br /&gt;
  StdControl = HPLCC2420M;&lt;br /&gt;
  HPLCC2420 = HPLCC2420M;&lt;br /&gt;
  HPLCC2420FIFO = HPLCC2420FIFOM;&lt;br /&gt;
  HPLCC2420RAM = HPLCC2420M;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
=== HPLCC2420M ===&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
 norace bool bSpiAvail;                    //true if Spi bus available&lt;br /&gt;
 norace uint8_t* rambuf;&lt;br /&gt;
  norace uint8_t ramlen;&lt;br /&gt;
  norace uint16_t ramaddr;&lt;br /&gt;
 //&lt;br /&gt;
 /*********************************************************&lt;br /&gt;
 * function: init&lt;br /&gt;
 *  set Atmega pin directions for cc2420&lt;br /&gt;
 *  enable SPI master bus&lt;br /&gt;
 ********************************************************/&lt;br /&gt;
    command result_t StdControl.init() {&lt;br /&gt;
 //   &lt;br /&gt;
    bSpiAvail = TRUE;&lt;br /&gt;
    TOSH_MAKE_MISO_INPUT();&lt;br /&gt;
    TOSH_MAKE_MOSI_OUTPUT();&lt;br /&gt;
    TOSH_MAKE_SPI_SCK_OUTPUT();&lt;br /&gt;
    TOSH_MAKE_CC_RSTN_OUTPUT();    &lt;br /&gt;
    TOSH_MAKE_CC_VREN_OUTPUT();&lt;br /&gt;
    TOSH_MAKE_CC_CS_OUTPUT(); &lt;br /&gt;
    TOSH_MAKE_CC_FIFOP1_INPUT();    &lt;br /&gt;
    TOSH_MAKE_CC_CCA_INPUT();&lt;br /&gt;
    TOSH_MAKE_CC_SFD_INPUT();&lt;br /&gt;
    TOSH_MAKE_CC_FIFO_INPUT(); &lt;br /&gt;
        atomic {&lt;br /&gt;
      TOSH_MAKE_SPI_SCK_OUTPUT();&lt;br /&gt;
      TOSH_MAKE_MISO_INPUT();	   // miso&lt;br /&gt;
      TOSH_MAKE_MOSI_OUTPUT();	   // mosi&lt;br /&gt;
          sbi(SPSR, SPI2X);           // Double speed spi clock&lt;br /&gt;
          sbi(SPCR, MSTR);             // Set master mode&lt;br /&gt;
      cbi(SPCR, CPOL);		       // Set proper polarity...&lt;br /&gt;
      cbi(SPCR, CPHA);		       // ...and phase&lt;br /&gt;
          cbi(SPCR, SPR1);             // set clock, fosc/2 (~3.6 Mhz)&lt;br /&gt;
      cbi(SPCR, SPR0);&lt;br /&gt;
 //   sbi(SPCR, SPIE);	           // enable spi port interrupt&lt;br /&gt;
      sbi(SPCR, SPE);              // enable spie port&lt;br /&gt;
 } &lt;br /&gt;
     return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  //&lt;br /&gt;
  command result_t StdControl.start() { return SUCCESS; }&lt;br /&gt;
  command result_t StdControl.stop() { return SUCCESS; }&lt;br /&gt;
  //&lt;br /&gt;
  /*********************************************************&lt;br /&gt;
  * function: enableFIFOP&lt;br /&gt;
  *  enable CC2420 fifop interrupt&lt;br /&gt;
  CC2420 is configured for FIFOP interrupt on RXFIFO &amp;gt; Thresh&lt;br /&gt;
  where thresh is programmed in CC2420Const.h CP_IOCFGO reg. &lt;br /&gt;
  Threshold is 127 asof 15apr04 (AlmostFull)&lt;br /&gt;
  FIFOP is asserted as long as RXFIFO&amp;gt;Threshold&lt;br /&gt;
  FIFOP is active LOW&lt;br /&gt;
  ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
      cbi(EICRB,ISC60);              //trigger on low level&lt;br /&gt;
 //    cbi(EICRB,ISC61);				 //low level&lt;br /&gt;
      sbi(EICRB,ISC61);				 //falling edge	 for standard release&lt;br /&gt;
      CC2420_FIFOP_INT_ENABLE();&lt;br /&gt;
      return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
   * function: disbleFIFOP&lt;br /&gt;
   *  disable CC2420 fifop interrupt&lt;br /&gt;
   ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    CC2420_FIFOP_INT_DISABLE();&lt;br /&gt;
        return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  // &lt;br /&gt;
  TOSH_SIGNAL(TOSH_CC_FIFOP_INT) {&lt;br /&gt;
      // signal the interrupt&lt;br /&gt;
      signal HPLCC2420.FIFOPIntr();&lt;br /&gt;
  }&lt;br /&gt;
  /*&lt;br /&gt;
   *  .............&lt;br /&gt;
   *&lt;br /&gt;
   */&lt;br /&gt;
 }//HPLCC2420M.nc&lt;br /&gt;
&lt;br /&gt;
== Telos ==&lt;br /&gt;
=== HPLCC2420C ===&lt;br /&gt;
 configuration HPLCC2420C {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
    interface HPLCC2420FIFO;&lt;br /&gt;
    //interface HPLCC2420Interrupt as InterruptFIFOP;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
  components HPLCC2420M&lt;br /&gt;
         , HPLUSART0M&lt;br /&gt;
     //  , HPLCC2420InterruptM&lt;br /&gt;
         , MSP430InterruptC&lt;br /&gt;
         , BusArbitrationC;&lt;br /&gt;
  //&lt;br /&gt;
  StdControl = BusArbitrationC;&lt;br /&gt;
  StdControl = HPLCC2420M;&lt;br /&gt;
  HPLCC2420 = HPLCC2420M;&lt;br /&gt;
  HPLCC2420RAM = HPLCC2420M;&lt;br /&gt;
  HPLCC2420FIFO = HPLCC2420M;&lt;br /&gt;
  //&lt;br /&gt;
  //InterruptFIFOP = HPLCC2420InterruptM.FIFOP;&lt;br /&gt;
  //InterruptFIFO = HPLCC2420InterruptM.FIFO;&lt;br /&gt;
  //&lt;br /&gt;
  HPLCC2420M.USARTControl -&amp;gt; HPLUSART0M;&lt;br /&gt;
  HPLCC2420M.BusArbitration -&amp;gt; BusArbitrationC.BusArbitration[unique(&amp;quot;BusArbitration&amp;quot;)];&lt;br /&gt;
  //&lt;br /&gt;
  HPLCC2420M.FIFOPInterrupt -&amp;gt; MSP430InterruptC.Port10;&lt;br /&gt;
 //HPLCC2420InterruptM.FIFOInterrupt -&amp;gt; MSP430InterruptC.Port13;&lt;br /&gt;
 } &lt;br /&gt;
&lt;br /&gt;
=== HPLCC2420M ===&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
    interface HPLCC2420FIFO;&lt;br /&gt;
  }&lt;br /&gt;
  uses {&lt;br /&gt;
    interface HPLUSARTControl as USARTControl;&lt;br /&gt;
    interface BusArbitration;&lt;br /&gt;
    interface MSP430Interrupt as FIFOPInterrupt;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
 //&lt;br /&gt;
  norace uint8_t* txbuf;&lt;br /&gt;
  norace uint8_t* rxbuf;&lt;br /&gt;
  norace uint8_t* rambuf;&lt;br /&gt;
  norace uint8_t* rxrambuf;&lt;br /&gt;
  norace uint8_t txlen;&lt;br /&gt;
  norace uint8_t rxlen;&lt;br /&gt;
  norace uint8_t ramlen;&lt;br /&gt;
  norace uint16_t ramaddr;&lt;br /&gt;
  norace uint8_t rxramlen;&lt;br /&gt;
  norace uint16_t rxramaddr;&lt;br /&gt;
  norace struct {&lt;br /&gt;
    bool enabled : 1;&lt;br /&gt;
    bool busy : 1;&lt;br /&gt;
    bool rxbufBusy : 1;&lt;br /&gt;
    bool txbufBusy : 1;&lt;br /&gt;
  } f; // f for flags&lt;br /&gt;
  /** &lt;br /&gt;
   * Zero out the reserved bits since they can be either 0 or 1.&lt;br /&gt;
   * This allows the use of &amp;quot;if !cmd(x)&amp;quot; in the radio stack&lt;br /&gt;
   */&lt;br /&gt;
  uint8_t adjustStatusByte(uint8_t status) {&lt;br /&gt;
    return status &amp;amp; 0x7E;&lt;br /&gt;
  }&lt;br /&gt;
 //&lt;br /&gt;
  command result_t StdControl.init() {&lt;br /&gt;
    atomic {&lt;br /&gt;
       f.busy = f.enabled = f.rxbufBusy = f.txbufBusy = FALSE;&lt;br /&gt;
    }&lt;br /&gt;
    TOSH_SET_RADIO_CSN_PIN();&lt;br /&gt;
    TOSH_MAKE_RADIO_CSN_OUTPUT();&lt;br /&gt;
    call USARTControl.setModeSPI();&lt;br /&gt;
    call USARTControl.disableRxIntr();&lt;br /&gt;
    call USARTControl.disableTxIntr();&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  } &lt;br /&gt;
  command result_t StdControl.start() {&lt;br /&gt;
    atomic {&lt;br /&gt;
      if (!f.busy) {&lt;br /&gt;
        TOSH_SET_RADIO_CSN_PIN();&lt;br /&gt;
        TOSH_MAKE_RADIO_CSN_OUTPUT();&lt;br /&gt;
         call USARTControl.setModeSPI();&lt;br /&gt;
         call USARTControl.disableRxIntr();&lt;br /&gt;
         call USARTControl.disableTxIntr();&lt;br /&gt;
        f.busy = f.rxbufBusy = f.txbufBusy = FALSE;&lt;br /&gt;
        f.enabled = TRUE;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  command result_t StdControl.stop() { &lt;br /&gt;
    atomic {&lt;br /&gt;
      // if we&#039;re not in the middle of doing something, we can shut off the&lt;br /&gt;
      // SPI operations too&lt;br /&gt;
      if (!f.busy)&lt;br /&gt;
         call USARTControl.disableSPI();&lt;br /&gt;
      f.enabled = FALSE;&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
  * function: enableFIFOP&lt;br /&gt;
  *  enable CC2420 fifop interrupt&lt;br /&gt;
  CC2420 is configured for FIFOP interrupt on RXFIFO &amp;gt; Thresh&lt;br /&gt;
  where thresh is programmed in CC2420Const.h CP_IOCFGO reg. &lt;br /&gt;
  Threshold is 127 asof 15apr04 (AlmostFull)&lt;br /&gt;
  FIFOP is asserted as long as RXFIFO&amp;gt;Threshold&lt;br /&gt;
  FIFOP is active LOW!!!!!!!!!!&lt;br /&gt;
  ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
      //call FIFOPInterrupt.edge(low_to_high);  &amp;lt;- problem&lt;br /&gt;
      call FIFOPInterrupt.enable();&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
   * function: disbleFIFOP&lt;br /&gt;
   *  disable CC2420 fifop interrupt&lt;br /&gt;
   ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /**&lt;br /&gt;
   * Event fired by lower level interrupt dispatch for FIFOP&lt;br /&gt;
   */&lt;br /&gt;
  async event void FIFOPInterrupt.fired(){&lt;br /&gt;
  //result_t val = SUCCESS;&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
  //  val = signal FIFOP.fired();      &amp;lt;- problem&lt;br /&gt;
  //  if (val == FAIL) {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
  //  }&lt;br /&gt;
  }&lt;br /&gt;
  /* &lt;br /&gt;
   * default async event result_t FIFOP.fired() { return FAIL; }  &amp;lt;- problem&lt;br /&gt;
   */&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
   /*&lt;br /&gt;
    *  ........................&lt;br /&gt;
    */&lt;br /&gt;
  }  //HPLCC2420M&lt;br /&gt;
&lt;br /&gt;
=== HPLCC2420InterruptM === &lt;br /&gt;
 module HPLCC2420InterruptM {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface HPLCC2420Interrupt as FIFOP;&lt;br /&gt;
    interface HPLCC2420Interrupt as FIFO;&lt;br /&gt;
    interface HPLCC2420Interrupt as CCA;&lt;br /&gt;
    interface HPLCC2420Capture as SFD;&lt;br /&gt;
  }&lt;br /&gt;
  uses {&lt;br /&gt;
    interface MSP430Interrupt as FIFOPInterrupt;&lt;br /&gt;
    interface MSP430Interrupt as FIFOInterrupt;&lt;br /&gt;
    interface MSP430Interrupt as CCAInterrupt;&lt;br /&gt;
    interface MSP430Capture as SFDCapture;&lt;br /&gt;
    interface MSP430TimerControl as SFDControl;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
  // ************* FIFOP Interrupt handlers and dispatch *************&lt;br /&gt;
   /**&lt;br /&gt;
   * enable an edge interrupt on the FIFOP pin&lt;br /&gt;
   */&lt;br /&gt;
  async command result_t FIFOP.startWait(bool low_to_high) {&lt;br /&gt;
    atomic {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
      call FIFOPInterrupt.edge(low_to_high);&lt;br /&gt;
      call FIFOPInterrupt.enable();&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  /**&lt;br /&gt;
   * disables FIFOP interrupts&lt;br /&gt;
   */&lt;br /&gt;
  async command result_t FIFOP.disable() {&lt;br /&gt;
    atomic {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  /**&lt;br /&gt;
   * Event fired by lower level interrupt dispatch for FIFOP&lt;br /&gt;
   */&lt;br /&gt;
  async event void FIFOPInterrupt.fired() {&lt;br /&gt;
    result_t val = SUCCESS;&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    val = signal FIFOP.fired();&lt;br /&gt;
    if (val == FAIL) {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  default async event result_t FIFOP.fired() { return FAIL; }&lt;br /&gt;
  /*&lt;br /&gt;
   *  ..........................&lt;br /&gt;
   */&lt;br /&gt;
 } // HPLCC2420InterruptM&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2773</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2773"/>
		<updated>2007-02-22T04:56:03Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
: Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
: Changes were inspired by the implementation for MicaZ platform. Comparing files (HPLCC2420C, HPLCC2420M, HPLCC2420InterruptM) for MicaZ platform in TinyOS with files (HPLCC2420C, HPLCC2420M, file HPLCC2420InterruptM isn&#039;t here - requisite functions are implemented into HPLCC2420M) in stack.&lt;br /&gt;
: I discovered a diferrences and apply changes for Telos platform the same way. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably.&lt;br /&gt;
: Excerpts, implementation of functions for Telos&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2772</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2772"/>
		<updated>2007-02-22T03:43:27Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
: some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
: a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably.&lt;br /&gt;
: Excerpts, implementation of functions for Telos&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
: &amp;quot;In component TimerAsyncC component HPLTimer2C not found&amp;quot;&lt;br /&gt;
: Will probably be need some larger modification of code. I must study documentation properly - Reference Guide, Cunha, Alves, pgs.42-51&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
: deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
: addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=AssociationExample_HPLCC2420&amp;diff=2771</id>
		<title>AssociationExample HPLCC2420</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=AssociationExample_HPLCC2420&amp;diff=2771"/>
		<updated>2007-02-22T03:21:23Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: New page: == Mica == === HPLCC2420C ===  configuration HPLCC2420C {   provides {     interface StdControl;     interface HPLCC2420;     interface HPLCC2420FIFO;     interface HPLCC2420RAM;   }  }  i...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Mica ==&lt;br /&gt;
=== HPLCC2420C ===&lt;br /&gt;
 configuration HPLCC2420C {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420FIFO;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
  components HPLCC2420M, HPLCC2420FIFOM;&lt;br /&gt;
 //&lt;br /&gt;
  StdControl = HPLCC2420M;&lt;br /&gt;
  HPLCC2420 = HPLCC2420M;&lt;br /&gt;
  HPLCC2420FIFO = HPLCC2420FIFOM;&lt;br /&gt;
  HPLCC2420RAM = HPLCC2420M;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
=== HPLCC2420M ===&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
 norace bool bSpiAvail;                    //true if Spi bus available&lt;br /&gt;
 norace uint8_t* rambuf;&lt;br /&gt;
  norace uint8_t ramlen;&lt;br /&gt;
  norace uint16_t ramaddr;&lt;br /&gt;
 //&lt;br /&gt;
 /*********************************************************&lt;br /&gt;
 * function: init&lt;br /&gt;
 *  set Atmega pin directions for cc2420&lt;br /&gt;
 *  enable SPI master bus&lt;br /&gt;
 ********************************************************/&lt;br /&gt;
    command result_t StdControl.init() {&lt;br /&gt;
 //   &lt;br /&gt;
    bSpiAvail = TRUE;&lt;br /&gt;
    TOSH_MAKE_MISO_INPUT();&lt;br /&gt;
    TOSH_MAKE_MOSI_OUTPUT();&lt;br /&gt;
    TOSH_MAKE_SPI_SCK_OUTPUT();&lt;br /&gt;
    TOSH_MAKE_CC_RSTN_OUTPUT();    &lt;br /&gt;
    TOSH_MAKE_CC_VREN_OUTPUT();&lt;br /&gt;
    TOSH_MAKE_CC_CS_OUTPUT(); &lt;br /&gt;
    TOSH_MAKE_CC_FIFOP1_INPUT();    &lt;br /&gt;
    TOSH_MAKE_CC_CCA_INPUT();&lt;br /&gt;
    TOSH_MAKE_CC_SFD_INPUT();&lt;br /&gt;
    TOSH_MAKE_CC_FIFO_INPUT(); &lt;br /&gt;
        atomic {&lt;br /&gt;
      TOSH_MAKE_SPI_SCK_OUTPUT();&lt;br /&gt;
      TOSH_MAKE_MISO_INPUT();	   // miso&lt;br /&gt;
      TOSH_MAKE_MOSI_OUTPUT();	   // mosi&lt;br /&gt;
          sbi(SPSR, SPI2X);           // Double speed spi clock&lt;br /&gt;
          sbi(SPCR, MSTR);             // Set master mode&lt;br /&gt;
      cbi(SPCR, CPOL);		       // Set proper polarity...&lt;br /&gt;
      cbi(SPCR, CPHA);		       // ...and phase&lt;br /&gt;
          cbi(SPCR, SPR1);             // set clock, fosc/2 (~3.6 Mhz)&lt;br /&gt;
      cbi(SPCR, SPR0);&lt;br /&gt;
 //   sbi(SPCR, SPIE);	           // enable spi port interrupt&lt;br /&gt;
      sbi(SPCR, SPE);              // enable spie port&lt;br /&gt;
 } &lt;br /&gt;
     return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  //&lt;br /&gt;
  command result_t StdControl.start() { return SUCCESS; }&lt;br /&gt;
  command result_t StdControl.stop() { return SUCCESS; }&lt;br /&gt;
  //&lt;br /&gt;
  /*********************************************************&lt;br /&gt;
  * function: enableFIFOP&lt;br /&gt;
  *  enable CC2420 fifop interrupt&lt;br /&gt;
  CC2420 is configured for FIFOP interrupt on RXFIFO &amp;gt; Thresh&lt;br /&gt;
  where thresh is programmed in CC2420Const.h CP_IOCFGO reg. &lt;br /&gt;
  Threshold is 127 asof 15apr04 (AlmostFull)&lt;br /&gt;
  FIFOP is asserted as long as RXFIFO&amp;gt;Threshold&lt;br /&gt;
  FIFOP is active LOW&lt;br /&gt;
  ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
      cbi(EICRB,ISC60);              //trigger on low level&lt;br /&gt;
 //    cbi(EICRB,ISC61);				 //low level&lt;br /&gt;
      sbi(EICRB,ISC61);				 //falling edge	 for standard release&lt;br /&gt;
      CC2420_FIFOP_INT_ENABLE();&lt;br /&gt;
      return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
   * function: disbleFIFOP&lt;br /&gt;
   *  disable CC2420 fifop interrupt&lt;br /&gt;
   ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    CC2420_FIFOP_INT_DISABLE();&lt;br /&gt;
        return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  // &lt;br /&gt;
  TOSH_SIGNAL(TOSH_CC_FIFOP_INT) {&lt;br /&gt;
      // signal the interrupt&lt;br /&gt;
      signal HPLCC2420.FIFOPIntr();&lt;br /&gt;
  }&lt;br /&gt;
  /*&lt;br /&gt;
   *  .............&lt;br /&gt;
   *&lt;br /&gt;
   */&lt;br /&gt;
 }//HPLCC2420M.nc&lt;br /&gt;
&lt;br /&gt;
== Telos ==&lt;br /&gt;
=== HPLCC2420C ===&lt;br /&gt;
 configuration HPLCC2420C {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
    interface HPLCC2420FIFO;&lt;br /&gt;
    //interface HPLCC2420Interrupt as InterruptFIFOP;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
  components HPLCC2420M&lt;br /&gt;
         , HPLUSART0M&lt;br /&gt;
     //  , HPLCC2420InterruptM&lt;br /&gt;
         , MSP430InterruptC&lt;br /&gt;
         , BusArbitrationC;&lt;br /&gt;
  //&lt;br /&gt;
  StdControl = BusArbitrationC;&lt;br /&gt;
  StdControl = HPLCC2420M;&lt;br /&gt;
  HPLCC2420 = HPLCC2420M;&lt;br /&gt;
  HPLCC2420RAM = HPLCC2420M;&lt;br /&gt;
  HPLCC2420FIFO = HPLCC2420M;&lt;br /&gt;
  //&lt;br /&gt;
  //InterruptFIFOP = HPLCC2420InterruptM.FIFOP;&lt;br /&gt;
  //InterruptFIFO = HPLCC2420InterruptM.FIFO;&lt;br /&gt;
  //&lt;br /&gt;
  HPLCC2420M.USARTControl -&amp;gt; HPLUSART0M;&lt;br /&gt;
  HPLCC2420M.BusArbitration -&amp;gt; BusArbitrationC.BusArbitration[unique(&amp;quot;BusArbitration&amp;quot;)];&lt;br /&gt;
  //&lt;br /&gt;
  HPLCC2420M.FIFOPInterrupt -&amp;gt; MSP430InterruptC.Port10;&lt;br /&gt;
 //HPLCC2420InterruptM.FIFOInterrupt -&amp;gt; MSP430InterruptC.Port13;&lt;br /&gt;
 } &lt;br /&gt;
&lt;br /&gt;
=== HPLCC2420M ===&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides {&lt;br /&gt;
    interface StdControl;&lt;br /&gt;
    interface HPLCC2420;&lt;br /&gt;
    interface HPLCC2420RAM;&lt;br /&gt;
    interface HPLCC2420FIFO;&lt;br /&gt;
  }&lt;br /&gt;
  uses {&lt;br /&gt;
    interface HPLUSARTControl as USARTControl;&lt;br /&gt;
    interface BusArbitration;&lt;br /&gt;
    interface MSP430Interrupt as FIFOPInterrupt;&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
 implementation&lt;br /&gt;
 {&lt;br /&gt;
 //&lt;br /&gt;
  norace uint8_t* txbuf;&lt;br /&gt;
  norace uint8_t* rxbuf;&lt;br /&gt;
  norace uint8_t* rambuf;&lt;br /&gt;
  norace uint8_t* rxrambuf;&lt;br /&gt;
  norace uint8_t txlen;&lt;br /&gt;
  norace uint8_t rxlen;&lt;br /&gt;
  norace uint8_t ramlen;&lt;br /&gt;
  norace uint16_t ramaddr;&lt;br /&gt;
  norace uint8_t rxramlen;&lt;br /&gt;
  norace uint16_t rxramaddr;&lt;br /&gt;
  norace struct {&lt;br /&gt;
    bool enabled : 1;&lt;br /&gt;
    bool busy : 1;&lt;br /&gt;
    bool rxbufBusy : 1;&lt;br /&gt;
    bool txbufBusy : 1;&lt;br /&gt;
  } f; // f for flags&lt;br /&gt;
  /** &lt;br /&gt;
   * Zero out the reserved bits since they can be either 0 or 1.&lt;br /&gt;
   * This allows the use of &amp;quot;if !cmd(x)&amp;quot; in the radio stack&lt;br /&gt;
   */&lt;br /&gt;
  uint8_t adjustStatusByte(uint8_t status) {&lt;br /&gt;
    return status &amp;amp; 0x7E;&lt;br /&gt;
  }&lt;br /&gt;
 //&lt;br /&gt;
  command result_t StdControl.init() {&lt;br /&gt;
    atomic {&lt;br /&gt;
       f.busy = f.enabled = f.rxbufBusy = f.txbufBusy = FALSE;&lt;br /&gt;
    }&lt;br /&gt;
    TOSH_SET_RADIO_CSN_PIN();&lt;br /&gt;
    TOSH_MAKE_RADIO_CSN_OUTPUT();&lt;br /&gt;
    call USARTControl.setModeSPI();&lt;br /&gt;
    call USARTControl.disableRxIntr();&lt;br /&gt;
    call USARTControl.disableTxIntr();&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  } &lt;br /&gt;
  command result_t StdControl.start() {&lt;br /&gt;
    atomic {&lt;br /&gt;
      if (!f.busy) {&lt;br /&gt;
        TOSH_SET_RADIO_CSN_PIN();&lt;br /&gt;
        TOSH_MAKE_RADIO_CSN_OUTPUT();&lt;br /&gt;
         call USARTControl.setModeSPI();&lt;br /&gt;
         call USARTControl.disableRxIntr();&lt;br /&gt;
         call USARTControl.disableTxIntr();&lt;br /&gt;
        f.busy = f.rxbufBusy = f.txbufBusy = FALSE;&lt;br /&gt;
        f.enabled = TRUE;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
  command result_t StdControl.stop() { &lt;br /&gt;
    atomic {&lt;br /&gt;
      // if we&#039;re not in the middle of doing something, we can shut off the&lt;br /&gt;
      // SPI operations too&lt;br /&gt;
      if (!f.busy)&lt;br /&gt;
         call USARTControl.disableSPI();&lt;br /&gt;
      f.enabled = FALSE;&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
  * function: enableFIFOP&lt;br /&gt;
  *  enable CC2420 fifop interrupt&lt;br /&gt;
  CC2420 is configured for FIFOP interrupt on RXFIFO &amp;gt; Thresh&lt;br /&gt;
  where thresh is programmed in CC2420Const.h CP_IOCFGO reg. &lt;br /&gt;
  Threshold is 127 asof 15apr04 (AlmostFull)&lt;br /&gt;
  FIFOP is asserted as long as RXFIFO&amp;gt;Threshold&lt;br /&gt;
  FIFOP is active LOW!!!!!!!!!!&lt;br /&gt;
  ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
      //call FIFOPInterrupt.edge(low_to_high);  &amp;lt;- problem&lt;br /&gt;
      call FIFOPInterrupt.enable();&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
   * function: disbleFIFOP&lt;br /&gt;
   *  disable CC2420 fifop interrupt&lt;br /&gt;
   ********************************************************/&lt;br /&gt;
  async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
    }&lt;br /&gt;
    return SUCCESS;&lt;br /&gt;
  }&lt;br /&gt;
   /**&lt;br /&gt;
   * Event fired by lower level interrupt dispatch for FIFOP&lt;br /&gt;
   */&lt;br /&gt;
  async event void FIFOPInterrupt.fired(){&lt;br /&gt;
  //result_t val = SUCCESS;&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
  //  val = signal FIFOP.fired();      &amp;lt;- problem&lt;br /&gt;
  //  if (val == FAIL) {&lt;br /&gt;
      call FIFOPInterrupt.disable();&lt;br /&gt;
      call FIFOPInterrupt.clear();&lt;br /&gt;
  //  }&lt;br /&gt;
  }&lt;br /&gt;
  /* &lt;br /&gt;
   * default async event result_t FIFOP.fired() { return FAIL; }  &amp;lt;- problem&lt;br /&gt;
   */&lt;br /&gt;
   /*********************************************************&lt;br /&gt;
   /*&lt;br /&gt;
    *  ........................&lt;br /&gt;
    */&lt;br /&gt;
  }  //HPLCC2420M&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Blink_makefiles&amp;diff=2770</id>
		<title>Blink makefiles</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Blink_makefiles&amp;diff=2770"/>
		<updated>2007-02-22T02:57:06Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: New page: == Makefile v1 ==  COMPONENT=Blink  #SENSORBOARD=mts310  PFLAGS=-I../Blink  HURRAYROOT=%T/../contrib/hurray/tos  # pro platformy TPLATFORM = telos a telosb  TPLATFORM := $(filter telos tel...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Makefile v1 ==&lt;br /&gt;
 COMPONENT=Blink&lt;br /&gt;
 #SENSORBOARD=mts310&lt;br /&gt;
 PFLAGS=-I../Blink&lt;br /&gt;
 HURRAYROOT=%T/../contrib/hurray/tos&lt;br /&gt;
 # pro platformy TPLATFORM = telos a telosb&lt;br /&gt;
 TPLATFORM := $(filter telos telosb, $(MAKECMDGOALS))&lt;br /&gt;
 PFLAGS := -tosdir=$(HURRAYROOT)&lt;br /&gt;
 PFLAGS = \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces/ieee802154/phy \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces/ieee802154/mac \&lt;br /&gt;
 -I$(HURRAYROOT)/platform/$(PLATFORM)&lt;br /&gt;
 ifeq ($(TPLATFORM),telos)&lt;br /&gt;
     PFLAGS += -I$(HURRAYROOT)/platform/msp430&lt;br /&gt;
 endif&lt;br /&gt;
 ifeq ($(TPLATFORM),telosb)&lt;br /&gt;
     PFLAGS += \&lt;br /&gt;
        -I$(HURRAYROOT)/platform/telos \&lt;br /&gt;
        -I$(HURRAYROOT)/platform/msp430&lt;br /&gt;
 endif&lt;br /&gt;
 PFLAGS += \&lt;br /&gt;
 -I$(HURRAYROOT)/system \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/CC2420Radio \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/phy \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/mac \&lt;br /&gt;
 -I$(HURRAYROOT)/sensorboards/$(SENSORBOARD)&lt;br /&gt;
 include ../MakeXbowlocal&lt;br /&gt;
 include $(TOSROOT)/tools/make/Makerules&lt;br /&gt;
&lt;br /&gt;
== Makefile v2 ==&lt;br /&gt;
 COMPONENT=Blink&lt;br /&gt;
 #SENSORBOARD=mts310&lt;br /&gt;
 PFLAGS=-I../Blink&lt;br /&gt;
 HURRAYROOT=%T/../contrib/hurray/tos&lt;br /&gt;
 # pro platformy TPLATFORM = telos a telosb&lt;br /&gt;
 TPLATFORM := $(filter telos telosb, $(MAKECMDGOALS))&lt;br /&gt;
 PFLAGS := -tosdir=$(HURRAYROOT)&lt;br /&gt;
 PFLAGS = \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces/ieee802154/phy \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces/ieee802154/mac \&lt;br /&gt;
 -I$(HURRAYROOT)/platform/$(PLATFORM)&lt;br /&gt;
 ifeq ($(TPLATFORM),telos)&lt;br /&gt;
      PFLAGS += -I$(HURRAYROOT)/platform/msp430&lt;br /&gt;
 endif&lt;br /&gt;
 ifeq ($(TPLATFORM),telosb)&lt;br /&gt;
      PFLAGS += \&lt;br /&gt;
        -I$(TOSROOT)/tos/platform/msp430 \&lt;br /&gt;
        -I$(HURRAYROOT)/platform/msp430&lt;br /&gt;
 endif&lt;br /&gt;
 PFLAGS += \&lt;br /&gt;
 -I$(HURRAYROOT)/system \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/CC2420Radio \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/phy \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/mac \&lt;br /&gt;
 -I$(HURRAYROOT)/sensorboards/$(SENSORBOARD)&lt;br /&gt;
 include ../MakeXbowlocal&lt;br /&gt;
 include $(TOSROOT)/tools/make/Makerules&lt;br /&gt;
&lt;br /&gt;
== Makefile v3 ==&lt;br /&gt;
 COMPONENT=Blink&lt;br /&gt;
 #SENSORBOARD=mts310&lt;br /&gt;
 PFLAGS=-I../Blink&lt;br /&gt;
 HURRAYROOT=%T/../contrib/hurray/tos&lt;br /&gt;
 PFLAGS := -tosdir=$(HURRAYROOT)&lt;br /&gt;
 PFLAGS = \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces/ieee802154/phy \&lt;br /&gt;
 -I$(HURRAYROOT)/interfaces/ieee802154/mac \&lt;br /&gt;
 -I$(HURRAYROOT)/platform/$(PLATFORM)&lt;br /&gt;
 # pro platformy TPLATFORM = telos a telosb&lt;br /&gt;
 ifeq ($(MAKECMDGOALS),telos)&lt;br /&gt;
        PFLAGS += -I$(HURRAYROOT)/platform/msp430&lt;br /&gt;
 endif&lt;br /&gt;
 ifeq ($(MAKECMDGOALS),telosb)&lt;br /&gt;
        PFLAGS += \&lt;br /&gt;
        -I$(HURRAYROOT)/platform/telos \&lt;br /&gt;
        -I$(HURRAYROOT)/platform/msp430&lt;br /&gt;
 endif&lt;br /&gt;
 PFLAGS += \&lt;br /&gt;
 -I$(HURRAYROOT)/system \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/CC2420Radio \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/phy \&lt;br /&gt;
 -I$(HURRAYROOT)/lib/mac \&lt;br /&gt;
 -I$(HURRAYROOT)/sensorboards/$(SENSORBOARD)&lt;br /&gt;
 include ../MakeXbowlocal&lt;br /&gt;
 include $(TOSROOT)/tools/make/Makerules&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2769</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2769"/>
		<updated>2007-02-22T02:49:47Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform. The new code:&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
some Makefiles: [[Blink_makefiles]]&lt;br /&gt;
a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile is similar to the file for Blink application&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably.&lt;br /&gt;
: - Excerpts, implementation of functions for Telos&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
: in detail: [[AssociationExample_HPLCC2420]]&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
Will probably be need some larger modification of code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
addition of telosb platform data&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=AssociationExample_make&amp;diff=2768</id>
		<title>AssociationExample make</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=AssociationExample_make&amp;diff=2768"/>
		<updated>2007-02-22T02:33:12Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: New page: == AssociationExample application == ==== compilation before modifications: ==== Image:AssociationExample_make-telos-cbch.jpg ==== final compilation: ====&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== AssociationExample application ==&lt;br /&gt;
==== compilation before modifications: ====&lt;br /&gt;
[[Image:AssociationExample_make-telos-cbch.jpg]]&lt;br /&gt;
==== final compilation: ====&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=File:AssociationExample_make-telos-cbch.jpg&amp;diff=2767</id>
		<title>File:AssociationExample make-telos-cbch.jpg</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=File:AssociationExample_make-telos-cbch.jpg&amp;diff=2767"/>
		<updated>2007-02-22T02:31:12Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Blink_make&amp;diff=2766</id>
		<title>Blink make</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Blink_make&amp;diff=2766"/>
		<updated>2007-02-22T02:28:52Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: New page: == Blink application == ==== compilation before modifications: ==== Image:Blink make-telos-cbch.jpg ==== final compilation: ==== Image:Blink make.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Blink application ==&lt;br /&gt;
==== compilation before modifications: ====&lt;br /&gt;
[[Image:Blink make-telos-cbch.jpg]]&lt;br /&gt;
==== final compilation: ====&lt;br /&gt;
[[Image:Blink make.jpg]]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=File:Blink_make.jpg&amp;diff=2765</id>
		<title>File:Blink make.jpg</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=File:Blink_make.jpg&amp;diff=2765"/>
		<updated>2007-02-22T02:24:10Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: for MicaZ, Telos and TelosB platforms&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;for MicaZ, Telos and TelosB platforms&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=File:Blink_make-telos-cbch.jpg&amp;diff=2764</id>
		<title>File:Blink make-telos-cbch.jpg</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=File:Blink_make-telos-cbch.jpg&amp;diff=2764"/>
		<updated>2007-02-22T02:22:42Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2763</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2763"/>
		<updated>2007-02-22T02:14:40Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
=== [7,8 - 2007] ===&lt;br /&gt;
&lt;br /&gt;
* Rectifying errors:&lt;br /&gt;
** Blink application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\Blink\&#039;&#039;)&lt;br /&gt;
modification of file&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&#039;&#039;&lt;br /&gt;
changes were inspired by the PowerManagementM file of MicaZ platform&lt;br /&gt;
 module HPLPowerManagementM {&lt;br /&gt;
    provides { interface PowerManagement;&lt;br /&gt;
               command result_t Enable();&lt;br /&gt;
               command result_t Disable(); }&lt;br /&gt;
                            }&lt;br /&gt;
    implementation {  &lt;br /&gt;
  async command uint8_t PowerManagement.adjustPower() { return SUCCESS; }&lt;br /&gt;
  command result_t Enable() { LPMode_enable();&lt;br /&gt;
                              return SUCCESS; }&lt;br /&gt;
  command result_t Disable() { LPMode_disable();&lt;br /&gt;
                               return SUCCESS; }&lt;br /&gt;
                   } &lt;br /&gt;
&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
&lt;br /&gt;
some Makefiles:&lt;br /&gt;
: - jeden&lt;br /&gt;
: - druhej&lt;br /&gt;
: - treti&lt;br /&gt;
a sample of compilation: [[Blink_make]]&lt;br /&gt;
&lt;br /&gt;
** AssociationExample application (&#039;&#039;\tinyos-1.x\contrib\hurray\apps\AssociationExample\&#039;&#039;)&lt;br /&gt;
modification of Makefile to accept the another two platforms - telos and telosb&lt;br /&gt;
Makefile&lt;br /&gt;
a sample of compilation: [[AssociationExample_make]]&lt;br /&gt;
&lt;br /&gt;
*** first error:&lt;br /&gt;
location of header files:&lt;br /&gt;
: - avr-system&lt;br /&gt;
: &#039;&#039;\usr\local\avr\include\&#039;&#039;&lt;br /&gt;
: - avr-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
: - mica-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\mica|mica2|micaz\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
: - msp430-system&lt;br /&gt;
: &#039;&#039;\usr\local\mspgcc\msp430\include\&#039;&#039;&lt;br /&gt;
: - msp430-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
: - telos-hardware&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I want MAC and PHY files to remain unchanged. I found the matching PIN on hardware files.&lt;br /&gt;
: Excerpts:&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\avrmote\avrhardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN(name, port, bit) \ &lt;br /&gt;
 static inline int TOSH_READ_##name##_PIN() \&lt;br /&gt;
 {return (inp(PIN##port) &amp;amp; (1 &amp;lt;&amp;lt; bit)) != 0;}&lt;br /&gt;
 #define TOSH_ALIAS_PIN(alias, connector) \&lt;br /&gt;
 static inline char TOSH_READ_##alias##_PIN() \&lt;br /&gt;
 {return TOSH_READ_##connector##_PIN();}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\micaz\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, D, 6);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430\msp430hardware.h&#039;&#039;&lt;br /&gt;
 #define TOSH_ASSIGN_PIN_HEX(name, port, hex) \&lt;br /&gt;
 uint8_t TOSH_READ_##name##_PIN() \&lt;br /&gt;
 { MSP430REG_NORACE2(r,P##port##IN); return (r &amp;amp; hex); }&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos|telosb\hardware.h&#039;&#039;&lt;br /&gt;
 TOSH_ASSIGN_PIN(RADIO_CCA, 1, 4);&lt;br /&gt;
modification - rename PIN: &lt;br /&gt;
 RADIO_CCA -&amp;gt; CC_CCA:&lt;br /&gt;
 TOSH_ASSIGN_PIN(CC_CCA, 1, 4);&lt;br /&gt;
&lt;br /&gt;
*** second error:&lt;br /&gt;
Simple insertion the missing functions from HPLCC2420M (MicaZ platform) to HPLCC2420M (telos platform, telosb haven&#039;t its own modul, use this one) is impossible.&lt;br /&gt;
Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now. I will try out the assumed code. It won&#039;t work errorless probably.&lt;br /&gt;
: - Excerpts, implementation of functions for Telos&lt;br /&gt;
 module HPLCC2420M {&lt;br /&gt;
  provides { ... }&lt;br /&gt;
  uses { ...&lt;br /&gt;
         interface MSP430Interrupt as FIFOPInterrupt; }&lt;br /&gt;
                   }&lt;br /&gt;
 implementation { ...&lt;br /&gt;
 async command result_t HPLCC2420.enableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear();&lt;br /&gt;
             call FIFOPInterrupt.enable(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async command result_t HPLCC2420.disableFIFOP(){&lt;br /&gt;
    atomic { call FIFOPInterrupt.disable();&lt;br /&gt;
             call FIFOPInterrupt.clear(); }&lt;br /&gt;
    return SUCCESS; }&lt;br /&gt;
 async event void FIFOPInterrupt.fired(){&lt;br /&gt;
    call FIFOPInterrupt.clear();&lt;br /&gt;
    call FIFOPInterrupt.disable();&lt;br /&gt;
    call FIFOPInterrupt.clear(); }&lt;br /&gt;
                   }&lt;br /&gt;
&lt;br /&gt;
*** third error:&lt;br /&gt;
Will probably be need some larger modification of code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Small changes on files:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telos\.platform&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\telosb\.platform&#039;&#039;&lt;br /&gt;
deletion of unnecessary specification &amp;quot;push&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\apps\platform.properties&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\platform.properties&#039;&#039;&lt;br /&gt;
addition of telosb platform data&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [5,6 - 2007] ===&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\msp430\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telos\&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
copied it to:&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\&#039;&#039;&lt;br /&gt;
(during the testing and improvements, it&#039;s not necessary to copy all files, but only a modified files)&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== [3,4 - 2007] ===&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2762</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2762"/>
		<updated>2007-02-22T00:48:03Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;small changes on files (deletion of unnecessary specification &amp;quot;push&amp;quot;) - modification of both files &amp;quot;.platform&amp;quot; from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telos\&amp;quot; and &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\telosb\&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: Blink application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: AssociationExample application - modification of Makefile to accept the another two platforms - telos and telosb&#039;&#039;&lt;br /&gt;
: - &#039;&#039;strange behaviour of cygwing program during the compilation Blink and also AssociationExample application, after compilation error code &amp;quot;make *** [exe0] Error 1&amp;quot;, the restart of cygwin environment helps (sometimes) and this error code disappears (sometimes)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;application Blink is functional for some generated Makefiles&#039;&#039;&lt;br /&gt;
: - &#039;&#039;location of header files for avr and msp430 platform&#039;&#039;&lt;br /&gt;
: - &#039;&#039;rectifying errors: &amp;quot;implicit declaration of function TOSH_READ_CC_CCA_PIN&amp;quot; - problem with HW-header files, this function is not declared for telos platform. I want MAC and PHY files to remain unchanged, therefore I found the matching PIN on hardware files and rename this one. I&#039;m testing it now.&lt;br /&gt;
: - &#039;&#039;rectifying errors: In component HPLCC2420M: &amp;quot;HPLCC2420.enableFIFOP&amp;quot; and &amp;quot;HPLCC2420.disableFIFOP &amp;quot; not implemented. Simple insertion the missing functions from HPLCC2420M.nc (MicaZ platform) to HPLCC2420M.nc (telos platform, telosb haven&#039;t its own modul, use this one) is impossible. Changes were inspired by the implementation for MicaZ platform. I&#039;m testing it now.&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;rectifying error: In component TimerAsyncC: component HPLTimer2C not found. Will probably be need some larger modification of code.&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2761</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2761"/>
		<updated>2007-02-22T00:11:00Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [5,6 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;duplicate files of telos, telosb and msp430 platform: from &amp;quot;\tinyos-1.x\tos\platform\&amp;quot; to &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\&amp;quot; - during the testing and improvements (it&#039;s not necessary to copy all files, but only a modified files)&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of file &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\PowerManagementM.nc&amp;quot; - changes were inspired by the PowerManagementM file of MicaZ platform&amp;quot;&lt;br /&gt;
: - &#039;&#039;small changes on files (addition of telosb platform data) - modification of both files &amp;quot;platforms.properties&amp;quot; form &amp;quot;\tinyos-1.x\contrib\hurray\apps\ and \tinyos-1.x\contrib\hurray\&amp;quot;, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in &amp;quot;\tinyos-1.x\tos\system\&amp;quot; (as well as in &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;) were replace by the files from &amp;quot;\tinyos-1.x\contrib\hurray\tos\platform\msp430\&amp;quot;&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2760</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2760"/>
		<updated>2007-02-21T16:32:46Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [7,8 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;modification HPLPowerManagementM.nc from \tinyos-1.x\contrib\hurray\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of both files platforms.properties: telos=telos,2,19200 -&amp;gt; telos=msp430,2,19200, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in \tos\system (as well as in \platform\msp430) were replace by the files from \platform\msp430&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [9,10 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [11,12 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [13,14 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [15,16 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2710</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2710"/>
		<updated>2007-02-11T02:53:43Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [5,6 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;Wiki upgrade - section Project description&#039;&#039;&lt;br /&gt;
: - &#039;&#039;study of the physical layer files structure for MSP430 and Telos&#039;&#039;&lt;br /&gt;
: - &#039;&#039;problems with a generation of documentation (graphviz) &#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of MAC layer files OK, build documentation fails&#039;&#039;&lt;br /&gt;
:: - &#039;&#039;compilation of PHY layer files fails, build documentation fails&#039;&#039;&lt;br /&gt;
: - &#039;&#039;[http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Phy.nc commented file]&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;implementation of missing commands to appropriate files for MSP430, Telos and TelosB&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;modification HPLPowerManagementM.nc from \tinyos-1.x\contrib\hurray\tos\platform\telosb\&#039;&#039;&lt;br /&gt;
: - &#039;&#039;modification of both files platforms.properties: telos=telos,2,19200 -&amp;gt; telos=msp430,2,19200, linking TmoteSky structure always doesn&#039;t work&#039;&#039;&lt;br /&gt;
* TODO&lt;br /&gt;
: &#039;&#039;- change the directories before linking so that all files included in \tos\system (as well as in \platform\msp430) were replace by the files from \platform\msp430&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2709</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2709"/>
		<updated>2007-02-11T02:41:43Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Developing phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
&lt;br /&gt;
* [5,6 - 2007]&lt;br /&gt;
I used the TinyOS Tmote Sky hardware modules:&lt;br /&gt;
: \tinyos-1.x\tos\platform\msp430\&lt;br /&gt;
: \tinyos-1.x\tos\platform\telos\&lt;br /&gt;
:\tinyos-1.x\tos\platform\telosb\&lt;br /&gt;
moved it to:&lt;br /&gt;
:\tinyos-1.x\contrib\hurray\tos\platform\&lt;br /&gt;
and I&#039;m trying to modify some files.&lt;br /&gt;
&lt;br /&gt;
Since wasn&#039;t necessary change the PHY-layer files, because I have basic problem:&lt;br /&gt;
During compiling the Blink application to a telosb binary:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\Main.nc from Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;PotC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\PotC.nc component HPLPotC not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from Blink.nc:&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;Main&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\Main.nc component HPLInit not found&#039;&#039;&lt;br /&gt;
: &#039;&#039;In file included from \tinyos-1.x\contrib\hurray\tos\system\TimerC.nc from SingleTimer.nc and Blink.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;In component &#039;ClockC&#039;:&#039;&#039;&lt;br /&gt;
: &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\ClockC.nc component HPLClock not found&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
That&#039;s right. I thing, I have to change the directory &#039;&#039;\tinyos-1.x\contrib\hurray\tos\system\&#039;&#039; to &#039;&#039;\tinyos-1.x\contrib\hurray\tos\platform\msp430&#039;&#039; before linking someway, so that all files&lt;br /&gt;
included in &#039;&#039;\tos\system&#039;&#039; (as well as in &#039;&#039;\platform\msp430&#039;&#039;) were replace by the files from&lt;br /&gt;
&#039;&#039;\platform\msp430&#039;&#039;.&lt;br /&gt;
The files in &#039;&#039;\tos\system\&#039;&#039; are primarily determined for other platforms (e.g. Mica). You can see:&lt;br /&gt;
&lt;br /&gt;
The Blink application uses these files:&lt;br /&gt;
MicaZ platform:&lt;br /&gt;
: &#039;&#039;platform/micaz/PowerManagementM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;system/ClockC.nc, LedsC.nc, Main.nc, NoLeds.nc, PotC.nc, PotM.nc, RealMain.nc, TimerC.nc, TimerM.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/avrmote/HPLInit.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica/HPLClock.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/platform/mica2/HPLPotC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
TelosB platform:&lt;br /&gt;
: &#039;&#039;tos/platform/msp430/HPLInitC.nc, HPLInitM.nc, LocalTime.nc, MSP430Capture.nc, MSP430ClockC.nc, MSP430ClockInit.nc, MSP430ClockM.nc, MSP430Compare.nc, MSP430DCOCalibC.nc, MSP430DCOCalibM.nc, MSP430Timer.nc, MSP430TimerC.nc, MSP430TimerControl.nc, MSP430TimerM.nc, Main.nc, MainM.nc, TimerC.nc, TimerJiffy.nc, TimerM.nc, TimerMilli.nc&#039;&#039;&lt;br /&gt;
: &#039;&#039;tos/system/LedsC.nc&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
I think, it&#039;s a problem in a &#039;Makefile&#039; file.&lt;br /&gt;
I tried to add to the &#039;Makefile&#039; (\tinyos-1.x\contrib\hurray\apps\Blink\)&lt;br /&gt;
: &#039;&#039;PFLAGS += -I$(HURRAYROOT)/platform/msp430&#039;&#039;&lt;br /&gt;
but the compiler takes the files still from \tinyos-1.x\contrib\hurray\tos\system\ &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [3,4 - 2007]&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2611</id>
		<title>Open-ZB stack porting to TmoteSky</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_porting_to_TmoteSky&amp;diff=2611"/>
		<updated>2007-01-31T14:10:11Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Developing phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
Open-ZB protocol stack designed at Polytechnical institute of Porto, Portugal is implemented for MicaZ platform in TinyOS/nesC  and we would like to port it to TmoteSky (TelosB) platform.&lt;br /&gt;
&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Developing phase ==&lt;br /&gt;
&lt;br /&gt;
* zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy, je tvorena soubory:&lt;br /&gt;
: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
: \contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
:: z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
:: najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, &lt;br /&gt;
:: HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
:: najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc,&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
: \contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
:: mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
* protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
: [http://rtime.felk.cvut.cz/hw/images/a/a9/Phy.nc.pdf Priklad komentovaneho souboru Phy.nc]&lt;br /&gt;
&lt;br /&gt;
* pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
:: [http://veverka.sh.cvut.cz/~seamus/diplomka/preklad.html viz. pictures]&lt;br /&gt;
: Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2603</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2603"/>
		<updated>2007-01-30T14:38:45Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [1,2 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
: - &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
: - &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
: - &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
: - &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
0) drobny upgrade informaci ve WIKI (puvodni sekce)&lt;br /&gt;
&lt;br /&gt;
1) zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy&lt;br /&gt;
je tvorena soubory:&lt;br /&gt;
:: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: - je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
::\contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
::  - z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
::  - najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
::  - najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc, &lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
2) protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
Jakym zpusobem - viz. priloha.&lt;br /&gt;
&lt;br /&gt;
3) pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
:: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
:: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
::   (viz. prilozene obrazky)&lt;br /&gt;
Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
# najit odpovidajici soubory s prikazy a udalostmi pro msp430, telos a telosb (viz. bod DONE 1)&lt;br /&gt;
# dokoncit analyzu souboru fyzicke vrstvy (viz. bod DONE 2)&lt;br /&gt;
# &amp;quot;vhodne&amp;quot; pouzit misto souboru pro micaz soubory pro telos/telosb&lt;br /&gt;
# pripadne upravit/doimplementovat chybejici prikazy a udalosti&lt;br /&gt;
# zajimalo by me, jestli jsou adresare pro jednotlive platformy nezavisle nebo mezi sebou sdileji soubory, podle aplikace AssociationExample se zda ze vzdy vyssi verze pouziva+upgraduje soubory nizsi verze.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2602</id>
		<title>Weekly Reports</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Weekly_Reports&amp;diff=2602"/>
		<updated>2007-01-30T14:37:07Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* week [3,4 - 2007] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== week [1,2 - 2007] ===&lt;br /&gt;
* DONE&lt;br /&gt;
** &#039;&#039;procetl jsem dalsi lekce TinyOS, jsem u seste &amp;quot;Displaying Data on a PC, The Oscilloscope application&amp;quot;&#039;&#039;&lt;br /&gt;
** &#039;&#039;procetl jsem dalsi kapitoly dokumentu &amp;quot;Telos and Aegis Quick Start Guide&amp;quot; az po &amp;quot;The Aegis application&amp;quot;&#039;&#039;&lt;br /&gt;
** &#039;&#039;procetl jsem nejake datasheety k Tmote Sky TelosB&#039;&#039;&lt;br /&gt;
** &#039;&#039;opet jsem procetl a prelozil cast o fyzicke vrstve v &amp;quot;Reference Guide IEEE 802.15.4 protocol implementation&amp;quot;&#039;&#039;&lt;br /&gt;
** &#039;&#039;vyzkousel jsem si praci s Wiki na rtime.felk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
** &#039;&#039;co nejrychleji uspesne absolvovat zkousky (hlavne z MTR) a pote se venovat praci na diplomce&#039;&#039;&lt;br /&gt;
** &#039;&#039;pokrocit s implementaci 802.15.4 stacku na TelosB&#039;&#039;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [3,4 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
0) drobny upgrade informaci ve WIKI (puvodni sekce)&lt;br /&gt;
&lt;br /&gt;
1) zjistil jsem, ktere soubory pouziva implementace fyzicke vrstvy&lt;br /&gt;
je tvorena soubory:&lt;br /&gt;
:: \contrib\hurray\tos\lib\phy\ phy_const.h, phy_enumerations.h, Phy.nc, PhyM.nc&lt;br /&gt;
:: - je treba najit odpovidajici soubory patrici msp430 a telosu, ktere spravuji prikazy a udalosti, ktere obsahuji posledni dva hlavni soubory a upravit je - implementovat v nich dalsi obsazene prikazy a udalosti&lt;br /&gt;
&lt;br /&gt;
: pouziva:&lt;br /&gt;
::\contrib\hurray\tos\lib\CC2420Radio\ byteorder.h, HPLCC2420.nc, HPLCC2420FIFO.nc, HPLCC2420RAM.nc&lt;br /&gt;
::  - z CC2420Control.nc a CC2420ControlM.nc jsou pouzity parametry a data pro PhyM.nc&lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\platform\avrmote\ HPLInit.nc, HPLPotC.nc&lt;br /&gt;
::  - najit odpovidajici soubory pro msp430&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\platform\micaz\ HPLCC2420C.nc, HPLCC2420FIFOM.nc, HPLCC2420M.nc, HPLPowerManagementM.nc, HPLTimer2.nc, HPLTimer2C.nc&lt;br /&gt;
::  - najit odpovidajici soubory pro telos a telosb&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\system\ frame_format.h, Main.nc, RealMain.nc, PotC.nc, PotM.nc&lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\interfaces\ Pot.nc, HPLPot.nc, PowerManagement.nc, StdControl.nc, &lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
::\contrib\hurray\tos\interfaces\ieee802154\phy\ all&lt;br /&gt;
::  - mely by zustat stejne&lt;br /&gt;
&lt;br /&gt;
2) protoze nelze pouze jednoduse zamenit soubory a jejich provazani je do velke hloubky, zacal jsem prodrobne analyzovat vsechny soubory vyse, abych mel alespon &amp;quot;predstavu&amp;quot; jak vse spolu komunikuje, jak je vse provazano, co co vola a pouziva, na co se co odkazuje, protoze abych porozumel, jak presne vrstva funguje a co se v ni pri behu deje, na to (snad postupem casu) nemam znalosti.&lt;br /&gt;
Jakym zpusobem - viz. priloha.&lt;br /&gt;
&lt;br /&gt;
3) pro nalezeni veskerych provazani jsem chtel pouzit vytvorenou dokumentaci (pomoci graphviz), moje jedine informace jsou z Technical Report (Andre Cunha, Mario Alves), coz je malo, bohuzel s temito problemy:&lt;br /&gt;
:: - prelozit soubory MAC vrstvy nelze, vytvorit dokumentaci lze&lt;br /&gt;
:: - prelozit soubory PHY vrstvy ani vytvorit dokumentaci nelze&lt;br /&gt;
::   (viz. prilozene obrazky)&lt;br /&gt;
Nevite proc? Jestli se soubory kompiluji vsechny spolecne s aplikaci nebo nejak jinak, protoze pri prekladu aplikace pro micaz probehne vse ok (ale neoverim jestli to funguje, mam k dispozici pouze modul telosb).&lt;br /&gt;
&lt;br /&gt;
* TODO&lt;br /&gt;
# najit odpovidajici soubory s prikazy a udalostmi pro msp430, telos a telosb (viz. bod DONE 1)&lt;br /&gt;
# dokoncit analyzu souboru fyzicke vrstvy (viz. bod DONE 2)&lt;br /&gt;
# &amp;quot;vhodne&amp;quot; pouzit misto souboru pro micaz soubory pro telos/telosb&lt;br /&gt;
# pripadne upravit/doimplementovat chybejici prikazy a udalosti&lt;br /&gt;
# zajimalo by me, jestli jsou adresare pro jednotlive platformy nezavisle nebo mezi sebou sdileji soubory, podle aplikace AssociationExample se zda ze vzdy vyssi verze pouziva+upgraduje soubory nizsi verze.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== week [5,6 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;br /&gt;
== week [7,8 - 2007] ==&lt;br /&gt;
* DONE&lt;br /&gt;
* TODO&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2595</id>
		<title>Open-ZB stack modification</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2595"/>
		<updated>2007-01-29T18:12:22Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports (CZ)]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
==  Developing phase ==&lt;br /&gt;
Now Im modifying Physical layer of OpenZB-stack.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;br /&gt;
* [http://www.open-zb.net/downloads.php An IEEE 802.15.4/Zigbee protocol implementation (in nesC/TinyOS)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2594</id>
		<title>Open-ZB stack modification</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2594"/>
		<updated>2007-01-29T18:06:40Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports (CZ)]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
==  Developing phase ==&lt;br /&gt;
Now Im modifying Physical layer of OpenZB-stack.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://sensorweb.vancouver.wsu.edu/wiki/index.php/Tinyos TinyOS Start Guide (Sensorweb Research Laboratory at Washington State University)]&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2593</id>
		<title>Open-ZB stack modification</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2593"/>
		<updated>2007-01-29T18:01:02Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Results */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports (CZ)]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
==  Developing phase ==&lt;br /&gt;
Now Im modifying Physical layer of OpenZB-stack.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2592</id>
		<title>Open-ZB stack modification</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2592"/>
		<updated>2007-01-29T17:54:05Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Project definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports (CZ)]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
OpenZB-stack is developed for the MicaZ platform. My first task is to transform OpenZB-stack to the TelosB platform (Tmote Sky). Second task is develop aplication by using TinyOS for data collection along through the wireless body area network for monitoring physical condition of a Parkinson’s disease patient.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
	<entry>
		<id>https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2591</id>
		<title>Open-ZB stack modification</title>
		<link rel="alternate" type="text/html" href="https://rtime.felk.cvut.cz/hw/index.php?title=Open-ZB_stack_modification&amp;diff=2591"/>
		<updated>2007-01-29T17:42:01Z</updated>

		<summary type="html">&lt;p&gt;Auersm1: /* Summary &amp;amp; Motivation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Weekly reports ==&lt;br /&gt;
[[Weekly_Reports | Weekly Reports (CZ)]] - what is done, what is doing, what will be done.&lt;br /&gt;
&lt;br /&gt;
== Project definition ==&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;/div&gt;</summary>
		<author><name>Auersm1</name></author>
	</entry>
</feed>