Appendix A - Microcode Initialization Procedure; Initialization Procedure For Quicc Version $0001; Initialization Procedure For Quicc Revision $0002 - Motorola MC68360 User Manual

Asynchronous hdlc, async hdlc protocol microcode
Hide thumbs Also See for MC68360:
Table of Contents

Advertisement

Appendix A - Microcode Initialization Procedure

The initialization procedure and S-Record will vary depending upon the QUICC ROM revi-
sion that the microcode was written for. Be sure to check the Rev_Num register in the
Misc_Base area to determine which S-Record to load.
A.1 Initialization Procedure for QUICC Version $0001
Revision $0001 silicon can be identified by a value of $0001 in the Rev_Num register.
1. Download the supplied S-Record for version $001 onto the QUICC that is going to be
running the ASYNC-HDLC microcode package. The S-Record was created assuming
that the base of Dual-Port RAM on the selected QUICC starts at $20000. If this is not
the case, you will have to either modify the S-Record or extract the data from the S-
Record and load it using some other method.
2. Write $806C to REGB + $5CC (CPCR1)
3. Write $804C to REGB + $5CE (CPCR2)
4. Write $0000 to REGB + $5D0 (CPCR3)
5. Write $0000 to REGB + $5D2 (CPCR4)
6. Write $0001 to the RCCR register
7. Write $8000 to the CR register
If the QUICC is ever reset (by RESETS or RESETH), the micro-
code must be reloaded and reinitialized.
A.2 Initialization Procedure for QUICC Revision $0002
Revision $0002 silicon can be identified by a value of $0002 in the Rev_Num register.
1. Download the supplied S-Record for version $0002 onto the QUICC that is going to be
running the ASYNC-HDLC microcode package. The S-Record was created assuming
that the base of Dual-Port RAM on the selected QUICC starts at $20000. If this is not
the case, you will have to either modify the S-Record or extract the data from the S-
Record and load it using some other method.
2. Write $806C to REGB + $5CC (CPCR1)
3. Write $804C to REGB + $5CE (CPCR2)
4. Write $0000 to REGB + $5D0 (CPCR3)
5. Write $0000 to REGB + $5D2 (CPCR4)
6. Write $0001 to the RCCR register
7. Write $8000 to the CR register
If the QUICC is ever reset (by RESETS or RESETH), the micro-
code must be reloaded and reinitialized.
MOTOROLA
Freescale Semiconductor, Inc.
Note
Note
For More Information On This Product,
Go to: www.freescale.com
Asynchronous HDLC
21

Advertisement

Table of Contents
loading

Table of Contents