From IXP1200 Programming: The Microengine Coding Guide for the Intel IXP1200 Network Processor Family

The goal of this chapter is to provide the information necessary to write, compile, and simulate your very first microengine C program. This chapter takes you through the process of installing the tools needed to start writing code for the microengines. Then, we ll show you how to write a simple microengine program.

Many different IXP12xx hardware configurations exist and there s no way to know which ones you have available, if any at all. So, for the code examples in this chapter and in the other chapters in this book, we ll show you how to run them only on the simulator. Since the simulator comes on the enclosed CD-ROM, it is the best lowest common denominator. If you want more information on running microcode on the hardware, refer to the IXP1200 Network Processor Family: Development Tools User s Guide that is installed with the tools.

Installing the Tools

To install the tools you ll need to write your hello world program, you ll need a PC running Windows NT 4.0, and the installation CD-ROM, which we have included with this book.

Installing the tools is as simple as installing any other Windows program.

  1. Insert the CD-ROM from the back of the book into the CD drive. A browser window should appear listing the CD-ROM s contents. Click the link entitled Install Intel Internet eXchange Architecture SDK to start the installation.

  2. When asked for the license key for the microengine C compiler, enter the key received from your Intel Sales Representative if you...

Copyright Intel Corporation 2002 under license agreement with Books24x7

Products & Services
Optical Storage Media
Optical storage media contains digital data that is written to and read by a laser. Product categories include compact disks (CD) and digital video disks (DVD).
Audio Visual Services
Audio visual service providers design, integrate, and install multimedia equipment for corporate, production, and broadcasting applications.
Data Storage Systems
Data storage systems are used to store, protect and manage computer data. Many types of disk drives and tape drives are available.
Device Drivers
Device drivers are programs that provide the interface between general use software (such as an operating system) and specific hardware or software modules. With personal computers (PCs), drivers are often packaged as dynamic link library (DLL) files.
Computer Terminals
Thin clients are network computers that are especially small so that most data processing occurs on the server. Thin clients are powered by centralized servers and do not contain CD-ROM drives, disc drives, and expansion slots.

Topics of Interest

The goal of this chapter is to explain some IXP12xx microengine software design philosophy. We ll present one particular design philosophy-that we have found to work well, balancing code performance...

Overview Learning to write code for the IXP2XXX microengines can be challenging, as learning to program on any new platform can be challenging. We ll take the typical approach to getting started by...

To use the tutorials in this book, you ll want to be sure you ve installed most of the components that are available on the VIZ installation CD. This means that you ll need at least 500 MB of free...

An Overview of Microengine and Core Communication Some of the inter-microengine programming mechanisms examined in this chapter can be applied to communication and synchronization between...

H.1 Software Overview The CD-ROM included with this book contains the Exploration/VHDL compiler/simulator from FTL Systems, on-line VHDL source code extracted from the book and a collection of...