1 | /*===============================================================*\ |
---|
2 | | Project: RTEMS generic mcf548x BSP | |
---|
3 | +-----------------------------------------------------------------+ |
---|
4 | | File: README | |
---|
5 | +-----------------------------------------------------------------+ |
---|
6 | | This is the README for the generic MCF548x BSP. | |
---|
7 | +-----------------------------------------------------------------+ |
---|
8 | | Copyright (c) 2007 embedded brains GmbH. All rights reserved. | |
---|
9 | +-----------------------------------------------------------------+ |
---|
10 | | | |
---|
11 | | Parts of the code has been derived from the "dBUG source code" | |
---|
12 | | package Freescale is providing for M548X EVBs. The usage of | |
---|
13 | | the modified or unmodified code and it's integration into the | |
---|
14 | | generic mcf548x BSP has been done according to the Freescale | |
---|
15 | | license terms. | |
---|
16 | | | |
---|
17 | | The Freescale license terms can be reviewed in the file | |
---|
18 | | | |
---|
19 | | Freescale_license.txt | |
---|
20 | | | |
---|
21 | +-----------------------------------------------------------------+ |
---|
22 | | | |
---|
23 | | The generic mcf548x BSP has been developed on the basic | |
---|
24 | | structures and modules of the av5282 BSP. | |
---|
25 | | | |
---|
26 | +-----------------------------------------------------------------+ |
---|
27 | | | |
---|
28 | | The license and distribution terms for this file may be | |
---|
29 | | found in the file LICENSE in this distribution or at | |
---|
30 | | http://www.rtems.org/license/LICENSE. | |
---|
31 | | | |
---|
32 | +-----------------------------------------------------------------+ |
---|
33 | | | |
---|
34 | | date history ID | |
---|
35 | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
---|
36 | | 12.11.07 1.0 ras | |
---|
37 | | | |
---|
38 | \*===============================================================*/ |
---|
39 | |
---|
40 | |
---|
41 | Description: Generic mcf548x BSP |
---|
42 | |
---|
43 | The genmcf548x supports several boards based on the Freescale MCF547x/8x |
---|
44 | ColdFire microcontrollers |
---|
45 | |
---|
46 | Supported Hardware: mcf5484FireEngine |
---|
47 | ============================= |
---|
48 | CPU: MCF548x, 200MHz |
---|
49 | XLB: 100 MHz, which is the main clock for all onchip peripherals |
---|
50 | RAM: 64M (m5484FireEngine) |
---|
51 | Boot-Flash: 2M (m5484FireEngine) |
---|
52 | Code-Flash: 16M (m5484FireEngine) |
---|
53 | Core-SRAM: 8K |
---|
54 | Core-SysRAM: 32K |
---|
55 | Boot-Monitor:None |
---|
56 | |
---|
57 | Supported Hardware: COBRA5475 |
---|
58 | ============================= |
---|
59 | CPU: MCF5475, 266MHz |
---|
60 | XLB: 132 MHz, which is the main clock for all onchip peripherals |
---|
61 | RAM: 128M |
---|
62 | Boot-Flash: 32M |
---|
63 | Core-SRAM: 8K |
---|
64 | Core-SysRAM: 32K |
---|
65 | Boot-Monitor:DBug |
---|
66 | |
---|
67 | |
---|
68 | ACKNOWLEDGEMENTS: |
---|
69 | ================= |
---|
70 | This BSP is based on the |
---|
71 | |
---|
72 | av5282 BSP |
---|
73 | |
---|
74 | and the work of |
---|
75 | |
---|
76 | D. Peter Siddons |
---|
77 | Brett Swimley |
---|
78 | Jay Monkman |
---|
79 | Eric Norum |
---|
80 | Mike Bertosh |
---|
81 | |
---|
82 | BSP INFO: |
---|
83 | ========= |
---|
84 | BSP NAME: genmcf548x |
---|
85 | BOARD: various MCF547x/8x based boards |
---|
86 | CPU FAMILY: ColdFire 548x |
---|
87 | CPU: MCF5475/MCF5484 |
---|
88 | FPU: MCF548x FPU, context switch supported by RTEMS multitasking |
---|
89 | EMAC: MCF548x EMAC context switch supported by RTEMS multitasking (handeld together with FPU context) |
---|
90 | |
---|
91 | PERIPHERALS |
---|
92 | =========== |
---|
93 | TIMERS: 2 slice timers, 4 general purpose timers (SLT0 is used for RTEMS clock, SLT1 is used for diagnostic pupose) |
---|
94 | RESOLUTION: System tick 10 millieconds (via SLT0) |
---|
95 | SERIAL PORTS: Internal PSC 0-3 |
---|
96 | NETWORKING: Internal 10/100MHz FEC on two channels |
---|
97 | |
---|
98 | DRIVER INFORMATION |
---|
99 | ================== |
---|
100 | CLOCK DRIVER: SLT0 |
---|
101 | TIMER DRIVER: SLT1 (diagnostics) |
---|
102 | TTY DRIVER: PSC0-3 |
---|
103 | |
---|
104 | STDIO |
---|
105 | ===== |
---|
106 | PORT: PSC0 (UART mode) terminal |
---|
107 | ELECTRICAL: RS-232 |
---|
108 | BAUD: 9600 |
---|
109 | BITS PER CHARACTER: 8 |
---|
110 | PARITY: None |
---|
111 | STOP BITS: 1 |
---|
112 | MODES: Interrupt driven (polled mode alternatively) |
---|
113 | |
---|
114 | |
---|
115 | ---------------------------------------------------------------------- |
---|
116 | |
---|
117 | Memory map of m5484FireEngine as set up by BSP initialization: |
---|
118 | |
---|
119 | +--------------------------------------------------+ |
---|
120 | 0000 0000 | 64 MByte SDRAM (external) | 03FF FFFF |
---|
121 | . . |
---|
122 | . . |
---|
123 | . . |
---|
124 | |
---|
125 | |
---|
126 | m5484FireEngine: |
---|
127 | |
---|
128 | |
---|
129 | | | 0FFF FFFF |
---|
130 | +--------------------------------------------------+ |
---|
131 | 1000 0000 | internal per. registers via MBAR | 1003 FFFF |
---|
132 | . . |
---|
133 | . . |
---|
134 | . . |
---|
135 | | | |
---|
136 | +--------------------------------------------------+ |
---|
137 | 2000 0000 | 8K core SRAM (internal) | 2000 1FFF |
---|
138 | . . |
---|
139 | . . |
---|
140 | . . |
---|
141 | |
---|
142 | m5484FireEngine: |
---|
143 | |
---|
144 | | | |
---|
145 | +--------------------------------------------------+ |
---|
146 | E000 0000 | 16M code flash (external) | E0FF FFFF |
---|
147 | . . |
---|
148 | . . |
---|
149 | . . |
---|
150 | | | |
---|
151 | +--------------------------------------------------+ |
---|
152 | FF80 0000 | External 8 MByte Flash memory | FF9F FFFF |
---|
153 | . . |
---|
154 | . . |
---|
155 | . . |
---|
156 | | | FFFF FFFF |
---|
157 | +--------------------------------------------------+ |
---|
158 | |
---|
159 | |
---|
160 | ---------------------------------------------------------------------- |
---|
161 | |
---|
162 | Memory map for COBRA5475 as set up by DBug: |
---|
163 | |
---|
164 | +--------------------------------------------------+ |
---|
165 | F000 0000 | 128 MByte SDRAM (external) | |
---|
166 | . . |
---|
167 | . (first 256KByte reserved for DBug) . |
---|
168 | . . F03F FFFF |
---|
169 | F040 0000 | | |
---|
170 | . . |
---|
171 | . . |
---|
172 | . . |
---|
173 | | | F7FF FFFF |
---|
174 | +--------------------------------------------------+ |
---|
175 | FC00 0000 | 32M code flash (external) | |
---|
176 | . . |
---|
177 | . . |
---|
178 | . . |
---|
179 | | | FDFF FFFF |
---|
180 | +--------------------------------------------------+ |
---|
181 | FE00 0000 | internal per. registers via MBAR | |
---|
182 | . . |
---|
183 | . . |
---|
184 | . . |
---|
185 | | | FE03 FFFF |
---|
186 | +--------------------------------------------------+ |
---|
187 | FF00 0000 | 8K core SRAM (internal) | |
---|
188 | . . |
---|
189 | . . |
---|
190 | . . |
---|
191 | | | FF00 1FFF |
---|
192 | +--------------------------------------------------+ |
---|
193 | |
---|
194 | ============================================================================ |
---|
195 | |
---|
196 | Interrupt map |
---|
197 | |
---|
198 | +-----+-----------------------------------------------------------------------+ |
---|
199 | | | PRIORITY | |
---|
200 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
201 | |LEVEL| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
---|
202 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
203 | | 7 | | | | | | | | | |
---|
204 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
205 | | 6 | | | | | | | | | |
---|
206 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
207 | | 5 | | | | | | | | | |
---|
208 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
209 | | 4 | | | | | | | | SLT0 | |
---|
210 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
211 | | 3 | PSC 0 | PSC 1 | PSC 2 | PSC 3 | | | | | |
---|
212 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
213 | | 2 | | | | | FEC0/1 | MCDMA | | | |
---|
214 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
215 | | 1 | | | | | | | | | |
---|
216 | +-----+--------+--------+--------+--------+--------+--------+--------+--------+ |
---|
217 | |
---|
218 | ============================================================================ |
---|
219 | |
---|
220 | TIMING TESTS |
---|
221 | ************************** |
---|
222 | |
---|
223 | tbd. |
---|