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.
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.
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.
When asked for the license key for the microengine C compiler, enter the key received from your Intel Sales Representative if you...