Motorola 6806800C44B manual Building the Sample Application, Running the Sample Application

Page 37

Building the Sample Application

Sample Application

 

 

A.3 Building the Sample Application

On the development host the sample application should be crosscompiled for the target architecture. To build the AvSv sample application, use the following command:

./make_env.sh <target-architecture> avsv_demo

This will generate a sample executable file avsv_demo.out in the bin/<target-

architecture>/ directory.

A.4 Running the Sample Application

To run the sample application on the target architecture:

Procedure

1.Install NCS on the System Manager Node and two payload nodes (safNode=PL_2_3 and safNode=PL_2_4 respectively).

2.Transfer/install the sample application inventory on the target machine as follows. Transfer the sample program executable file (avsv_demo.out) to the payload nodes. Place it in /etc/ncs/ folder.

Transfer the sample program scripts (comp_inst.sh and comp_term.sh) to the payload nodes. Place them in /etc/ncs/ folder.

3.Ensure that the scripts have executable permission. Use the following command: chmod +x comp_inst.sh

chmod +x comp_term.sh

4.Update the BOM on the system manager host. The configuration for the sample application is captured in AppConfig.xml file that is supplied along with the sample applications. They can be found (along with sample program scripts) in the

/opt/motorola/ncs/dev/source/avsv directory on the development host.

5.Copy this BOM to the /etc/ncs folder on the System Manager Node. The sample application specific configuration attributes are commented in the AppConfig.xml. Remove the comments (the commented portions begin with a “<!--” and end with a “-->”).

6.Verify if the /etc/ncs/pssv_spcn_list contains the string PSS. Replace it with an configuration data read from the BOM file.

file on the System Manager Node XML file. This is required to force initial

7.Remove the avsv_demo.log file, if any, from the /ncs/log/stdouts folder on the payload nodes. This file contains the output of the sample application.

Availability Service Programmer’s Reference (6806800C44B)

37

Image 37
Contents Availability Service Trademarks Contents Sample Application ContentsList of Tables List of Tables List of Figures Availability Service SubpartsList of Figures About this Manual Overview of ContentsAbbreviations About this Manual Abbreviation Definition ConventionsNotation Description BoldComments and Suggestions Summary of ChangesAbout this Manual Part Number Publication Date DescriptionAbout this Manual Overview IntroductionModels and Concepts Service Structure OverviewIntroduction Models and Concepts Service Structure Overview Introduction Availability Service SubpartsIntroduction Compliance Report Compliance ReportSection Description Supported Section Description Support Compliance ReportIntroductionSaAmfSGMaxActiveSIspe IntroductionCompliance ReportSaAmfSUsperSIRankTabl IntroductionCompliance Report Availability Service Dependencies Service Definition DocumentsService Dependency DependenciesConfiguration Service ExtensionsIntroduction Service Extensions Implementation NotesManagement Information Base MIB Management InterfaceNCS-AVSV-MIB MIB Table ID\Trap ID DescriptionManagement InterfaceNCS-AVM-MIB NCS-AVM-MIBMIB Table ID/Object ID Description SAF-AMF-MIB SAF-AMF-MIBSAF-CLM-MIB Example MIB OperationsManagement Interface Example MIB Operations Install an Application Component on a Sample Node AvSv Traps AvSv TrapsManagement Interface AvSv Traps Filter Description7 XML Command Line Interface1 set 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 ApplicationRunning the Sample Application Building the Sample ApplicationBuilding 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 Motorola Embedded Communications Computing Documents Related DocumentationTable B-1 Motorola Publications Document Title Publication NumberTable B-2 Related Specifications Related SpecificationsRelated Documentation Related Specifications Document Title Version/Source

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.