Motorola Minimal PowerPC 603e User Manual Download Page 11

 

MOTOROLA

 

Minimal PowerPC 603e Evaluation Board

 

11

 

Part 4  DINK Memory Map

 

The hardware memory map shown in Table 2 is useful for programming input/output functions. For
example, controlling the status LED in the coding example of section 1.1 on page 5 required knowledge of
where the Serial One UART Control register could be addressed in the memory space. Equally important is
the knowledge of where the user can download code without overwriting DINK or where functions or
variables in DINK that are useful to the programmer are stored within memory. 

Unlike the physical hardware of the UART addresses, the addresses DINK assigns to functions or variables
may change with each compilation and link of DINK. The linker can be conÞgure to generate a Þle which
cross-references the symbol name of functions and global variables with their assigned physical address. A
copy of this Þle name xref.txt is generally provided by Motorola with the s-record Þle for a new build of
DINK. As an example, Table 3 provides some key addresses combed from the xref.txt for DINK32 version
10.3.

 

Table 2: Excimer Hardware Memory Map

 

Suggeste

d Start

Suggested 

End

Address

Start

Address

End

R/W Size

Device

 

0000 0000

00FF FFFF
(007F FFFF 
in rev X2)

0000 0000

3FFF FFFF

1, 2, 4, 8 byte,  
burst
1, 2, 4, 8 byte

1MB of Static RAM

4000 0000

4000 0000

4000 0000

4000 FFF0

COM2

Data register

4008 0000

4008 0000

4008 0000

4008 FFF0

Interrupt enable

4010 0000

4010 0000

4010 0000

4010 FFF0

FIFO control

4018 0000

4018 0000

4018 0000

4018 FFF0

Line control

4020 0000

4020 0000

4020 0000

4020 FFF0

Status LED (Modem control)

4028 0000

4028 0000

4028 0000

4028 FFF0

Line status

4030 0000

4030 0000

4030 0000

4030 FFF0

Modem status

4038 0000

4038 0000

4038 0000

4038 FFF0

Scratch

4040 0000

4040 0000

4040 0000

4040 FFF0

COM1

Data register

4048 0000

4048 0000

4048 0000

4048 FFF0

Interrupt enable

4050 0000

4050 0000

4050 0000

4050 FFF0

FIFO control

4058 0000

4058 0000

4058 0000

4058 FFF0

Line control

4060 0000

4060 0000

4060 0000

4060 FFF0

Error LED (Modem control )

4068 0000

4068 0000

4068 0000

4068 FFF0

Line status

4070 0000

4070 0000

4070 0000

4070 FFF0

Modem status

4078 0000

4078 0000

4078 0000

4078 FFF0

Scratch

4079 0000

7FFF FFFF

Unused

8000 0000

BFFF FFFF

8000 0000

BFFF FFFF

User/expansion I/O (XCS1)

FF80 
0000

FFFF FFFF

C000 0000

FFFF FFFF

(1 read only), 
2, 4, 8 bytes

Flash

Summary of Contents for Minimal PowerPC 603e

Page 1: ...erPC 603eª evaluation board manufactured by Motorola Excimer is an implementation of a minimal PowerPC design as described in the application note AN1769D ÒDesigning a Minimal PowerPCª SystemÓ This UserÕs Manual is a very dynamic document which will be updated frequently with Motorola enhancements and customer feedback Updates are available on our website http www mot com SPS PowerPC teksupport te...

Page 2: ...a minimal PowerPC system design Possible uses for the EXCIMER include PowerPC architecture learning tool PowerPC assembly language learning tool Embedded C programming learning tool University laboratory tool Running small benchmarks to investigate performance Proof of concept for system design in 1 1 Features The EXCIMER board has the following features 1 MByte of RAM only 512KB on rev X2 4 Mbyte...

Page 3: ...odem cable One parallel cable One Macraigor Systems Inc Wigglerª Several demonstration copies of C compilers debuggers on CDROM PowerPC documentation CD EXCIMER UserÕs Manual this document DINK UserÕs Manual 1 3 Physical Layout Figure 2 shows the physical layout of the Excimer board with several important features labeled MPC603r Main Memory TS Start up Code Processor Memory Controller I O Port Se...

Page 4: ...oard 4 Connect the twenty pin ribbon cable on the Wiggler to the JTAG COP header on Excimer CAUTION Get the orientation correct Pin 1 on the cable has a red stripe Pin 1 on the JTAG connector is labeled While the connector is designed to be keyed the cables rarely are NOTE The JTAG connectorÕs pin 1 will be rotated 180 degrees from revision X2 to revision X3 to better JTAG COP RST BGA SOCKET CLEAR...

Page 5: ...32_603e 11 The DINK32 monitor is now available to accept commands Type in ÔhelpÕ This will show you a list of DINK commands Help will further explain a command if you type help and a command name For example Ôhelp mmÕ will explain the use of the memory modify command For more information on DINK consult the DINK UserÕs Manual Part 3 Programming To write a C program for Excimer you will need an edi...

Page 6: ...e an autotype function that permits the user to select the a hex s record Þle previously generated and download it through the serial into Excimer The DINK32 prompt returns when the download is complete Now we can type the ÔgoÕ command to run the program to turn the led on go 70000 The Status LED on Excimer is controlled by the OUT 2 signal of the Serial 1 UART National Semiconductor PC1655D Dual ...

Page 7: ...is an inexpensive JTAG COP interface for run control and debug of the PowerPC Microprocessor though the parallel port of the PC It translates software commands from various debugger vendors such as Cygnus Green Hills Metaware Metrowerks Microtec Motorola SDS Tasking and Wind River that utilize MacraigorÕs On Chip Debug OCD Application Programming Interface API The Wiggler supports various Motorola...

Page 8: ...eed code download Part 2 Downloading a DINK Upgrade DINK32 as supplied on the Excimer board is available from MotorolaÕs website in source or s record format While not ofÞcially supported DINK32 serves as an application note of example PowerPC code It is often enhanced with new functionality support for new microprocessors or reference designs and bug Þxes There may be enhancements or bug Þxes aft...

Page 9: ...again 8 Press return in MDINK 9 Download the new dink32 src Þle Ñ Type dl ß o ffc00000 at the MDINK prompt Ñ Hit the autotype icon in Smartcom Use the directory tree to select the Þle to download and press the OK button Ñ The MDINK prompt returns when the download is complete CAUTION If communication or power is lost during this process DINK32 in FLASHROM will be corrupted If you can reset and get...

Page 10: ...dink32 src Þle Ñ Type dl ß o ffc00000 at the MDINK prompt Ñ In HyperTerminal select Transfer Send Text File Fill in the path to your DINK32 s record in the space provided and press return The Þle download should begin If your computer locks up at this point you will have to exit HyperTerminal reset the board and start over At this point only MDINK remains in the ßash since the DINK32 image has bee...

Page 11: ... 10 3 Table 2 Excimer Hardware Memory Map Suggeste d Start Suggested End Address Start Address End R W Size Device 0000 0000 00FF FFFF 007F FFFF in rev X2 0000 0000 3FFF FFFF 1 2 4 8 byte burst 1 2 4 8 byte 1MB of Static RAM 4000 0000 4000 0000 4000 0000 4000 FFF0 COM2 Data register 4008 0000 4008 0000 4008 0000 4008 FFF0 Interrupt enable 4010 0000 4010 0000 4010 0000 4010 FFF0 FIFO control 4018 0...

Page 12: ...peciÞcation on our Table 3 DINK Memory Map Use Start End text program code 0x00000000 0x00002bcb data 0x00024bd0 0x0003c192 bss 0x0003c194 0x00041f1b Stack 0x000f1f20 0x0005fffff Reserved memory for DINK 0x00060000 0x0006fffff Memory for User programs 0x00070000 0x000ffffff Table 4 Expansion Connector Pin Signal Name Function 1 2 3 Vcc 3 3 Power 4 6 8 10 12 12 14 16 18 XD 0 XD 1 XD 2 XD 3 XD 4 XD ...

Page 13: ...mpers should never be changed while power is applied to the processor CAUTION The microprocessor linear regulator and heat sink area of the board See Figure 2 can get very hot when the microprocessor is operated at high frequency temperature at 300MHz is approximately 90 C 195 F When used for normal code development 133MHz provides adequate performance and will reduce the danger of injury temperat...

Page 14: ...nced features should explore the Yellowknife platform also available from Motorola or evaluation systems from numerous third party vendors 1011 5x 2x 333 Not recommended 1001 5 5x 2x 366 Not recommended 1101 6x 2x 400 Not recommended 0011 PLL bypass 66 Not recommended 1111 Clock off Board will be inop Table 5 Excimer Frequency PLL_CFG jumper Settings Jumper Position seen as pin1 pin2 pin3 PLL_CFG ...

Page 15: ...lost in serial transmission Add delay between lines in Autotype protocol settings on terminal emulator Nothing happens on the terminal after go nnnnn command ROM access LED ßashing Code has branched into ROM and is looping there Push reset SRAM access LED ßashing Code is in an inÞnite loop in RAM Wiggler might halt the processor and provide the location of the currently executing instruction No ac...

Page 16: ...ion 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 its ofÞcers employees subsidiaries afÞliates and distributors harmless against all claims costs damages and expenses and reasonable attorney f...

Reviews: