Saturday, August 20, 2022

STM 32 programming

https://www.youtube.com/watch?v=VlCYI2U-qyM&ab_channel=Phil%E2%80%99sLab

 

 STM32 can be programmed via

  1. Not clear: Serial wire debug = SWD
  2. Not clear: JTAG
  3. DFU= Device firware upgrade 
    1. ( No provision of setting break points in DFU mode)
    2. Use application note AN3156 
    3. STM32 Cube programmer software use elf file as input
    4. STM32 Cube programmer can upload using 
      1. STLINK
      2. USB
      3. UART
    5. Boot zero pin to be pulled to high and restart the MCU to put the MCU in the DFU mode.
    6. After flashing the elf file to the MCU using the STM32 Cube programmer, pull boot 0 pin low, restart the MCU
  4. Not clear: Via USB = You have to write your own boot loader for this.

No comments:

Post a Comment