Keil Logo

Setting Target Options

You must select the speed and memory configurations for your target hardware. Since these features of the MCBSTM32C are fixed, copy the settings as shown below. The steps for setting the target options are:

  1. Open the Target Tab of the Project — Options for Target dialog.

    Options for Target - XTAL Type in the XTAL (MHz) of 25.0 for the oscillator frequency.

  2. Enter the memory ROM area for your target system in IROM1.

    Options for Target - IROM1 Enter the starting address of 0x8000000 in Start and the size of 0x80000 in Size.

    The MCBSTM32C has on-chip ROM from 0x8000000 to 0x807FFFF for a total of 0x80000 bytes.

    Clicking the Startup radio button assigns your startup code to this area of memory.

  3. Enter the RAM memory area for your target system in IRAM1.

    Options for Target - IRAM1 Enter the starting address of 0x2000000 in Start and the size of 0x10000 in Size.

    The MCBSTM32C has on-chip RAM from 0x20000000 to 0x2000FFFF for a total of 0x10000 bytes.

Note

  • In the licensed (non-evaluation) version of MDK-ARM, the Memory Areas parameters automatically configure the scatter file for the RealView Linker/Locator.
  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.