background image

 

MOTOROLA

GATEWAY BOARD

1

 

THE MOTOROLA GATEWAY BOARD

 

(MCF5202 Microprocessor To MC68EC000 Bus Interface Card)

Jeff Miller

October 15, 1997

 

1.0 Introduction

 

The integrated Gateway circuit board will bridge an existing MC68EC000 system to the new ColdFire¨ 

MCF5202 VL-RISC microprocessor, to evaluate the possibility of moving toward a higher performance architecture.  
It can be used to evaluate system enhancements such as on-chip instruction and/or data cache and bursting to external 
memory.  It can also be used to port software code to the ColdFire architecture directly in a customerÕs system as 
opposed to the traditional method of porting code to an evaluation platform.  This paper describes the use and opera-
tion of the Gateway board as well as technical information that can be used as a reference design.

 

2.0 Gateway Board Overview

 

2.1 Software Considerations

 

The principal use of this board is to help port system software code from the M68000 architecture to the Cold-

Fire architecture.  Users will have to recompile the system software to target the MCF5202 instead of targeting the 
M68000.  Even though the system will see a hardware interface that looks like a MC68EC000, the software must con-
sist of ColdFire instructions for the MCF5202 to work properly.  Refer to Section 8, ÒPorting from M68K Architec-

 

ture,Ó of the 

 

MCF5202 UserÕs Manual

 

 for an overview of the issues encountered when upgrading from the M68000 to 

the ColdFire microprocessor.  In addition, youÕll have to keep three key things in mind while porting system software 
code from the MC68EC000 system to the MCF5202 system

 

1.

mapping 32-bit MCF5202 addresses to 24-bit 68EC000 addresses 

2.

cache coherency 

3.

RMW cycles

MICROPROCESSORS

¨

 

   

  

F

re

e

sc

a

le

 S

e

m

ic

o

n

d

u

c

to

r,

 I

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

 

Freescale Semiconductor, Inc.

For More Information On This Product,

   Go to: www.freescale.com

n

c

.

..

Содержание VL-RISC MCF5202

Страница 1: ...2 0 Gateway Board Overview 2 1 Software Considerations The principal use of this board is to help port system software code from the M68000 architecture to the Cold Fire architecture Users will have to recompile the system software to target the MCF5202 instead of targeting the M68000 Even though the system will see a hardware interface that looks like a MC68EC000 the software must con sist of Col...

Страница 2: ...hich could have yet another caching scheme and control the caching scheme for this region using the default cache mode in the CACR register This example memory map translation is shown in Table 1 For this example ACR0 can be set up such that everything within the region 01xxxxxx which includes 01000000 011FFFFF containing instructions can have a speciÞc cache attribute such as copyback ACR1 can be...

Страница 3: ...ot Also the interrupt level being acknowledged is driven onto A D 4 2 by the MCF5202 which has to be routed onto address lines A 3 1 for the 68EC000 See Figure 3 for more details The board also has control logic to handle bus arbitration for alternate bus masters If the HALT signal is asserted the processor will stop bus activity at the completion of the current bus cycle and will place all contro...

Страница 4: ...sed later even greater system performance will result Table 2 Bus Clock Timing Comparison 16 bit mode MCF5202 DATA ACCESS READ WRITE GATEWAY BOARD BUS CLOCKS EQUIVALENT MC68EC000 BUS CLOCKSTO GET SAME DATA Byte Word Long Read 7 6 7 13 4 4 4 8 Byte Word Long Write 7 5 7 12 4 4 4 8 Line Fill 4 Longs Read 6 6 6 6 6 6 6 7 49 4 4 4 4 4 4 4 4 32 Line Fill 4 Longs Write 5 5 5 5 5 5 5 7 42 4 4 4 4 4 4 4 4...

Страница 5: ... example the 2KB uniÞed cache can be conÞg ured to be 2KB of I cache only 2KB of D cache only 1KB of I cache and 1KB of D cache or as a normal 2KB uniÞed cache with a dynamic mixture of both instructions and data Other ColdFire microprocessors can be selected according to speciÞc system requirements For example the MCF5204 which would not require latches and buffers because it has a demultiplexed ...

Страница 6: ...knowledge Cycle Note that at all times the MCF5202 will not burst TBI 0 and that the address phase lasts for only one clock AA 0 Figure 1 Longword Read To A 16 Bit Port AD 31 16 CLOCK READ D 31 16 ADDR 00 ADDR ADDR ADDR READ D 15 0 00 01 01 10 READ D 31 24 READ D 23 16 READ D 15 8 READ D 7 0 TS R W TT 1 0 ATM SIZ 1 0 AD 15 0 DA 1 0 FC 2 0 A 23 0 AS UDS LDS DTACK D 15 8 D 7 0 w S0 S2 S4 S6 w w PS1 ...

Страница 7: ...4 PS5 PS1 PS1 w PS1 WRITE D 31 16 ADDR 00 ADDR 00 01 WRITE D 31 24 ADDR ADDR WRITE D 15 0 01 WRITE D 23 16 WRITE D 7 0 WRITE D 15 8 10 AD 31 16 TS R W TT 1 0 ATM SIZ 1 0 AD 15 0 DA 1 0 FC 2 0 A 23 0 AS UDS LDS DTACK D 15 8 D 7 0 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 8: ...0 S2 S4 S6 w w PS1 w PS1 PS2 PS3 PS4 PS5 PS1 PS1 S0 S2 S4 S6 w w PS2 PS3 PS4 PS5 PS1 PS1 w PS1 IPL AD 31 24 AD 4 2 AD 1 0 AVEC IPL 2 0 LEVEL A 3 1 A0 IPL LEVEL IPL LEVEL VECTOR IPL LEVEL IACK CYCLE VECTOR NUMBER ACQUISITION AUTOVECTORED IACK CYCLE w PS1 10 01 or 10 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 9: ...property LOCK TT1 9 pLSI property LOCK TT0 10 pLSI property LOCK ATM 11 pLSI property LOCK BR68K 15 pLSI property LOCK SDO 18 pLSI property LOCK SIZ1 19 pLSI property LOCK BDCF 21 pLSI property LOCK SCLK 27 pLSI property LOCK RSTI 29 Reset Wait for beginning of ColdFire cycle Begin a 68EC000 cycle Data Acknowledge to the MCF5202 Wait for Acknowledge from 68EC000 TS TS TS TS DTACK DTACK Grant to Co...

Страница 10: ...d to uP pin 8 istype input SDI only used for in circuit programming of PLD TT1 pin 9 istype input TT0 pin 10 istype input ATM pin 11 istype input BR68K pin 15 istype input nBR68K pin 18 istype input SDO only used for in circuit programming of PLD SIZ1 pin 19 istype input BDCF pin 21 istype input nBDCF pin 27 istype input SCLK only used for in circuit programming of PLD RSTI pin istype input pin 29...

Страница 11: ... 37 istype output Addr Enable for A 23 8 AEUP 0 HIZ AEUP 1 output Internal Nodes PQ0 PQ1 PQ2 node istype reg buffer A0 node istype reg buffer ATMA node istype reg buffer NQ1 node istype reg NQ2 node istype reg NCLK node BQ0 BQ1 node istype reg buffer Constants c k x z C K X Z this is used for test vectors State Value Constants psreg PQ2 PQ1 PQ0 Positive Clk State Register PS0 0 0 0 PQ2 PQ1 PQ0 PS1...

Страница 12: ...TE5 NCLK OEBA16 CF is master not halted during AS 16 bit read IACK OEBA16 BG68K HALT AS RnW MODE TT1 TT0 OEBA8 CF is master not halted during AS 8 bit read IACK OEBA8 BG68K HALT AS RnW MODE TT1 TT0 OEAB16 CF is master not halted during AS 16 bit write OEAB16 BG68K HALT AS RnW MODE OEAB8 CF is master not halted during AS 8 bit write OEAB8 BG68K HALT AS RnW MODE UDS Read PS3 PS4 PCLK PS5 16 bit Odd ...

Страница 13: ...PS3 else goto state 3 STATE PS3 Assert other control signals GOTO PS4 Unconditionally goto state 4 STATE PS4 Waiting for DTACK from 68K IF TT1 TT0 AVEC THEN if TT 1 0 11 IACK and AVEC then PS5 goto state 5 just DA the cycle ELSE IF DTACK THEN else if Normal or IACK without AVEC look for DTACK PS5 goto state 5 ELSE PS4 else stay in state 4 STATE PS5 Data acknowledge to ColdFire GOTO PS1 Uncondition...

Страница 14: ...0 0 0 1 Normal User Data 1 0 0 0 0 1 0 Normal User Instruction 0 1 0 0 1 0 1 Normal Supervisor Data 1 1 0 0 1 1 0 Normal Supervisor Instruction X X 0 1 0 0 0 Reserved X X 1 0 Emulator Access X X 1 1 1 1 1 CPU Space or IACK NOTE 2 RnW MODE A0 SIZ1 AENORM AEIACK UDS LDS OExxxx Notes SIZ0 1 1 0 1 1 0 1 0 OEBA16 Read 16 bit even byte Normal 1 1 0 1 0 1 1 1 OEBA8 Read 16 bit even byte IACK 1 1 0 0 x x ...

Страница 15: ...PLD 68EC000 Connector 68 pin PLCC ColdFire MCF5202 B D M A D A D U1 U2 J3 U9 U6 U8 U7 U4 U5 U3 J2 ISP ColdFire Gateway Board S N 1 9 10 26 44 60 61 1 26 25 2 BDM Component Side Solder Side 10 9 1 26 27 44 60 61 J1 43 3 5 in 2 in J1 J2 J3 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Страница 16: ... R8 Res 4 7K 5 1 8W 1206 7 4 Samtec TMS 117 55 G S J1 Conn HDR 17 pins 50Mil ctr single row 1X17 8 1 AMP 1 103783 3 J2 Conn HDR 26 pins 100Mil ctr dual row 2X13 9 1 AMP 1 87499 3 J3 Conn HDR 8 pins 100Mil ctr single row 1X8 10 1 Samwa Venkel CS3216X7R103K500R C1206X7R500 103KNE C1 Cap 0 01UF 10 50V 1206 11 1 Panasonic S1012 36 ND C2 Cap 33UF 10 16V 1206 TANT 12 22 Samwa Venkel CS3216X7R104K500R C1...

Страница 17: ...AD22 AD23 D0 D1 D2 D3 D4 D5 D6 D7 74F573 U9 19 18 17 16 15 14 13 12 Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 A16 A17 A18 A19 A20 A21 A22 A23 OE AEUPPER 1 C ADLT 11 2 3 4 5 6 7 8 9 AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 D0 D1 D2 D3 D4 D5 D6 D7 74F573 U3 19 18 17 16 15 14 13 12 Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 A8 A9 A10 A11 A12 A13 A14 A15 OE AEIACK 1 C ADLT 11 2 3 4 5 6 7 8 9 AD5 AD2 AD3 AD4 AD5 AD5 AD6 AD7 D0 D1 D2 D3 D4 D5...

Страница 18: ...6 OEBA 2 EAB GND 11 LEAB nLE16_8 14 3 4 5 6 7 8 9 10 AD24 AD25 AD26 AD27 AD28 AD29 AD30 AD31 A0 A1 A2 A3 A4 A5 A6 A7 74F543 U7 22 21 20 19 18 17 16 15 B0 B1 B2 B3 B4 B5 B6 B7 D8 D9 D10 D11 D12 D13 D14 D15 OEAB nOEAB16 13 GND EBA 23 nLE16_8 LEBA 1 nOEBA16 OEBA 2 EAB GND 11 LEAB nLE16_8 14 3 4 5 6 7 8 9 10 AD24 AD25 AD26 AD27 AD28 AD29 AD30 AD31 A0 A1 A2 A3 A4 A5 A6 A7 74F543 U8 22 21 20 19 18 17 16...

Страница 19: ...s in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur Should Buyer purchase or use Motorola products for any such unintended or unauthorized application Buyer shall indemnify and hold Motorola and it...

Отзывы: