Skip to main content
Pedram
Associate III
May 17, 2017
Question

STM32 StdPeriph_Lib Problems in choosing startup

  • May 17, 2017
  • 5 replies
  • 813 views
Posted on May 17, 2017 at 23:38

Hello friends

 I hope all is good

i have Problems in choosing startup from StdPeriph_Lib my MCU is STM32f103vct6

Which should I use and why?

0690X00000606MoQAI.png
    This topic has been closed for replies.

    5 replies

    Tesla DeLorean
    Guru
    May 18, 2017
    Posted on May 18, 2017 at 02:11

    Google STM32F103VC, it's a High-Density part

    http://www.st.com/en/microcontrollers/stm32f103vc.html

     

    startup_stm32f10x_hd.s

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Pedram
    PedramAuthor
    Associate III
    May 18, 2017
    Posted on May 18, 2017 at 07:02

    Thank you

    What's hd_vl ?

    AvaTar
    Senior III
    May 18, 2017
    Posted on May 18, 2017 at 07:51

    Here ST's explanation from their

    stm32f10x.h

    file (guess it causes the post to go into moderation, too):

      /* ♯ define STM32F10X_LD */     /*!< STM32F10X_LD: STM32 Low density devices */

      /* ♯ define STM32F10X_LD_VL */  /*!< STM32F10X_LD_VL: STM32 Low density Value Line devices */  

      /* ♯ define STM32F10X_MD */     /*!< STM32F10X_MD: STM32 Medium density devices */

      /* ♯ define STM32F10X_MD_VL */  /*!< STM32F10X_MD_VL: STM32 Medium density Value Line devices */  

      /* ♯ define STM32F10X_HD */     /*!< STM32F10X_HD: STM32 High density devices */

      /* ♯ define STM32F10X_HD_VL */  /*!< STM32F10X_HD_VL: STM32 High density value line devices */  

      /* ♯ define STM32F10X_XL */     /*!< STM32F10X_XL: STM32 XL-density devices */

      /* ♯ define STM32F10X_CL */     /*!< STM32F10X_CL: STM32 Connectivity line devices */

    /*  Tip: To avoid modifying this file each time you need to switch between these

            devices, you can define the device in your toolchain compiler preprocessor.

     - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers

       where the Flash memory density ranges between 16 and 32 Kbytes.

     - Low-density value line devices are STM32F100xx microcontrollers where the Flash

       memory density ranges between 16 and 32 Kbytes.

     - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers

       where the Flash memory density ranges between 64 and 128 Kbytes.

     - Medium-density value line devices are STM32F100xx microcontrollers where the

       Flash memory density ranges between 64 and 128 Kbytes.   

     - High-density devices are STM32F101xx and STM32F103xx microcontrollers where

       the Flash memory density ranges between 256 and 512 Kbytes.

     - High-density value line devices are STM32F100xx microcontrollers where the

       Flash memory density ranges between 256 and 512 Kbytes.   

     - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where

       the Flash memory density ranges between 512 and 1024 Kbytes.

     - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.

      */