Motorola 6806800C44B manual Sequence of Events in the Sample Application

Page 35

Sample Application

A

A.1 Overview

The sample AvSv application is a 'counter' application that is run in a 2N-redundancy model. The active entity counts periodically. When it fails, the standby entity becomes active and resumes counting from where the previous active entity failed.

The sample application shows you how to use some APIs defined in the SAI-AIS AMF service. It also demonstrates the following features:

zPassive monitoring

zProtection Group tracking

zComponent failover (triggered by a component-generated error report) followed by component restart repair.

zAMF-invoked health check

A.1.1 Sequence of Events in the Sample Application

When the demo is started, AvSv instantiates two instances of the sample application per the configuration in the BOM. The sequence of events in both the applications is described below

Create 3 threads (one each for the counter application, AMF-INTF, and CKPT-INTF)

In the AMF-INTF thread:

1.Initialize with AMF

2.Call the AMF selection object

3.Call the API to get the component name

4.Register the component

5.Wait on the AMF selection object for callback events.

In the CKPT-INTF thread:

zOpen the local checkpoint

zInitialize with CKPT

zRegister the arrival callback

zCall the CKPT selection object

zWait on the CKPT selection object for callback events

AMF dispatches CsiSetCallback with active/standby HA state.

Availability Service Programmer’s Reference (6806800C44B)

35

Image 35
Contents Availability Service Trademarks Contents Sample Application ContentsList of Tables List of Tables List of Figures Availability Service SubpartsList of Figures Abbreviations Overview of ContentsAbout this Manual Bold ConventionsAbout this Manual Abbreviation Definition Notation DescriptionPart Number Publication Date Description Summary of ChangesComments and Suggestions About this ManualAbout this Manual Overview IntroductionIntroduction Models and Concepts Service Structure OverviewModels and Concepts Service Structure Overview Introduction Availability Service SubpartsSection Description Supported Compliance ReportIntroduction Compliance Report Section Description Support Compliance ReportIntroductionSaAmfSGMaxActiveSIspe IntroductionCompliance ReportSaAmfSUsperSIRankTabl IntroductionCompliance Report Dependencies Service Definition DocumentsAvailability Service Dependencies Service DependencyImplementation Notes Service ExtensionsConfiguration Introduction Service ExtensionsMIB Table ID\Trap ID Description Management InterfaceManagement Information Base MIB NCS-AVSV-MIBMIB Table ID/Object ID Description NCS-AVM-MIBManagement InterfaceNCS-AVM-MIB SAF-AMF-MIB SAF-AMF-MIBManagement Interface Example MIB Operations Example MIB OperationsSAF-CLM-MIB Install an Application Component on a Sample Node Filter Description AvSv TrapsAvSv Traps Management Interface AvSv Traps1 set Command Line Interface7 XML Management Interface Admin resetAdmin lock Admin lockAdmreq /2/9/ operation shutdown Management Interface Admin lockAdmswitch AdmswitchAdmswitch Sequence of Events in the Sample Application Sample ApplicationSample Application Configuration for the Sample Application Configuration for the Sample ApplicationBuilding the Sample Application Building the Sample ApplicationRunning the Sample Application Sample Application Sample Application Output Sample Application OutputCounter Value Demonstrating AMF-INITIATED Healthcheck Counter Value Ckpt Wrote 5 to the CheckPoint Ckpt Wrote 9 to the CheckPoint Ckpt Wrote 13 to the CheckPoint Sample ApplicationSample Application Output Ckpt Wrote 21 to the CheckPoint Ckpt Wrote 23 to the CheckPoint Sample Application Output For the stand-by node Sample Application Output Sample Application Sample Application Output Demo Over Unregister & Finalize the Component Counter Value Demo Over Document Title Publication Number Related DocumentationMotorola Embedded Communications Computing Documents Table B-1 Motorola PublicationsDocument Title Version/Source Related SpecificationsTable B-2 Related Specifications Related Documentation Related Specifications

6806800C44B specifications

The Motorola 68000 series, particularly the 68000 microprocessor, has been a cornerstone in the evolution of computing technology. The Motorola 68000 was introduced in 1979 and is renowned for its powerful performance and versatility. One specific variant in this series, the Motorola 68000C44B, offers a remarkable blend of features that cater to both consumer and industrial applications.

The Motorola 68000C44B operates at a clock speed of 25 MHz, allowing it to handle complex instructions swiftly. With a 32-bit data bus, this microprocessor can manage a substantial amount of data simultaneously, enhancing its overall processing capability. The architecture supports a 24-bit address space, meaning it can address up to 16MB of RAM, which was a significant advancement during its time.

One of the standout characteristics of the 68000C44B is its CISC (Complex Instruction Set Computing) architecture. This design paradigm allows the microprocessor to execute multi-step operations with a single instruction, optimizing program efficiency and reducing the load on the CPU. Moreover, the 68000 family is known for its rich instruction set, which provides developers with a wide range of options for programming.

Another important feature of the Motorola 68000C44B is its support for multitasking and memory management. It offers various modes of operation, including user and supervisor modes, facilitating the development of sophisticated operating systems. The ability to work with virtual memory further enhances its utility in complex applications where resources must be managed effectively.

The 68000C44B is also distinguished by its robust compatibility with a range of peripherals and support for various input/output interfaces. This versatility makes it suitable for real-time applications, embedded systems, and consumer electronics.

In terms of power consumption, the Motorola 68000C44B is designed with efficiency in mind, making it a favorable choice for battery-operated devices. Its performance-to-power ratio allows developers to create compact and efficient products without sacrificing functionality.

Overall, the Motorola 68000C44B embodies a blend of performance, efficiency, and compatibility, making it a significant microprocessor in the history of computing. Its technologies and characteristics have laid the groundwork for advancements in microprocessor design, influencing generations of devices. The enduring legacy of the 68000 series continues to resonate in modern computing systems, showcasing the foundational impact of early microprocessors like the Motorola 68000C44B.