||2 years ago|
|libopencm3@90753950bb||2 years ago|
|.gitmodules||2 years ago|
|LICENSE.txt||2 years ago|
|Makefile||2 years ago|
|README.md||2 years ago|
|identifier.bin||2 years ago|
|identifier.c||2 years ago|
|identifier.elf||2 years ago|
|identifier.hex||2 years ago|
the f103id is a firmware for the STM32F103C micro-controller and alternatives (e.g. clones). it will identify which silicon die it is actually running on.
the firmware to be flashed is
the easiest way to program the firmware is using the embedded UART bootloader.
for that short the BOOT0 pin to VCC while powering up the device.
connect to the USART1 serial port.
then you can use
stm32flash or simply run
connect to the USART1 serial port (USART1_TX is PA9 and USART1_RX is PA10) with the following setting: 115200 8N1. type 'h' to list all available commands. type 'a' to run all identification techniques.
the firmware can perform following checks:
- read unique ID
- read MCU ID
- read CPU ID
- read JEP ID
- read ROM table
- check flash size
- check SRAM size
- check peripheral
- check memory map
- check MCU ID errata
based on the check it can figure out:
- chip family
- pin count
- most likely micro-controller
it is able to identify following variants:
- STM32F103Cx (includes STM32F101Cx)
it can also identify other variants, but this has not been tested.
I have not been able to operate the BLM32F103C8.
if you have tested it on other devices, please send the results (e.g. after running 'show all information') to firstname.lastname@example.org and I will integrated it in the list (and firmware).
to compile the firmware yourself:
arm-none-eabi-gccto compile the firmware.
- get libopencm3 using
git submodule update --init --recursive.
- compile using
- install stm32flash to flash using the UARt bootlaoder
- flash using
alternatively to flash:
- install OpenOCD to flash using SWD (e.g. ST-LINK/V2 programmer)
- flash using