STM32: Difference between revisions

From Braindump
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
'''Fake'''
'''Fake'''


(is mine a fake one?)
Is mine a fake one? did I blow it up or does it miss some bootloader? In run mode the blink program runs.
 
Fake unlicensed Gigadevice and other clones exist


https://www.e-tinkers.com/2020/01/getting-started-with-stm32-and-things-you-need-to-be-aware-of/
https://www.e-tinkers.com/2020/01/getting-started-with-stm32-and-things-you-need-to-be-aware-of/
Line 16: Line 18:


==== Bluepill ====
==== Bluepill ====
Cortex-M3 ARM @72 MHz, 20 kB RAM and 64kB Flash. 3.3V, some of its pins are 5V tolerant.
https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill
https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill


STM32F103C8T6
STM32F103C8T6
based on Maple Mini from Leaflabs
USB D+ pin has 10kOhm insted of 1.5kOhm
STMicrelectronics RM0008 STM32F10xxx [https://www.st.com/content/ccc/resource/technical/document/reference_manual/59/b9/ba/7f/11/af/43/d5/CD00171190.pdf/files/CD00171190.pdf/jcr:content/translations/en.CD00171190.pdf Reference Manual]
STMicrelectronics AN2834 Application Note: [https://www.st.com/content/ccc/resource/technical/document/application_note/group0/3f/4c/a4/82/bd/63/4e/92/CD00211314/files/CD00211314.pdf/jcr:content/translations/en.CD00211314.pdf How to get the best ADC accuracy in STM32 microcontrollers]
The Generic STM32F103 [http://reblag.dk/wordpress/wp-content/uploads/2016/07/The-Generic-STM32F103-Pinout-Diagram.pdf Pinout Diagram], Rasmus Friis Kjeldsen


https://www.youtube.com/watch?v=Myon8H111PQ
https://www.youtube.com/watch?v=Myon8H111PQ
Line 29: Line 43:


https://deepbluembedded.com/stm32-boot-modes-stm32-boot0-boot1-pins/
https://deepbluembedded.com/stm32-boot-modes-stm32-boot0-boot1-pins/





Revision as of 08:42, 8 December 2024

https://github.com/stm32duino/Arduino_Core_STM32

https://uraltone.com/stm32f401ccu6-kehitysalusta-usb-c.html

https://opencircuit.fi/product/st-link-v2-stm8-stm32-programmer

https://github.com/stlink-org/stlink

Fake

Is mine a fake one? did I blow it up or does it miss some bootloader? In run mode the blink program runs.

Fake unlicensed Gigadevice and other clones exist

https://www.e-tinkers.com/2020/01/getting-started-with-stm32-and-things-you-need-to-be-aware-of/

http://web.archive.org/web/20240214091007/https://www.e-tinkers.com/2020/01/getting-started-with-stm32-and-things-you-need-to-be-aware-of/

Bluepill

Cortex-M3 ARM @72 MHz, 20 kB RAM and 64kB Flash. 3.3V, some of its pins are 5V tolerant.

https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill

STM32F103C8T6

based on Maple Mini from Leaflabs

USB D+ pin has 10kOhm insted of 1.5kOhm

STMicrelectronics RM0008 STM32F10xxx Reference Manual

STMicrelectronics AN2834 Application Note: How to get the best ADC accuracy in STM32 microcontrollers

The Generic STM32F103 Pinout Diagram, Rasmus Friis Kjeldsen

https://www.youtube.com/watch?v=Myon8H111PQ

https://www.youtube.com/watch?v=L670v-Oghs4

boot0 set to 1 to enable programmer mode

boot1 set to 0 is system memory and set to 1 is embedded sram

https://deepbluembedded.com/stm32-boot-modes-stm32-boot0-boot1-pins/


https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json

https://www.phippselectronics.com/blue-pill-programming-via-usb/

https://github.com/Serasidis/STM32_HID_Bootloader/releases

stm32flash.exe -g 0x8000000 -b 115200 -w hid_generic_pc13.bin COM2