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

Page 37
Image 37
Motorola 6806800C44B manual Building the Sample Application, Running the Sample Application

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.