Skip to main content
KEDAR JOSHI
Associate
June 20, 2017
Solved

STM32F103C8 board bring up

  • June 20, 2017
  • 2 replies
  • 979 views
Posted on June 20, 2017 at 14:08

Hi All,

I am new to this domain. 

I am using STM32F103C8 controller and has some proprietary OS on it.

My objective is:

1. To understand aspects(Hardware, Software, Tools, Memory etc) to be considered to add new OS.

2. To remove existing OS and port Free RTOS and board bring-up.

3. Confirming all the required interfaces are up and running.

Thanks in advance.

Kedar

    This topic has been closed for replies.
    Best answer by Bogdan Golab
    Posted on June 20, 2017 at 17:02

    Hi,

    1. Tools:

    -CubeMX is a great tool to see all pheripherals (hw) for STM32 MCU - just install it and run to select your MCU and generate hw drivers (app skeleton).

    -CubeMX can enable FREERTOS on the board - I mean you can generated code (app skeleton) based on FREERTOS

    -CubeMX is able to generate code for a few IDE/Compilers  (Keil, etc) - select one of them during app skeleton generation. I use Keil v5. Free version supports up to 32kB of code.

    2. ST-LINK Utility is required to flash the boards - usually the utility is called from IDE when you decide to re-flash the boards. Of course a ST-LINK programmer is required. You can use any cheap version from ebay, or buy original one.

    3. Debugger comes to mind (a part of the ST-link programmer). Plus your imagination  (you can output data on a serial interface, blink a led, whatever).

    Cube and ST-LInk are available on ST.com (just google), Keil IDE can be found on keil.com (registration required in both cases).

    Bogdan

    2 replies

    Bogdan Golab
    Bogdan GolabBest answer
    Lead
    June 20, 2017
    Posted on June 20, 2017 at 17:02

    Hi,

    1. Tools:

    -CubeMX is a great tool to see all pheripherals (hw) for STM32 MCU - just install it and run to select your MCU and generate hw drivers (app skeleton).

    -CubeMX can enable FREERTOS on the board - I mean you can generated code (app skeleton) based on FREERTOS

    -CubeMX is able to generate code for a few IDE/Compilers  (Keil, etc) - select one of them during app skeleton generation. I use Keil v5. Free version supports up to 32kB of code.

    2. ST-LINK Utility is required to flash the boards - usually the utility is called from IDE when you decide to re-flash the boards. Of course a ST-LINK programmer is required. You can use any cheap version from ebay, or buy original one.

    3. Debugger comes to mind (a part of the ST-link programmer). Plus your imagination  (you can output data on a serial interface, blink a led, whatever).

    Cube and ST-LInk are available on ST.com (just google), Keil IDE can be found on keil.com (registration required in both cases).

    Bogdan

    KEDAR JOSHI
    Associate
    June 27, 2017
    Posted on June 27, 2017 at 09:32

    Hi Bogdan Golab,

    Thank you for the information, this worked perfectly.