cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 StdPeriph_Lib Problems in choosing startup

Pedram
Associate III
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
5 REPLIES 5
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
Up vote any posts that you find helpful, it shows what's working..
Posted on May 18, 2017 at 07:02

Thank you

What's hd_vl ?

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.

  */

Posted on May 18, 2017 at 08:45

vl stands for Value Line, which are the F100 only.

Posted on May 18, 2017 at 09:26

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

Which turned out to be a correct prediction.

Can someone from ST please tell us

what

causes posts to go into moderation ?

Beside of external links, of course.

I think I'm not the only one interested ...