source: rtems/c/src/lib/libbsp/m68k/uC5282/README @ 043329e

4.104.114.84.9
Last change on this file since 043329e was 043329e, checked in by Eric Norum <WENorum@…>, on Feb 2, 2005 at 1:21:05 AM

Add interrupt assignment map.

  • Property mode set to 100644
File size: 16.6 KB
Line 
1#
2#  $Id$
3#
4
5Description: Arcturus Networks uC DIMM ColdFire 5282
6============
7CPU: MCF5282, 64MHz
8RAM: 16M
9ROM: 4M
10
11This is a credit-card sized board in a DIMM format. It is part of a family
12which includes Dragonball and Coldfire CPUs, with a standardized DIMM-based bus.
13
14ACKNOWLEDGEMENTS:
15=================
16This BSP is based on the work of:
17    D. Peter Siddons
18    Brett Swimley
19    Jay Monkman
20
21TODO:
22=====
23Make a clean exit routine to return to Arcturus monitor
24
25The bsp relies on the Arcturus monitor to set up DRAM and all chip selects.
26This seems OK to me, but others may find it lame.....
27
28 
29BSP NAME:           uC5282
30BOARD:              Arcturus Netrworks uCdimm 5282
31BUS:                Arcturus DIMM bus, A24/D16, plus peripherals.
32CPU FAMILY:         ColdFire 5282
33CPU:                MCF5282
34COPROCESSORS:       N/A
35
36DEBUG MONITOR:      Arcturus bootloader
37
38PERIPHERALS
39===========
40TIMERS:             Four PIT (RTEMS clock is PIT3), Four Timers
41  RESOLUTION:       1 microsecond
42SERIAL PORTS:       Internal UART 1, 2 and 3
43REAL-TIME CLOCK:    none
44DMA:                none
45VIDEO:              none
46SCSI:               none
47NETWORKING:         Internal 10/100MHz FEC
48
49DRIVER INFORMATION
50==================
51CLOCK DRIVER:       PIT3
52IOSUPP DRIVER:      none
53SHMSUPP:            none
54TIMER DRIVER:       TIMER3
55TTY DRIVER:         UART1, 2 and 3
56
57STDIO
58=====
59PORT:               UART1 Terminal
60ELECTRICAL:         RS-232
61BAUD:               9600
62BITS PER CHARACTER: 8
63PARITY:             None
64STOP BITS:          1
65
66Downloading the image to the board.
67===================================
68
69The bootable image is generated by the make-exe target in the bsp makefile. It
70generates a simple stripped binary file which is downloaded over the ethernet
71port into RAM then executed or programmed into flash memory.
72
731) Power up the uC5282 board. A dump of some memory map is produced
74   followed by a prompt.
75
762) type 'tftp<CR>'
77
783) Run 'tftp' on your host machine:
79            tftp> binary
80            tftp> connect www.xxx.yyy.zzz      (You're ucDIMM's address)
81            tftp> put someFile.exe
82
834) When the file has downloaded press the <ESC> key to terminate
84   the uCDIMM tftp command.
85
865) Type 'goram<CR>' to start the downloaded program, or type 'program<CR>'
87to burn the code onto the uCDIMM flash.
88
89EPICS Bootstrap Information
90===========================
91The EPICS startup code uses the following environment variables.  If an
92optional environment variable is missing the value in parentheses will be used.
93All Internet addresses must be given in 'dotted-decimal' format.
94HWADDR0    - Ethernet hardware address.
95IPADDR0    - Internet address (192.168.0.2).
96NETMASK    - Local network address mask (255.255.252.0).
97HOSTNAME   - Internet host name (iocNobody).
98GATEWAY    - Internet address of gateway machine (NULL).
99SERVER     - Internet address of NFS server (192.168.0.1).
100NAMESERVER - Internet address of DNS server (SERVER).
101DOMAIN     - DNS domain name (precompiled value from CONFIG_SITE).
102NTPSERVER  - Internet address of NTP server (SERVER).
103LOGSERVER  - Internet address of syslog server (SERVER).
104BOOTFILE   - Path to executable (epics/iocNobody/bin/RTEMS-uC5282/myApp.boot).
105CMDLINE    - Path to startup script (epics/iocBoot/iocNobody/st.cmd).
106
107
108============================================================================
109
110      Memory map as set up by dBUG bootstrap and BSP initialization
111
112          +--------------------------------------------------+
1130000 0000 |       16 MByte SDRAM                             | 00FF FFFF
1140100 0000 |  ---------------------------------------------   |
115          |    Address space for future SDRAM expansion      |
116          .                                                  .
117          .                                                  .
118          .                                                  .
119          |                                                  | 0FFF FFFF
120          +--------------------------------------------------+
1211000 0000 | External 4 MByte flash memory                    |
122          .                                                  .
123          .                                                  .
124          .                                                  .
125          |                                                  | 1FFF FFFF
126          +--------------------------------------------------+
1272000 0000 | 64 kByte on-chip SRAM (RAMBAR)                   |
128          .                                                  .
129          .                                                  .
130          .                                                  .
131          |                                                  | 2FFF FFFF
132          +--------------------------------------------------+
1333000 0000 |  CS1* space (First 'VME' A24/D16 space)          | 30FF FFFF
1343100 0000 |  CS2* space (Second 'VME' A24/D16 space)         | 31FF FFFF
135          .                                                  .
136          .                                                  .
137          .                                                  .
138          |                                                  | 3FFF FFFF
139          +--------------------------------------------------+
1404000 0000 | Internal peripheral system (IPSBAR)              |
141          .                                                  .
1424400 0000 | Backdoor access to on-chip flash                 |
143          .                                                  .
144          .                                                  .
145          .                                                  .
146          |                                                  | 4FFF FFFF
147          +--------------------------------------------------+
148          .                                                  .
149          .                                                  .
150          .                                                  .
151          +--------------------------------------------------+
152f000 0000 | 512 kByte on-chip flash (FLASHBAR)               |
153          .                                                  .
154          .                                                  .
155          .                                                  .
156          |                                                  | fFFF FFFF
157          +--------------------------------------------------+
158
159============================================================================
160
161      Interrupt map
162
163+-----+-----------------------------------------------------------------------+
164|     |                                PRIORITY                               |
165+-----+--------+--------+--------+--------+--------+--------+--------+--------+
166|LEVEL|    7   |    6   |    5   |    4   |    3   |    2   |    1   |    0   |
167+-----+--------+--------+--------+--------+--------+--------+--------+--------+
168|  7  |        |        |        |        |        |        |        |        |
169+-----+--------+--------+--------+--------+--------+--------+--------+--------+
170|  6  |        |        |        |        |        |        |        |        |
171+-----+--------+--------+--------+--------+--------+--------+--------+--------+
172|  5  |        |        |        |        |        |        |        |        |
173+-----+--------+--------+--------+--------+--------+--------+--------+--------+
174|  4  | FEC RX | FEC TX |        |        |        |        |        |   PIT  |
175+-----+--------+--------+--------+--------+--------+--------+--------+--------+
176|  3  | UART 0 | UART 1 | UART 2 |        |        |        |        |        |
177+-----+--------+--------+--------+--------+--------+--------+--------+--------+
178|  2  |        |        |        |        |        |        |        |        |
179+-----+--------+--------+--------+--------+--------+--------+--------+--------+
180|  1  |        |        |        |        |        |        |        |        |
181+-----+--------+--------+--------+--------+--------+--------+--------+--------+
182
183============================================================================
184
185TIMING TESTS  2005-01-28
186========================
187
188*** TIME TEST 1 ***
189rtems_semaphore_create 19
190rtems_semaphore_delete 21
191rtems_semaphore_obtain: available 4
192rtems_semaphore_obtain: not available -- NO_WAIT 5
193rtems_semaphore_release: no waiting tasks 12
194*** END OF TEST 1 ***
195
196*** TIME TEST 2 ***
197rtems_semaphore_obtain: not available -- caller blocks 34
198*** END OF TEST 2 ***
199
200*** TIME TEST 3 ***
201rtems_semaphore_release: task readied -- preempts caller 27
202*** END OF TEST 3 ***
203
204*** TIME TEST 4 ***
205rtems_task_restart: blocked task -- preempts caller 54
206rtems_task_restart: ready task -- preempts caller 52
207rtems_semaphore_release: task readied -- returns to caller 18
208rtems_task_create 87
209rtems_task_start 24
210rtems_task_restart: suspended task -- returns to caller 27
211rtems_task_delete: suspended task 66
212rtems_task_restart: ready task -- returns to caller 28
213rtems_task_restart: blocked task -- returns to caller 38
214rtems_task_delete: blocked task 69
215*** END OF TEST 4 ***
216
217*** TIME TEST 5 ***
218rtems_task_suspend: calling task 23
219rtems_task_resume: task readied -- preempts caller 22
220*** END OF TEST 5 ***
221
222*** TIME TEST 6 ***
223rtems_task_restart: calling task 30
224rtems_task_suspend: returns to caller 9
225rtems_task_resume: task readied -- returns to caller 12
226rtems_task_delete: ready task 69
227*** END OF TEST 6 ***
228
229*** TIME TEST 7 ***
230rtems_task_restart: suspended task -- preempts caller 44
231*** END OF TEST 7 ***
232
233*** TIME TEST 8 ***
234rtems_task_set_priority: obtain current priority 6
235rtems_task_set_priority: returns to caller 17
236rtems_task_mode: obtain current mode 3
237rtems_task_mode: no reschedule 3
238rtems_task_mode: reschedule -- returns to caller 8
239rtems_task_mode: reschedule -- preempts caller 22
240rtems_task_set_note 6
241rtems_task_get_note 6
242rtems_clock_set 22
243rtems_clock_get 1
244*** END OF TEST 8 ***
245
246*** TIME TEST 9 ***
247rtems_message_queue_create 55
248rtems_message_queue_send: no waiting tasks 20
249rtems_message_queue_urgent: no waiting tasks 21
250rtems_message_queue_receive: available 20
251rtems_message_queue_flush: no messages flushed 8
252rtems_message_queue_flush: messages flushed 12
253rtems_message_queue_delete 29
254*** END OF TEST 9 ***
255
256*** TIME TEST 10 ***
257rtems_message_queue_receive: not available -- NO_WAIT 10
258rtems_message_queue_receive: not available -- caller blocks 38
259*** END OF TEST 10 ***
260
261*** TIME TEST 11 ***
262rtems_message_queue_send: task readied -- preempts caller 37
263*** END OF TEST 11 ***
264
265*** TIME TEST 12 ***
266rtems_message_queue_send: task readied -- returns to caller 23
267*** END OF TEST 12 ***
268
269*** TIME TEST 13 ***
270rtems_message_queue_urgent: task readied -- preempts caller 35
271*** END OF TEST 13 ***
272
273*** TIME TEST 14 ***
274rtems_message_queue_urgent: task readied -- returns to caller 24
275*** END OF TEST 14 ***
276
277*** TIME TEST 15 ***
278rtems_event_receive: obtain current events 0
279rtems_event_receive: not available -- NO_WAIT 5
280rtems_event_receive: not available -- caller blocks 28
281rtems_event_send: no task readied 5
282rtems_event_receive: available 9
283rtems_event_send: task readied -- returns to caller 16
284*** END OF TEST 15 ***
285
286*** TIME TEST 16 ***
287rtems_event_send: task readied -- preempts caller 27
288*** END OF TEST 16 ***
289
290*** TIME TEST 17 ***
291rtems_task_set_priority: preempts caller 39
292*** END OF TEST 17 ***
293
294*** TIME TEST 18 ***
295rtems_task_delete: calling task 83
296*** END OF TEST 18 ***
297
298*** TIME TEST 19 ***
299rtems_signal_catch 5
300rtems_signal_send: returns to caller 12
301rtems_signal_send: signal to self 20
302exit ASR overhead: returns to calling task 15
303exit ASR overhead: returns to preempting task 18
304*** END OF TEST 19 ***
305
306*** TIME TEST 20 ***
307rtems_partition_create 20
308rtems_region_create 40
309rtems_partition_get_buffer: available 11
310rtems_partition_get_buffer: not available 7
311rtems_partition_return_buffer 12
312rtems_partition_delete 11
313rtems_region_get_segment: available 28
314rtems_region_get_segment: not available -- NO_WAIT 29
315rtems_region_return_segment: no waiting tasks 29
316rtems_region_get_segment: not available -- caller blocks 55
317rtems_region_return_segment: task readied -- preempts caller 72
318rtems_region_return_segment: task readied -- returns to caller 58
319rtems_region_delete 25
320rtems_io_initialize 1
321rtems_io_open 1
322rtems_io_close 1
323rtems_io_read 1
324rtems_io_write 1
325rtems_io_control 1
326*** END OF TEST 20 ***
327
328*** TIME TEST 21 ***
329rtems_task_ident 60
330rtems_message_queue_ident 60
331rtems_semaphore_ident 69
332rtems_partition_ident 59
333rtems_region_ident 60
334rtems_port_ident 59
335rtems_timer_ident 61
336rtems_rate_monotonic_ident 60
337*** END OF TEST 21 ***
338
339*** TIME TEST 22 ***
340rtems_message_queue_broadcast: task readied -- returns to caller 32
341rtems_message_queue_broadcast: no waiting tasks 14
342rtems_message_queue_broadcast: task readied -- preempts caller 39
343*** END OF TEST 22 ***
344
345*** TIME TEST 23 ***
346rtems_timer_create 8
347rtems_timer_fire_after: inactive 12
348rtems_timer_fire_after: active 12
349rtems_timer_cancel: active 9
350rtems_timer_cancel: inactive 8
351rtems_timer_reset: inactive 14
352rtems_timer_reset: active 15
353rtems_timer_fire_when: inactive 21
354rtems_timer_fire_when: active 21
355rtems_timer_delete: active 12
356rtems_timer_delete: inactive 11
357rtems_task_wake_when 35
358*** END OF TEST 23 ***
359
360*** TIME TEST 24 ***
361rtems_task_wake_after: yield -- returns to caller 3
362rtems_task_wake_after: yields -- preempts caller 18
363*** END OF TEST 24 ***
364
365*** TIME TEST 25 ***
366rtems_clock_tick 7
367*** END OF TEST 25 ***
368
369*** TIME TEST 26 ***
370_ISR_Disable 1
371_ISR_Flash 0
372_ISR_Enable 0
373_Thread_Disable_dispatch 1
374_Thread_Enable_dispatch 3
375_Thread_Set_state 7
376_Thread_Disptach (NO FP) 16
377context switch: no floating point contexts 12
378context switch: self 2
379context switch: to another task 1
380fp context switch: restore 1st FP task 14
381fp context switch: save idle, restore initialized 3
382fp context switch: save idle, restore idle 13
383fp context switch: save initialized, restore initialized 2
384_Thread_Resume 7
385_Thread_Unblock 6
386_Thread_Ready 5
387_Thread_Get 1
388_Semaphore_Get 1
389_Thread_Get: invalid id 0
390*** END OF TEST 26 ***
391
392*** TIME TEST 27 ***
393interrupt entry overhead: returns to interrupted task 3
394interrupt exit overhead: returns to interrupted task 3
395interrupt entry overhead: returns to nested interrupt 2
396interrupt exit overhead: returns to nested interrupt 2
397interrupt entry overhead: returns to preempting task 4
398interrupt exit overhead: returns to preempting task 20
399*** END OF TEST 27 ***
400
401*** TIME TEST 28 ***
402rtems_port_create 12
403rtems_port_external_to_internal 5
404rtems_port_internal_to_external 6
405rtems_port_delete 12
406*** END OF TEST 28 ***
407
408*** TIME TEST 29 ***
409rtems_rate_monotonic_create 13
410rtems_rate_monotonic_period: initiate period -- returns to caller 20
411rtems_rate_monotonic_period: obtain status 10
412rtems_rate_monotonic_cancel 13
413rtems_rate_monotonic_delete: inactive 17
414rtems_rate_monotonic_delete: active 16
415rtems_rate_monotonic_period: conclude periods -- caller blocks 24
416*** END OF TEST 29 ***
417
418*** TIME CHECKER ***
419Units may not be in microseconds for this test!!!
4200 100000
421Total time = 0
422Average time = 0
423NULL timer stopped at 0
424LOOP (1000) timer stopped at 188
425LOOP (10000) timer stopped at 1875
426LOOP (50000) timer stopped at 9375
427LOOP (100000) timer stopped at 18750
428*** END OF TIME CHECKER ***
429
430*** TIME TEST OVERHEAD ***
431rtems_initialize_executive 0
432rtems_shutdown_executive 0
433rtems_task_create 0
434rtems_task_ident 0
435rtems_task_start 0
436rtems_task_restart 0
437rtems_task_delete 0
438rtems_task_suspend 0
439rtems_task_resume 0
440rtems_task_set_priority 0
441rtems_task_mode 0
442rtems_task_get_note 0
443rtems_task_set_note 0
444rtems_task_wake_when 1
445rtems_task_wake_after 0
446rtems_interrupt_catch 0
447rtems_clock_get 1
448rtems_clock_set 1
449rtems_clock_tick 0
450rtems_timer_create 0
451rtems_timer_delete 0
452rtems_timer_ident 0
453rtems_timer_fire_after 1
454rtems_timer_fire_when 1
455rtems_timer_reset 0
456rtems_timer_cancel 0
457rtems_semaphore_create 0
458rtems_semaphore_delete 0
459rtems_semaphore_ident 0
460rtems_semaphore_obtain 0
461rtems_semaphore_release 0
462rtems_message_queue_create 0
463rtems_message_queue_ident 0
464rtems_message_queue_delete 0
465rtems_message_queue_send 0
466rtems_message_queue_urgent 0
467rtems_message_queue_broadcast 0
468rtems_message_queue_receive 0
469rtems_message_queue_flush 0
470rtems_event_send 0
471rtems_event_receive 0
472rtems_signal_catch 0
473rtems_signal_send 0
474rtems_partition_create 0
475rtems_partition_ident 0
476rtems_partition_delete 0
477rtems_partition_get_buffer 0
478rtems_partition_return_buffer 0
479rtems_region_create 0
480rtems_region_ident 0
481rtems_region_delete 0
482rtems_region_get_segment 0
483rtems_region_return_segment 0
484rtems_port_create 0
485rtems_port_ident 0
486rtems_port_delete 0
487rtems_port_external_to_internal 0
488rtems_port_internal_to_external 0
489rtems_io_initialize 0
490rtems_io_open 0
491rtems_io_close 0
492rtems_io_read 0
493rtems_io_write 0
494rtems_io_control 0
495rtems_fatal_error_occurred 0
496rtems_rate_monotonic_create 0
497rtems_rate_monotonic_ident 0
498rtems_rate_monotonic_delete 0
499rtems_rate_monotonic_cancel 0
500rtems_rate_monotonic_period 0
501rtems_multiprocessing_announce 0
502*** END OF TIME OVERHEAD ***
Note: See TracBrowser for help on using the repository browser.