Back to home page

LXR

 
 

    


Warning, /bsps/m68k/mcf5225x/README.md is written in an unsupported language. File is not indexed.

0001 mcf5225x
0002 ========
0003 Description: embed-it dpu
0004 
0005 CPU: MCF52259, ??MHz
0006 SRAM: 64K
0007 FLASH: 512K
0008 
0009 This is a embed-it board that uses the MCF52258 Coldfire CPU. 
0010 This board is running at ??MHz scaled from the internal relocation 8MHz oscillator.
0011 
0012 
0013 
0014 OLD-STUFF from MCF52235 EVB ... we have to change it ...
0015 
0016 NOTES:
0017 
0018 Currently this BSP must be configured with most RTEMS features turned
0019 off as RAM usage is too high.
0020 
0021 Configure as follows:
0022 
0023 ```shell
0024 configure --target=m68k-rtems4.XXX --enable-rtemsbsp=mcf52235 ...
0025 ```
0026 To get the tests to compile (but not run) change the linkcmds to specify
0027 a larger sram memory region (256K works).  This of course will let you 
0028 compile all tests, but many or most of them wont run.
0029 
0030 See testsuites/samples/minumum for an example of what type of config flags
0031 you need for this BSP!
0032 
0033 In you project before you include confdefs.h, define some or all of the
0034 following:
0035 
0036 #define CONFIGURE_INIT_TASK_STACK_SIZE x
0037 #define CONFIGURE_MINIMUM_TASK_STACK_SIZE x
0038 #define CONFIGURE_INTERRUPT_STACK_SIZE x
0039 
0040 Note that the default stack size is 1K
0041 Note that the default number of priorities is 15
0042 
0043 
0044 TODO:
0045 
0046 *) Add drivers for I2C, ADC, FEC
0047 *) Support for LWIP
0048 *) Recover the 1K stack space reserved in linkcmds used for board startup.
0049 
0050 
0051 
0052 Interrupt map
0053 -------------
0054 ```
0055 +-----+-----------------------------------------------------------------------+
0056 |     |                                PRIORITY                               |
0057 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0058 |LEVEL|    7   |    6   |    5   |    4   |    3   |    2   |    1   |    0   |
0059 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0060 |  7  |        |        |        |        |        |        |        |        |
0061 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0062 |  6  |        |        |        |        |        |        |        |        |
0063 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0064 |  5  |        |        |        |        |        |        |        |        |
0065 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0066 |  4  |        |        |        |        |        |        |        |   PIT  |
0067 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0068 |  3  | UART 0 | UART 1 | UART 2 |        |        |        |        |        |
0069 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0070 |  2  |        |        |        |        |        |        |        |        |
0071 +-----+--------+--------+--------+--------+--------+--------+--------+--------+
0072 |  1  |        |        |        |        |        |        |        |        |
0073 +-----+--------+--------+--------+--------+--------+--------+--------+--------+ 
0074 ```
0075 
0076 
0077 Timing tests
0078 ------------
0079 ```
0080 *** TIME TEST 1 ***
0081 rtems_semaphore_create 8
0082 rtems_semaphore_delete 10
0083 rtems_semaphore_obtain: available 3
0084 rtems_semaphore_obtain: not available -- NO_WAIT 3
0085 rtems_semaphore_release: no waiting tasks 7
0086 *** END OF TEST 1 ***
0087 
0088 
0089 *** TIME TEST OVERHEAD ***
0090 rtems_shutdown_executive 0
0091 rtems_task_create 0
0092 rtems_task_ident 0
0093 rtems_task_start 0
0094 rtems_task_restart 0
0095 rtems_task_delete 0
0096 rtems_task_suspend 0
0097 rtems_task_resume 0
0098 rtems_task_set_priority 0
0099 rtems_task_mode 0
0100 rtems_task_wake_when 0
0101 rtems_task_wake_after 0
0102 rtems_interrupt_catch 0
0103 rtems_clock_get 0
0104 rtems_clock_set 0
0105 rtems_clock_tick 0
0106 <pause>
0107 rtems_timer_create 0
0108 rtems_timer_delete 0
0109 rtems_timer_ident 0
0110 rtems_timer_fire_after 0
0111 rtems_timer_fire_when 1
0112 rtems_timer_reset 0
0113 rtems_timer_cancel 0
0114 rtems_semaphore_create 0
0115 rtems_semaphore_delete 0
0116 rtems_semaphore_ident 0
0117 rtems_semaphore_obtain 0
0118 rtems_semaphore_release 0
0119 rtems_message_queue_create 0
0120 rtems_message_queue_ident 0
0121 rtems_message_queue_delete 0
0122 rtems_message_queue_send 0
0123 rtems_message_queue_urgent 0
0124 rtems_message_queue_broadcast 0
0125 rtems_message_queue_receive 0
0126 rtems_message_queue_flush 0
0127 <pause>
0128 rtems_event_send 0
0129 rtems_event_receive 0
0130 rtems_signal_catch 0
0131 rtems_signal_send 0
0132 rtems_partition_create 0
0133 rtems_partition_ident 0
0134 rtems_partition_delete 0
0135 rtems_partition_get_buffer 0
0136 rtems_partition_return_buffer 0
0137 rtems_region_create 0
0138 rtems_region_ident 0
0139 rtems_region_delete 0
0140 rtems_region_get_segment 0
0141 rtems_region_return_segment 0
0142 rtems_port_create 0
0143 rtems_port_ident 0
0144 rtems_port_delete 0
0145 rtems_port_external_to_internal 0
0146 rtems_port_internal_to_external 0
0147 <pause>
0148 rtems_io_initialize 0
0149 rtems_io_open 0
0150 rtems_io_close 0
0151 rtems_io_read 0
0152 rtems_io_write 0
0153 rtems_io_control 0
0154 rtems_fatal_error_occurred 0
0155 rtems_rate_monotonic_create 0
0156 rtems_rate_monotonic_ident 0
0157 rtems_rate_monotonic_delete 0
0158 rtems_rate_monotonic_cancel 0
0159 rtems_rate_monotonic_period 0
0160 rtems_multiprocessing_announce 0
0161 *** END OF TIME OVERHEAD ***
0162 ```