herunterladen

Freescale Semiconductor
Application Note
© Freescale Semiconductor, Inc., 2006. All rights reserved.
This application note and the accompanying software in the
AN3062SW.zip file assist users in programming the MPC885
Integrated Security Engine (SEC Lite). The software
.zip
file contains a simple SEC driver, information on initializing
the MPC885 SEC Lite, and working software as a
starting-point for design. In conjunction with the SEC driver,
there is an Ethernet driver to demonstrate encryption and
decryption of an Ethernet frame payload.
This application note assumes familiarity with the following
manuals, which are available at the web site listed on the
back cover of this document:
• MPC885 PowerQUICC™ Reference Manual
(MPC885RM)
• Programming Environments Manual for 32-Bit
Implementations of the PowerPC Architecture
(MPCFPE32B)
Contents
1 Basics of SEC Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
2 Hardware Preparation . . . . . . . . . . . . . . . . . . . . . . . . . .4
3 Software Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
4 sec.c Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
5 fec.c Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
6 Development Environment . . . . . . . . . . . . . . . . . . . . . .8
MPC885 Family
SEC Lite Programming
by Jay Azurin and Geoff Waters
DSD Applications and Systems Engineering
Freescale Semiconductor, Inc.
Austin, TX
AN3062
Rev. 0, 01/2006