μC/OS- Ⅱ and ShortStack implementation on the LonWorks network and research
- Author
- LiXiaoWen
- Advisor
- LiangHuiBing
- School
- Guangdong University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 91
- Citations
- 4
Abstract
With the development of LonWorks Technology, Neuron Chip, which is a core chip in LonWorks Technology, is put into wide use. However, it has its shortcoming that it doesn’t have powerful ability in processing data, and can’t respond quickly to event. Aimed at its shortcoming, The thesis overcomes its shortcoming by adding a CPU(MSC-51) to original hardware through SCI, embedding μ C/OS-II into the extended CPU and moving the application originally stored in Neuron chip to the extended CPU.The thesis introduces embedded OS, LonWorks, ShortStack technology at firstAfter comparison among different embedded OS, μ C/OS-II is choosen and introduction about μ C/OS-II is also made; It selects 3150 as Micro Server chip afer making a good comparison between Neuron 3120 and 3150. Then it introduces how to make a model file and function of model file, based on the knowledge mentioned above, we implement essential parts of ShortStack technology: SCI driven data line processing and implementation of API and APP.after that, I try to find out the common properties of 11 C/OS-II and ShortStack application in order to integrate them. At last through debugging among MCS-51, all the goals are satisfied.
Table of contents
Chinese Abstract 3-11
first chapter 11-14
1.1 ShortStack microcontroller based UC/OS- Ⅱ realize Profile 11-12 < br /> 1.2 realize the significance of this technology 12
1.3 thesis work describes 12-13
1.4 papers in prospect 13 -14
second chapter introduces related technologies 14-23
2.1 embedded Systems 14-15
2.1.1 embedded Systems hardware 14
2.1.2 embedded Software 14
2.1.3 characteristics of embedded systems 14-15
2.2 LonWorks Technical 15-20
2.2.1 LON network control technology 15-17
2.2.2 LonWorks application 17-20
2.3 ShortStack 20-23
2.3.1 ShortStack device structure 20
2.3.2 ShortStack Micro Server ( micro-server ) 20 - 21
2.3.3 ShortStack Serial Driver ( serial driver ) 21
2.3.4 ShortStack API ( application Program Interface ) 21
2.3 .5 requirements and restrictions 21-22
2.3.6 development Process 22
2.3.7 ShortStack Wizard 22-23
the third chapter in the microcontroller embedded μC/OS- Ⅱ 23-29
3.1 select μC/OS- Ⅱ reason 23-24
3.2 μC / OS-Ⅱ transplant conditions 24-25
3.3 μC/OS- Ⅱ transplant procedure 25-29
Chapter generate ShortStack Micro Server 29 - 31
4.1 FT3150 smart Transceiver 29
4.2 initialization ShortStack Micro Server 29-30
4.3 ShortStack Micro Server attribute 30-31
Chapter design hardware interface 31-36
5.1 Micro Server pin assignment 31-32
5.2 corresponds to the SCI microcontroller pin assignments 32
5.3 SCI interface baud rate setting 32-33
5.4 SCI communication interface signals 33
5.5 Micro Server to upload data to the main processor timing diagram 33-34
5.6 downlink data to the host processor Micro Server timing diagram 34
5.7 memory expansion 34-35
5.8 hardware schematics 35-36
Chapter generate ShortStack serial driver 36-43
6. 1 ShortStack serial driver role 36
6.2 ShortStack API interfaces 36-37
6.3 SCI upload operation 37-38
6 .4 SCI downstream operations 38-40
6.5 send and receive buffer design 40-43
Chapter VII of the Neuron C generated schema file 43 -49
7.1 Neuron C model file Introduction 43
7.2 device interface 43
7.3 defined network variable 43-44
7.4 declaring a network variable 44-48
7.4.1 Statement network variable modifier 44-45
7.4.2 Statement network variable storage type 45-46
7.4.3 network variable types 46
7.4.4 connection Information 46-48 <br / > 7.4.5 set the initial value of network variables 48
7.5 schema files associated with this thesis writing 48-49
Chapter ShortStack application programming 49-59
8.1 initialization ShortStack device 49
8.2 periodically call time processor 49
8.3 transmission network variables Update 49-50
8.4 received from the network network variable update 50-52
8.5 network variables from the network processing queries 52 < br /> 8.6 application messages sent to the network 52-53
8.7 applications received from the network news 53-54
8.8 treatment from the network network management tasks 54-55
8.9 deal with local network management tasks 55-59
Chapter μC/OS- Ⅱ combination with ShortStack application 59-63
9.1 μC/OS- Ⅱ and ShortStack organic combination 59-61
9.2 commissioning anomalies machine solutions 61 - 62
9.3 processor software architecture 62-63
Summary 63-64
References 64-66
pursue a degree during papers 66-67
Thanks 67
Related dissertations
- Design and Application of Real-time Dam Deformation Monitoring Instrument
- Research and Implementation of Networked Data Acquisition System Based on Cortex-M3
- Design of CTD Sensor and Research of Data Processing Technology
- Research on the Iris Recogniton System Based on DSP
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Research and Development of the Internet of Things Based on Lonworks
- Design and Implementation of Industrial Gateway Device Based on ARM
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- The Research on Intelligent Monitor Equoment of Reactive Compensation in Changing Ternimal of New Rural Distribution Network
- The Research and Application of Real-time CDT Protocol in DC Screen
- Design on the Security System in Intelligent Building
- The Design and Implementation on Energy Consumption Monitoring System of Campus Buildings
- Research and Design of Truck-Mounted Weighing System
- Design and Implementation of Rail Flaw Detection System
- Research and Design of Quadrotor Control System Based on the Embedded
- Development and Experimental Study of Embedded Computer System for Water Quality Monitoring
- Fire Intelligent Contral Systen Design and Implementation on Applied in Large Commercial Building
- Design and Implementation of LON Controller in Beer Fermentation
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
- Study on the Resistance Welding Power Source Based on ARM Control