Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7...
-
Upload
allison-ball -
Category
Documents
-
view
212 -
download
0
description
Transcript of Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7...
![Page 1: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/1.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 101
Computer System Laboratory
Lab7 – uCOS Application
2015/11/10
![Page 2: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/2.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 102
Experimental Goal Customize your sensor network (SIOTAS) on STM32F207.
2015/11/10
![Page 3: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/3.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 103
Environment Host System
Windows XP Build System
IAR Embedded Workbench + Ubuntu 8.04 Target System
PTK development board (STM32F207) Software
PTK Examples Version 2 You can find all software on CSL Course Software.
2015/11/10
![Page 4: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/4.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 104
Network Configurations
2015/11/10
![Page 5: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/5.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 105
Device Settings Step 1: open the device project and download.
PTK_Example_v2/ePBB/Applications/Projects/PTK-STM32F207/EWARM-V6/OS_uCOS-II/rf_zigbee_zb01_Device/demo.eww
2015/11/10
![Page 6: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/6.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 106
Coordinator Settings Open the coordinator project and download.
PTK_Example_v2/ePBB/Applications/Projects/PTK-STM32F207/EWARM-V6/OS_uCOS-II/rf_zigbee_zb01_Coordinator/demo.eww
2015/11/10
![Page 7: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/7.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 107
Testing LED0 will blinking when Coordinator/Device is working. LED1 will be forced in ON state when Coordinator/Device is connected. More information in PTK_Example_v2/Docs/PTK-RF-ZB-ZB01
2015/11/10
![Page 8: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/8.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 108
TCPIP Settings Open the TCPIP project and download.
PTK_Example_v2/ePBB/Applications/Projects/PTK-STM32F207/EWARM-V6/OS_uCOS-II/base_uC-TCPIP-V2/demo.eww
You should use socket to transfer data. More information in PTK_Example_v2/ePBB/Libraries/OS_uCOS-II/Micrium-V29x/Software/uC-TCPIP-V2/Doc
2015/11/10
![Page 9: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/9.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 109
TCP Server Download source codes of TCP Server in Ubuntu. Test your Server.
% telnet 192.168.0.10 1110 Input some words.
You should transfer coordinator’s data to Echo Server by TCP.
2015/11/10
![Page 10: Lab 7 Department of Computer Science and Information Engineering National Taiwan University Lab7 –…](https://reader036.fdocuments.in/reader036/viewer/2022090107/5a4d1bff7f8b9ab0599ee432/html5/thumbnails/10.jpg)
Lab 7 Department of Computer Science and Information EngineeringNational Taiwan University / 1010
Lab Requirement Design your own application which collect sensor data through Zigbee
and send to PC Ubuntu server through TCPIP socket. Note that it is due the next week.
Please hand in your lab report to the FTP. Server: 140.112.90.174 Username: csl2015 Password: csl2015HomeWork Directory: lab7,8 Please use this format for filename: “G# Ver#”, where G# is your group id and
Ver# is revision version number. E.g., G1 Ver2
2015/11/10