STM32 Micropython

Поделиться
HTML-код
  • Опубликовано: 12 май 2019
  • This video will describe how to upload and run Micro-python on the STM32F4 Discovery board.
    STM32 Bootloader video:
    • STM32 ARM Microcontrol...
    Discovery Board:
    www.digikey.com/product-detai...
  • НаукаНаука

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

  • @UReasonIt
    @UReasonIt 5 лет назад +6

    Great video. I have almost ordered one of these boards several times. I may have to break down.

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

    Thank you for this video. I could not put the STM32F4 Disco board into DFU Mode... The board enumerated as STM BOOTLOADER, thus the board could not be seen by DfuSe. After a few hours of tinkering I discovered STM32CubeProg USB Drivers conflict (supersede) the DfuSe USB Drivers. Upon changing drivers I was able to get the board to enumerate as an "STM Device in DFU Mode" and then flash the Micropython DFU image. Here is the location of the default DfuSe USB Driver:
    C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver\Win10

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

    Good video as always

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

    I have a couple NUCLEO-F411RE and I see they are also supported now, I'll have to flash one! Also interested to see if this can run on a STM32F103 Bluepill board since the are mega cheap and small. I've heard it will work, but never seen a tutorial...

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

    I think using micropython is a good way to learn how to use the micro since it is interactive.

  • @ps_nithin
    @ps_nithin 3 года назад

    Is there a library for the built in microphone in the discovery board in micropython??

  • @gerard9502
    @gerard9502 3 года назад

    Aftet i flash the mcu, can I still upload my C code ir I hace to reinstall the old bootloader?

  • @bennguyen1313
    @bennguyen1313 4 года назад +1

    Do you have any tips on how to build micropython using ST's Stm32CubeIde? Also, since st-link supports bin files, is it possible to flash using st-link instead of bootloading and using DFU? I've tried the official release, as well as the one from OpenMV, but they don't contain a workspace/project file, so not sure how to set that up.

    • @0033mer
      @0033mer  4 года назад

      You can load a .bin file using st-link. This video might help you out. ruclips.net/video/K2NekHIwGWo/видео.html

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

    Have you used Circuit Python from Adafruit? If so, how does it compare with Micropython?

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

      I have not used Circuit Python but it is probably very similar to Micropython. Circuit Python was written to support the Adafruit boards which use Atmel Arm microcontrollers. The Arm microcontroller that I am most familiar with are the STM32F4 series.

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

    Nice review
    Could you mention the advantages of using this controller?
    I feel it is too complicated to deal with such controller in a world where we have Arduino, ESP and Teenay which are very straight forward micro-controllers to program.

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

      All ARM microcontrollers are generally more complex than non-Arm counterparts. Running Micropython on the Teensy or ESP32 would have the same learning curve as any STM32 Arm microcontroller.

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

      The board he shows here does have one advantage over the ESP with micropython. After flashing the MP firmware you will still need another tool like ampy or the like to get your scripts on the board, but it does have other perks as well. In the sea of choices we have today uC wise, use what you feel is best. :)

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

      Sometimes you need the capabilities of this chip depending on what your doing. I am kind of surprised there isn't a repository of code for this chip. The biggest advantage of arduino is that so many libraries are written for it. I could not imagine having to write code for the nrf24L01 .

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

    How about if I want to use micropython on stm32f401re in my own custom board? Can you point me towards a good resources? Thankyou.

    • @0033mer
      @0033mer  4 года назад

      You can download Micropython for the STM32F401re on their website.
      micropython.org/download/stm32_nucleo/

  • @yasminkarasu7509
    @yasminkarasu7509 3 года назад

    I have the Nuccleo-f0723b, can I use micropython on it? It doesn't seem to be on the micropyhton site.

    • @0033mer
      @0033mer  3 года назад +1

      Micropython is not supported on Cortex M0 processors with small memory footprints. Use a Cortex M4 with minimum 256k Flash and 32k RAM..

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

    Hello 0033mer, is this card 100% compatible with the Pyboard micropython?
    Is the Servo library recognized?
    Thank you
    Richard

    • @0033mer
      @0033mer  4 года назад

      No .. not 100% compatible. The hardware on board is different and also the Pyboard uses a "405" micro and the Discovery uses a "407". Most libraries would work but I have not used the Servo library.

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

      @@0033mer Thanks for taking my call. So you can't use all the pins on the card? The Pyboard has 56 pins and this one is 100. That would be nice. If not, then I think the
      STM32 STM32F405RGT6 . It should be a 100% compatible clone as it has the same processor.
      Thanks again.
      Richard

  • @OmidAtaollahi
    @OmidAtaollahi 9 месяцев назад

    tnx

    • @0033mer
      @0033mer  9 месяцев назад

      Welcome!

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

    wow,it's a really good tutorial! By the way, I used nucleo L476 board, after I flash the firmware I can not find main.py, only a txt file and htm file. I can only use Putty with serial communication, what's wrong?

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

      Hey i got the same problem. Did you solve it? I could use the help. Thanks

  • @demoncloud6147
    @demoncloud6147 4 года назад +1

    Dude, you sound like a preacher, hahaha

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

    hi friend great video, i wanna know if i can use this bootloader with STM32l082 MCU thx for response

    • @0033mer
      @0033mer  4 года назад

      Yes .. the 32L082 series has a DFU bootloader.

  • @greyhnd001
    @greyhnd001 3 года назад

    why spend 15 bucks on this when you can get an esp32 or 8266 for 3 to 5 dollars and add a couple of leds. geet dual core and multiple touch pins and more speed as well. Good video how to but why is the question?

    • @0033mer
      @0033mer  3 года назад +1

      The Discovery boards also incorporates a 3 axis accelerometer, MEMS digital microphone, audio DAC with class D speaker drivers and onboard audio jack, ST-link programmer/debugger, CRC generator, and USB OTG support with all GPIO ports brought out to header connectors. The board is generally used for someone who is doing product development.