Keil Logo

Example Programs

The Keil MDK-ARM Development Tools download includes several example programs that are configured for the Keil MCBSTM32F200 Board.

The examples are configured for two µVision targets:

  • STM32F207 RAM - where the program runs in internal RAM.
  • STM32F207 Flash - where the program runs from internal Flash.

All examples use the same file structure:

  • Abstract.txt contains a short description of the example.
  • startup_stm32f2xx.s contains the startup code for the microcontroller.
  • system_stm32f2xx.c contains the system initialization code for the microcontroller.
  • Example dependent source code.

MDK V4 Examples

Each example project is stored in a separate sub-folder of:

  • \KEIL\ARM\BOARDS\KEIL\MCBSTM32F200\ for the MCBSTM32F200 board.
  • \KEIL\ARM\BOARDS\KEIL\MCBSTM32F400\ for the MCBSTM32F400 board.

The following example program is installed automatically:

    The Blinky project is a simple example that demonstrates configuring and controlling multiple GPIO ports to blink the on-board LEDs sequentially. SysTimer is used in interrupt mode and ticks every 10ms which toggle the LED flash sequence.

MDK V5 Examples

The examples provided for MDK V5, are included in the Device Family Pack and my be copied to the folder of your choice using the Pack Installer. To do this:

  1. In uVision V5, click the Pack Installer icon.
  2. Click the Examples tab, and locate the Blinky (MCBSTM32F200) example.
  3. Pack Installer: Copy Example

  4. Click the Copy button to copy the example project to a folder of your choice.
  5. Pack Installer: Copy Example Dialog

    The checkboxes retain example project folder structure and open the project in a new instance of uVision.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.