Blue Pill STM32F103 Arm Programming

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • This video will demonstrate how to upload an hex file to the Blue Pill STM32F103C8 Arm module. This is a cost effective approach to get into Arm programming as the modules are inexpensive and all tools needed are free.
    Blue Pill:
    wiki.stm32duino...

Комментарии • 30

  • @douglascrawford2563
    @douglascrawford2563 6 лет назад +6

    You gave the the confidence to actually get my Blue Pill going, after a year of having it in a drawer. I used the ST-Link from my stm32F0-Discovery board. Worked like a champ.

  • @vijaysulakhe5605
    @vijaysulakhe5605 3 месяца назад

    Excellent explanation and video, many THANKS. Hope you make more video about STM32 projects with Arduino IDE.

  • @michaeljeffery278
    @michaeljeffery278 5 лет назад

    Hi 0033mer, I recently purchased my first Arduino and got a couple of Blue Pills as well, as they are very cheap.
    I've set two up using Arduino IDE and two with Forth, Mecrisp-Stellaris, one had a broken Reset SW (DOA).
    As I use the Arduino FTDI dongle for communication anyway I opened the Arduino IDE Serial Monitor and
    using the two units with Forth on them I was able to communicate using the Arduino, Serial Monitor (reset to 115200 baud).
    So if you didn't have Tera Term at least you could see it working. 07 EMIT (BEEP) won't work this way, but no big deal ~ :o)
    A simple project using Forth to flash some LEDs in a Chaser or a Bluetooth Relay or something simple would get others
    interested I'm sure.
    Great work,
    Greetings from Australia.

  • @alankritsrivastava7883
    @alankritsrivastava7883 4 года назад

    I am trying to use Debugger option on Keil IDE in STM 32F103C8T6 using ST-Link Debugger but it is not working. I am trying to read value stored in a variable. I am not able to read it.
    However, when I try to read value using same tools on different boards such as STM 32 F030 (Cortex - M0) and Nucle STM32 L031(Cortex-M0+) ,I am able to read.
    I want to ask is there any problem with STM 32F103. (I know there is no problem in the F103 as I have tried with many new F103 Boards and problem prevails the same). And I know it is not the problem of ST-Link Debugger as it is working with STM 32 F030. Please help.

  • @EmersonCapuano
    @EmersonCapuano 6 лет назад

    Hi 0033mer. I am here to learn by heart about my delivered questions on that video. I'll try it as soon as I can at weekend. Thanks a lot:)

  • @janesofia2887
    @janesofia2887 5 лет назад +2

    In China this Blue stm32f103c8t6 's price is about one doller.

  • @ceosealemon
    @ceosealemon Год назад

    where is it mecrisp-stellaris-stm32f103.hex?

    • @0033mer
      @0033mer  Год назад

      sourceforge.net/projects/mecrisp/files/

    • @ceosealemon
      @ceosealemon Год назад

      @@0033mer The port doesn't come out. I don't know the cause.

  • @EmersonCapuano
    @EmersonCapuano 6 лет назад

    Could you upload these programs for that i cand download them?

  • @jardel_lucca
    @jardel_lucca 7 лет назад

    Great tutorial. Thanks for sharing!

  • @saadulhassansyed9686
    @saadulhassansyed9686 5 лет назад

    Which software you used to program blue pill

    • @0033mer
      @0033mer  5 лет назад

      mecrisp.sourceforge.net/

  • @guongmomo3290
    @guongmomo3290 5 лет назад

    COULD YOU TELL ME ABOUT THE VOLTAGE AND CURRENT OUTPUT VALUE OF STM32F103? THANKS SO MUCH!

    • @0033mer
      @0033mer  5 лет назад +1

      The STM32F103 is a 3.3volt device so the GPIO output voltage is 3.3volts. Each GPIO pin can sink or source 25mA with a total max current value for the chip of 240mA. Check the data sheet for more detailed information.

    • @guongmomo3290
      @guongmomo3290 5 лет назад

      @@0033mer thanks so much!

  • @med6402
    @med6402 5 лет назад

    so the usb port in the blue pill is just for power

    • @0033mer
      @0033mer  5 лет назад +1

      Yes .. the f103 does not have a factory bootloader that uses the USB port.

  • @azlanikram9393
    @azlanikram9393 2 года назад

    saved my day as I didn't have st link

  • @alibehrouz9833
    @alibehrouz9833 5 лет назад

    BIG THANKS

  • @bennguyen1313
    @bennguyen1313 6 лет назад

    Don't the ST chips come with a built-in bootloader in rom? i.e. just set the B1B0 jumpers to Low/High and access via a ttl uart1 (like at the 3m33s mark)? With B0 being the one closest to the header edge.
    Why did you have to start by programming via SWD (Discovery or ST-Link)? Is it because you wanted to add a secondary (Maple) bootloader?
    BTW, any thoughts as to why people are changing R10 from 10K to 1.5k?

    • @0033mer
      @0033mer  6 лет назад

      The STM32F103 does not come with a factory USB Dfuse bootloader installed, just SWD and serial are onboard.
      You can download a third party USB bootloader if you want.
      For your computer to recognise a third party USB bootloader the resistor has to be changed.
      The STM32F407 microcontroller has a factory USB bootloader if you need it.

    • @lmamakos
      @lmamakos 6 лет назад +1

      I've mostly used the on-board serial boot loader rather than bothering with SWD to load code into the on-board flash. There's a simple python script floating around that will use talk the boot loader's protocol on the first UART of the STM32F103 devices when the BOOT0/BOOT1 pins are in the right configuration upon reset. Here's my slightly tweaked version that can optionally unlock the flash on some devices (e.g., Maple Mini clones pre-burned with the arduino boot loader) at github.com/lmamakos/fluke8050a-forth/blob/master/stm32loader.py I've used this specifically to load the Mecrisp FORTH image on maple mini clones and blue pill boards.

  • @ThuanDuong-pv3xu
    @ThuanDuong-pv3xu 6 лет назад

    8Mhz crystal so how to use 72Mhz clock

    • @0033mer
      @0033mer  6 лет назад +3

      You would use the internal PLL. Check out the PLL section in the data sheet.
      There is a clock configuration tool available from ST Microelectronics website.
      Check online for tutorials:
      embedded-lab.com/blog/stm32-internals/

    • @ThuanDuong-pv3xu
      @ThuanDuong-pv3xu 6 лет назад

      +0033mer thanks a lot !

  • @gnif
    @gnif 4 года назад

    If you want a FOSS serial flash utility that is far more powerful then the software provided by ST, please see `stm32flash`. sourceforge.net/p/stm32flash/wiki/Home/

  • @beakytwitch7905
    @beakytwitch7905 3 года назад +1

    Poor presentation.