4 <title>CMSIS Version History</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
6 <meta name="GENERATOR" content="Microsoft FrontPage 12.0">
7 <meta name="ProgId" content="FrontPage.Editor.Document">
10 /*-----------------------------------------------------------
11 Keil Software CHM Style Sheet
12 -----------------------------------------------------------*/
13 body { color: #000000; background-color: #FFFFFF; font-size: 75%; font-family:
14 Verdana, Arial, 'Sans Serif' }
15 a:link { color: #0000FF; text-decoration: underline }
16 a:visited { color: #0000FF; text-decoration: underline }
17 a:active { color: #FF0000; text-decoration: underline }
18 a:hover { color: #FF0000; text-decoration: underline }
19 h1 { font-family: Verdana; font-size: 18pt; color: #000080; font-weight: bold;
20 text-align: Center; margin-right: 3 }
21 h2 { font-family: Verdana; font-size: 14pt; color: #000080; font-weight: bold;
22 background-color: #CCCCCC; margin-top: 24; margin-bottom: 3;
24 h3 { font-family: Verdana; font-size: 10pt; font-weight: bold; background-color:
25 #CCCCCC; margin-top: 24; margin-bottom: 3; padding: 6 }
26 pre { font-family: Courier New; font-size: 10pt; background-color: #CCFFCC;
27 margin-left: 24; margin-right: 24 }
28 ul { list-style-type: square; margin-top: 6pt; margin-bottom: 0 }
29 ol { margin-top: 6pt; margin-bottom: 0 }
30 li { clear: both; margin-bottom: 6pt }
31 table { font-size: 100%; border-width: 0; padding: 0 }
32 th { color: #FFFFFF; background-color: #000080; text-align: left; vertical-align:
33 bottom; padding-right: 6pt }
34 tr { text-align: left; vertical-align: top }
35 td { text-align: left; vertical-align: top; padding-right: 6pt }
36 .ToolT { font-size: 8pt; color: #808080 }
37 .TinyT { font-size: 8pt; text-align: Center }
38 code { color: #000000; background-color: #E0E0E0; font-family: 'Courier New', Courier;
39 line-height: 120%; font-style: normal }
40 /*-----------------------------------------------------------
42 -----------------------------------------------------------*/
43 p.note { font-weight: bold; clear: both; margin-bottom: 3pt; padding-top: 6pt }
44 /*-----------------------------------------------------------
45 Expanding/Contracting Divisions
46 -----------------------------------------------------------*/
47 #expand { text-decoration: none; margin-bottom: 3pt }
48 img.expand { border-style: none; border-width: medium }
49 div.expand { display: none; margin-left: 9pt; margin-top: 0 }
50 /*-----------------------------------------------------------
52 -----------------------------------------------------------*/
53 p.wh { font-weight: bold; clear: both; margin-top: 6pt; margin-bottom: 3pt }
54 table.wh { width: 100% }
55 td.whItem { white-space: nowrap; font-style: italic; padding-right: 6pt; padding-bottom:
57 td.whDesc { padding-bottom: 6pt }
58 /*-----------------------------------------------------------
60 -----------------------------------------------------------*/
61 table.kt { border: 1pt solid #000000 }
62 th.kt { white-space: nowrap; border-bottom: 1pt solid #000000; padding-left: 6pt;
63 padding-right: 6pt; padding-top: 4pt; padding-bottom: 4pt }
65 td.kt { color: #000000; background-color: #E0E0E0; border-top: 1pt solid #A0A0A0;
66 padding-left: 6pt; padding-right: 6pt; padding-top: 2pt;
68 /*-----------------------------------------------------------
69 -----------------------------------------------------------*/
77 <h1>CMSIS Version History</h1>
78 <p align="center">This document describes the changes between the different CMSIS versions.</p>
79 <p align="center">Version: 2.10 - July 2011</p>
81 <p class="TinyT">Information in this file, the accompany manuals, and software is<br>
82 Copyright © ARM Ltd.<br>All rights reserved.
91 <li class="LI2"><a href="#Toolchain">Used Toolchains</a></li>
92 <li class="LI2"><a href="#6">Changes to version V2.00</a></li>
93 <li class="LI2"><a href="#5">Changes to version V1.30</a></li>
94 <li class="LI2"><a href="#4">Changes to version V1.20</a></li>
95 <li class="LI2"><a href="#2">Open Points</a></li>
96 <li class="LI2"><a href="#1">Limitations</a></li>
100 <h2><a name="Toolchain"></a>Used Toolchains</h2>
102 Following toolchains have been used for test / verification:</i>.
105 <li>ARM: MDK-ARM Version 4.21</li>
106 <li>GNU: Sourcery G++ Lite Edition for ARM 2010.09-51</li>
107 <li>IAR: IAR Embedded Workbench Kickstart Edition V6.10</li>
111 <h2><a name="6"></a>Changes to version V2.00</h2>
113 <h3>Added CMSIS DSP Software Library support for Cortex-M0 based MCUs</h3>
115 The <strong>CMSIS DSP Software Library</strong> provides now also libraries and examples for Cortex-M0.
118 For more information refer to <i>CMSIS DSP Library documentation</i>.
121 <h3>Added big endian support for DSP library</h3>
123 The <strong>CMSIS DSP Software Library</strong> provides now also pre-build libraries
124 and projects for big endian devices.
127 For more information refer to <i>CMSIS DSP Library documentation</i>.
131 <h3>Simplified folder structure for CMSIS include files</h3>
133 All CMSIS core include files as well as the DSP-Library header files are located in
134 a single folder <strong>./CMSIS/Include</strong>.
137 <h3>Changed folder structure for Device Support packages</h3>
139 Device Support packages are expected to be in folder <strong>./Device</strong> located at the
140 same level as <strong>./CMSIS</strong>.
142 <p>The new Device folder contains the following subfolders:</p>
144 <li><b>Device</b></li>
146 <li><<b>Vendor</b>>
148 <li><<b>Device</b>> | <<b>Device Series</b>>
150 <li><b>Include</b><br>
152 system_<device>.h<br>
156 <li><b>Templates</b><br>
157 system_<device>.c<br>
159 <li><<b>Toolchain</b>><br>
160 startup_<device>.s<br>
162 <li><<b>Toolchain</b>></li>
169 <li><<b>Device</b>> | <<b>Device Series</b>></li>
173 <li><<b>Vendor</b>></li>
178 <p>Template files are application specific files and are required to be copied to the project prior to use!</p>
180 <h3>Removed CMSIS core source files</h3>
182 The CMSIS core source files <strong>core_cm0.c, core_cm3.c, core_cm4.c</strong>
183 containing helper functions for older ARM compiler versions got removed.
186 For the <b>ARM Compiler Toolchain </b>version <b>V4.0.677</b> or later is
190 <h2><a name="5"></a>Changes to version V1.30</h2>
192 <h3>Added CMSIS DSP Software Library</h3>
194 The <strong>CMSIS DSP Software Library</strong> is a suite of common signal processing functions targeted
195 to Cortex-M processor based microcontrollers. Even though the code has been specifically
196 optimized towards using the extended DSP instruction set of the Cortex-M4 processor,
197 the library can be compiled for any Cortex-M processor.
200 For more information see <i>CMSIS DSP Library documentation</i>.
203 <h3>Added CMSIS System View Description</h3>
205 The <strong>CMSIS System View Description</strong> answers the challenges of accurate, detailed and
206 timely device aware peripheral debugging support for Cortex Microcontroller based
207 devices by the software development tools vendor community.
210 Silicon vendors shall create and maintain a formalized description of the debug view
211 for all the peripherals contained in their Cortex Microcontroller based devices.
212 Tool vendors use such descriptions to establish device specific debug support in
213 their debugging tools.
216 A standardized System View Description shall provide a common approach to
217 capturing peripheral debug related information in a machine readable files.
220 For more information see <i>CMSIS System View Description</i>.
223 <h3>Added Cortex-M4 Core Support</h3>
225 Additional folder <strong>CM4</strong>, containing the Cortex-M4 core support files, has been added.
233 <li>DeviceSupport</li>
238 <h3>New naming for Core Support Files</h3>
240 The new Core Support Files are:
243 <li>core_cm#.h (# = 0, 3, 4)</li>
244 <li>core_cmFunc.h (Cortex-M Core Register access functions)</li>
245 <li>core_cmInstr.h (Cortex-M Core instructions)</li>
246 <li>core_cm4_simd.h (Cortex-M4 SIMD instructions)</li>
249 <h2><a name="4"></a>Changes to version V1.20</h2>
251 <h3>Removed CMSIS Middelware packages</h3>
253 CMSIS Middleware is removed and no longer focus of CMSIS.
256 <h3>SystemFrequency renamed to SystemCoreClock</h3>
258 The variable name <strong>SystemCoreClock</strong> is more precise than <strong>SystemFrequency</strong>
259 because the variable holds the clock value at which the core is running.
262 <h3>Changed startup concept</h3>
264 The old startup concept (calling SystemInit_ExtMemCtl from startup file and calling SystemInit
265 from main) has the weakness that it does not work for controllers which need a already
266 configuerd clock system to configure the external memory controller.
269 <h5>Changed startup concept</h5>
272 SystemInit() is called from startup file before <strong>premain</strong>.
275 <strong>SystemInit()</strong> configures the clock system and also configures
276 an existing external memory controller.
279 <strong>SystemInit()</strong> must not use global variables.
282 <strong>SystemCoreClock</strong> is initialized with a correct predefined value.
285 Additional function <strong>void SystemCoreClockUpdate (void)</strong> is provided.<br>
286 <strong>SystemCoreClockUpdate()</strong> updates the variable <strong>SystemCoreClock</strong>
287 and must be called whenever the core clock is changed.<br>
288 <strong>SystemCoreClockUpdate()</strong> evaluates the clock register settings and calculates
289 the current core clock.
294 <h3>Advanced Debug Functions</h3>
296 ITM communication channel is only capable for OUT direction. To allow also communication for
297 IN direction a simple concept is provided.
301 Global variable <strong>volatile int ITM_RxBuffer</strong> used for IN data.
304 Function <strong>int ITM_CheckChar (void)</strong> checks if a new character is available.
307 Function <strong>int ITM_ReceiveChar (void)</strong> retrieves the new character.
312 For detailed explanation see file <strong>CMSIS debug support.htm</strong>.
316 <h3>Core Register Bit Definitions</h3>
318 Files core_cm3.h and core_cm0.h contain now bit definitions for Core Registers. The name for the
319 defines correspond with the Cortex-M Technical Reference Manual.
322 e.g. SysTick structure with bit definitions
325 /** \brief Structure type to access the System Timer (SysTick).
329 __IO uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Register */
330 __IO uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
331 __IO uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register */
332 __I uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
335 /* SysTick Control / Status Register Definitions */
336 #define SysTick_CTRL_COUNTFLAG_Pos 16 /*!< SysTick CTRL: COUNTFLAG Position */
337 #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysTick CTRL: COUNTFLAG Mask */
339 #define SysTick_CTRL_CLKSOURCE_Pos 2 /*!< SysTick CTRL: CLKSOURCE Position */
340 #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysTick CTRL: CLKSOURCE Mask */
342 #define SysTick_CTRL_TICKINT_Pos 1 /*!< SysTick CTRL: TICKINT Position */
343 #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysTick CTRL: TICKINT Mask */
345 #define SysTick_CTRL_ENABLE_Pos 0 /*!< SysTick CTRL: ENABLE Position */
346 #define SysTick_CTRL_ENABLE_Msk (1UL << SysTick_CTRL_ENABLE_Pos) /*!< SysTick CTRL: ENABLE Mask */
348 /* SysTick Reload Register Definitions */
349 #define SysTick_LOAD_RELOAD_Pos 0 /*!< SysTick LOAD: RELOAD Position */
350 #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL << SysTick_LOAD_RELOAD_Pos) /*!< SysTick LOAD: RELOAD Mask */
352 /* SysTick Current Register Definitions */
353 #define SysTick_VAL_CURRENT_Pos 0 /*!< SysTick VAL: CURRENT Position */
354 #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos) /*!< SysTick VAL: CURRENT Mask */
356 /* SysTick Calibration Register Definitions */
357 #define SysTick_CALIB_NOREF_Pos 31 /*!< SysTick CALIB: NOREF Position */
358 #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysTick CALIB: NOREF Mask */
360 #define SysTick_CALIB_SKEW_Pos 30 /*!< SysTick CALIB: SKEW Position */
361 #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysTick CALIB: SKEW Mask */
363 #define SysTick_CALIB_TENMS_Pos 0 /*!< SysTick CALIB: TENMS Position */
364 #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL << SysTick_VAL_CURRENT_Pos) /*!< SysTick CALIB: TENMS Mask */
366 /*@} end of group CMSIS_SysTick */</pre>
368 <h3>DoxyGen Tags</h3>
370 DoxyGen tags in files core_cm3.[c,h] and core_cm0.[c,h] are reworked to create proper documentation
374 <h3>Folder Structure</h3>
376 The folder structure is changed to differentiate the single support packages.
384 <li>DeviceSupport</li>
407 <li>Example <i>(optional)</i>
423 <li>Documentation</li>
426 <h2><a name="2"></a>Open Points</h2>
428 Following points need to be clarified and solved:
433 Equivalent C and Assembler startup files.
436 Is there a need for having C startup files although assembler startup files are
437 very efficient and do not need to be changed?
442 Placing of HEAP in external RAM.
445 It must be possible to place HEAP in external RAM if the device supports an
446 external memory controller.
451 Placing of STACK /HEAP.
454 STACK should always be placed at the end of internal RAM.
457 If HEAP is placed in internal RAM than it should be placed after RW ZI section.
463 <h2><a name="1"></a>Limitations</h2>
465 The following limitations are not covered with the current CMSIS version:
469 No <strong>C startup files</strong> are available.