πŸ“• Node [[stm32 pills]]
πŸ“„ stm32-pills.md by @ankostis

STM32 pills

BlackPill-WeAct-v1.2

  • My x2 black-pill-I come from WeActTogether as seen from USB-IDs in the logs when connectin them.
  • Registered in STM32-base boards
  • Board
    • Name: WeAct Black Pill V1.2
    • Part: Unknown
    • Brand: WeAct Studio
    • Origin: China
  • Microcontroller
    • Part: STM32F401CCU6
    • Manufacturer: ST-Microelectronics
    • Core: Arm Cortex-M4
    • Max. Clock Speed: 84MHz
    • Package: UFQFPN 48 pins
  • Internal memories
    • FLASH: 256KiB
    • SRAM: 64KiB
  • Oscillators:
    • HSI: 16MHz
    • LSI: 32kHz
    • HSE: 25MHz
    • LSE: 32.768kHz
  • Power:
    • Sources:
    • Any: +3.3V pin (+3.3V)
    • Any: +5V pin (+5V)
    • USB: connector (+5V)
    • VDDA pin: No
    • VSSA pin: No
    • VREF- pin: No
    • VREF+ pin: No
    • Backup battery: Pin
  • Regulator:
    • Manufacturer: Diodes Incorporated
    • Part: AP7343 (6T)
    • Package: X2-DFN1010-4 4 pins
    • Input: +3.52V to +5.25V
    • Output: +3.3V @ 300mA
    • Datasheet: AP7343.pdf
  • PCB:
    • Color: Black
    • Size (w x l): 20.78mm x 52.81mm
    • Mounting: Breadboard

27 May 2022

  • effort: 0.5 (ACC 2022MAY)

  • Blue vs Black pills with many resources

  • Black-magic fw —> blue-pill FIT FOR STM32F103xxx ONLY (NOT FOR STM32F4(0 & 1)1, aka black-pill I & II)

  • blue-pill —> Black-magic probe DOES NOT WORK

  • Flashed BlackMagic following this guide DOES NOT WORK

    $ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D ~/tmp/t/blackmagic_dfu-swlink.bin
    dfu-util 0.11
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2021 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
    
    dfu-util: Warning: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0483:df11
    Device DFU version 011a
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    Determining device status...
    DFU state(10) = dfuERROR, status(10) = Device's firmware is corrupt. It cannot return to run-time (non-DFU) operations
    Clearing status
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 011a
    Device returned transfer size 2048
    DfuSe interface name: "Internal Flash  "
    Downloading element to address = 0x08000000, size = 7280
    Erase   	[=========================] 100%         7280 bytes
    Erase    done.
    Download	[=========================] 100%         7280 bytes
    Download done.
    File downloaded successfully
    Submitting leave request...
    Transitioning to dfuMANIFEST state
    

28 May 2022

Jun 1 2022

Jun 2 2022

Jun 3 2022

  • work on OpenOCD + Blackpill

Jun 4 2022

  • work on PlatfomIO + Blackpill

Loading pushes...

Rendering context...