资料介绍
The PIC18CXX2 was intended to make conversions
from midrange controllers to enhanced controllers as
easily as possible. Changes to register and bit names,
and bit locations were kept to a minimum. The
PIC18CXX2 was designed to be pin-compatible with
28-pin and 40-pin midrange controllers.
This application note describes the minimum changes
required to port code from the PIC16C74A to the
PIC18C442, and are typical when migrating code from
any midrange controller to any enhanced controller.
Changes to the PIC16C74A code largely consists of
renaming registers and bits, moving bits to new regis-
ters, and placing variables into the appropriate places
in RAM. Where additional features have been added,
changes to code have been suggested. AN716
Migrating Designs from PIC16C74A/74B to PIC18C442
Note 2: Oscillator operation should be verified to
Author: Brett Duane
ensure that it starts and performs as
Microchip Technology Inc.
expected. Adjusting the loading capacitor
values and/or the oscillator mode may be
INTRODUCTION required.
The PIC18CXX2 was intended to make conversions