Skip to the content
2 layers40 × 60 mmSTM8003f3p development board, the printed circuit board in 3D

STM8003f3p development board

niksrajendra/stm8-bootloader-extended

STM8 bootloader designed to work with any available communication interface and configure for different feature like secure, unsecure bootloader. This repo is extended version of basic stm8 bootloader to have additional and configurable features for bootloader.

Size
40 × 60 mm
Copper layers
2
Thickness
1.69 mm
Parts
131
Nets
100
Pads
483
Tracks, vias
1,653, 292
Pours
35
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
28 Mar 2026
Updated
7 Nov 2026

Overview

STM8003f3p development board is an open-source printed circuit board by niksrajendra, from the niksrajendra/stm8-bootloader-extended repository on GitHub. It is a 2-layer board of 40 × 60 mm with 131 parts on 100 nets, routed with 1,653 tracks and 292 vias.

It is built around the STM32F405RGT6, MCP2551-I/SN and AS5047P-AT, with the DRV8302, LP2985-33DBVR and USBLC6-2SC6Y among its other parts. Its parts include 51 capacitors, 39 resistors, 12 diodes, 12 connectors and 6 ICs. It belongs with the interfaces and adapters and microcontroller boards boards and the STM32 and STM8 boards of this library.

Main components

12

README

README.md

STM8 Extended Bootloader

A UART bootloader and firmware project for STM8S microcontrollers. The bootloader receives firmware in fixed-size blocks, writes it to flash, and checks a CRC-8 before reporting success.

Features

  • Bootloader and application are built separately with SDCC.
  • Application firmware is linked at 0x8C00.
  • Firmware updates use UART at 115200 baud, 8 data bits, no parity, and 1 stop bit.
  • The included Python utility sends a binary firmware image and uses CRC-8 with polynomial 0x07.
  • MCU targets in the Makefiles: stm8s003f3, stm8s005k6, and stm8s007c8.

Requirements

  • GNU Make and an environment with find and mkdir (Git Bash, MSYS2, or WSL on Windows).
  • SDCC with the STM8 tools (sdcc, sdasstm8, and sdobjcopy) on PATH.
  • stm8flash for programming over an ST-Link V2.
  • Python 3 and PySerial for the command-line firmware updater.

Install PySerial with:

sh
python -m pip install pyserial

Windows Git Bash

Git Bash provides the Unix-style shell commands used by the Makefiles, but it does not include GNU Make by default. Install Scoop if needed, then install Make from PowerShell:

powershell
scoop install make

Close and reopen Git Bash, change to the repository root, and verify Make and the SDCC tools are available:

sh
make --version
command -v sdcc
command -v sdasstm8
command -v sdobjcopy

Install SDCC for Windows separately if those tools are not found, and add its bin directory to your Windows PATH. Then build from the repository root using the same targets shown below, for example make MCU=stm8s003f3. Git Bash paths use /e/... instead of Windows drive paths such as E:\....

Build

The Makefiles default to stm8s005k6. Select the MCU that matches your hardware:

sh
# Build both bootloader and application
make MCU=stm8s003f3

# Build just one target
make TARGET=bootloader MCU=stm8s003f3
make TARGET=application MCU=stm8s003f3

# Debug build
make CONFIG=debug MCU=stm8s003f3

# Remove generated build files
make clean MCU=stm8s003f3

Release HEX files are written to bin/bootloader/ and bin/application/. Debug builds use bin/bootloader_debug/ and bin/application_debug/. To produce binary images for the updater, run:

sh
make binary MCU=stm8s003f3

The application binary is bin/application/application.bin.

Program and Update

Program the bootloader onto a blank device using an ST-Link V2:

sh
make TARGET=bootloader MCU=stm8s003f3
make -C bootloader flash MCU=stm8s003f3

To update application firmware, connect a voltage-compatible UART adapter with a common ground and crossed TX/RX. Hold PD4 low while resetting the target to enter bootloader mode, then run:

sh
python utility/boot.py --port COM3 bin/application/application.bin

Replace COM3 with the serial port for your adapter. The utility toggles DTR during startup; whether that resets the target depends on the adapter and board wiring. Keep the boot-entry pin low across that reset. On Linux, a port such as /dev/ttyUSB0 can be used instead.

Block-Size Compatibility

The firmware uses 64-byte blocks for STM8S003F3 and 128-byte blocks for STM8S005K6/STM8S007C8. The included Python and Qt utilities currently use 64-byte blocks. Therefore, the included updater currently matches the STM8S003F3 build; do not use it with the 128-byte firmware builds without first updating the utility to use the matching block size.

Repository Layout

  • bootloader/: bootloader firmware, peripheral drivers, and its Makefile.
  • application/: example application and its Makefile.
  • utility/boot.py: Python serial firmware updater.
  • utility/QT_GUI/: Qt-based updater project.
  • hardware/: development-board schematic and PCB files.

Parts

131
QtyValueFootprintReferences
18Resistor 0R +/- 5% 0402 100 mWVault:RESC1005X40X25ML05T05R11, R17, R18, R19, R25, R26, R27, R28, R29, R30, R31, R33, R34, R35, R36, R37 +2
17Capacitor 100nF +/-20% 50V 0402Vault:CAPC0402(1005)60_LC31, C36, C37, C38, C39, C40, C41, C42, C43, C44, C45, C46, C47, C48, C49, C50 +1
10Capacitor 10 uF +/- 10% 16 V 0805Vault:CAPC2013X135X45NL10T25C19, C20, C21, C22, C23, C24, C25, C26, C27, C28
91N4148WTVault:FAIR-SOD-523F-2_VD3, D4, D5, D6, D7, D8, D9, D10, D11
7Resistor 10k +/-1% 0603 100 mWVault:RESC1608X55X25ML10T15R2, R4, R6, R7, R8, R12, R13
6Capacitor 100 nF +/-10% 50 V 0603Vault:CAPC1608X90X40NL10T20C4, C6, C7, C9, C12, C15
6MDU1512RHSIROJU_lib:PDFN56Q1, Q2, Q3, Q4, Q5, Q6
6Resistor 120R +/-5 % 0603 0.1 WVault:RESC0603(1608)_LR14, R15, R16, R20, R21, R22
5Capacitor 4.7µF +/-20% 10V 0603Vault:CAPC0603(1608)100_LC5, C16, C33, C34, C35
4Capacitor 22nF +/-20% 10V 0402Vault:CAPC0402(1005)60_LC3, C11, C17, C18
3DP-01SIROJU_lib:DP-01P3, P4, P5
3Resistor 10k +/-1% 0402 100 mWVault:RESC1005X40X25ML05T05R5, R9, R10
20.001R-2512Vault:FP-CRCW2512-e3-MFGR23, R24
2Capacitor 1uF +/- 10% 16V 0603Vault:CAPC1608X90X35ML15T15C29, C30
2Capacitor 1µF +/-20% 10V 0402Vault:CAPC0402(1005)60_LC13, C14
2Capacitor 6.8 nF +/- 10% 16 V 0402Vault:CAPC1005X56X25NL10T15C1, C2
2JST_SH-02PSIROJU_lib:SH-2P-SIDEP7, P8
2JUMPERVault:JUMPERJ1, J2
2XT30PW-MSIROJU_lib:XT30PW-MP1, P2
1120R(0603)Vault:FP-RMCF0603-IPC_AR32
112MHzVault:MURA-CSTCE_G_VX1
11N4007 SMDVault:FP-1N4007_SMD-IPC_AD12
11N4148WSVault:FAIR-SOD-323_VD2
122uHVault:FP-IHLP-2525CZ-FP_2_413x3-MFGL1
1AS5047PSIROJU_lib:TSSOP-14U3
1B330A-13-FVault:FP-SMA-MFGD1
1Capacitor 10nF +/-20% 50V 0402Vault:CAPC0402(1005)60_LC32
1Capacitor 2,2µF +/-20% 10V 0402Vault:CAPC0402(1005)60_LC10
1Capacitor 47µF +/-40% 6.3V 0805Vault:CAPC0805(2012)145_LC8
1DRV8302SIROJU_lib:HTSSOP-56U1
1HEADER-4PSIROJU_lib:female_header-4pP10
1HSMH-C190Vault:AVAG-HSMX-C190_VDS1
1JST_SH-04PSIROJU_lib:SH-04-SIDEP9
1JST_SH-05PSIROJU_lib:SH-5P-SIDEP6
1LP2985-33DBVRVault:TI-DBV5_VU2
1LTST-C190KSKTVault:LTST-C190KSKT_VDS2
1MCP2551-I/SNVault:MCHP-SN8_VU4
1Resistor 15k +/-1% 0402 63 mWVault:RESC1005X40X25ML10T10R1
1Resistor 200K +/-1 % 0402 63 mWVault:RESC0402(1005)_LR3
1STM32F405RGT6SIROJU_lib:QFP50P1200X1200X160-64NU6
1USB-CSIROJU_lib:USB-C-A40-00119USB1
1USBLC6-2SC6YSWERVE_drive_driver_v2.0:SOT23-6U5

Similar boards

  • 2 layers31.7 × 68.3 mmMainPCB, the printed circuit board in 3D

    MainPCB

    rivertechlabs/suspendedsedimentsensor

    :ocean: 3D-printed, open-source suspended sediment sensor for river network monitoring (prototype 3.0)

    23 parts12AGPL-3.0
  • 4 layers186.9 × 129.8 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    ansh1113/e-bike-conversion-kit

    A 4-layer PCB-based e-bike conversion kit featuring an STM32-based VESC ESC, power management circuits, wireless throttle, GSM, GPS, and more.

    179 parts1
  • 4 layers65 × 75 mmHomeAssistant, the printed circuit board in 3D

    HomeAssistant

    WojciechM98/Home-assistant-ESP32

    Home assistand board using ESP32 controlled with MQTT protocol.

    151 parts
  • 2 layers100 × 60 mmCheap focer clone, the printed circuit board in 3D

    Cheap focer clone

    duwogus7650-ctrl/board-design

    OpenRobot SPN-MC(=VESCular6, VESC6 파생) 동등 기능의 QDD용 원형 모터 컨트롤러를 오픈소스 VESC6를 베이스로 신규 설계하는 프로젝트.

    36 parts
  • 4 layers70 × 45 mmFlight computer, the printed circuit board in 3D

    Flight computer

    Ben-Blair/Rocket-Build

    Senior capstone project: demonstrate closed-loop lateral guidance of a high power rocket using forward canards, and handle the canard-wake-on-aft-fin interference problem correctly.

    85 parts
  • 4 layers99.8 × 94.6 mmOresat batteries, the printed circuit board in 3D

    Oresat batteries

    oresat/oresat-batteries

    Battery board for OreSat

    354 parts29
  • 2 layers98.8 × 69.9 mmCameraTriggerSensorNodeOnly, the printed circuit board in 3D

    CameraTriggerSensorNodeOnly

    chrocket/RocketTrig

    A camera controller for photographing high poweed model rockets

    65 parts3GPL-3.0
  • 4 layers165.4 × 105.7 mmEcdl laser bboard, the printed circuit board in 3D

    Ecdl laser bboard

    mahdi-kh1265/780nm-ecdl-electronics

    Control, interface, piezo-actuation, and power electronics for POSM's 780 nm Littrow external-cavity diode laser.

    204 partsMIT

Questions

How big is the STM8003f3p development board PCB?

It measures 40 × 60 mm and has 2 copper layers, 1.69 mm thick.

What parts does the STM8003f3p development board use?

131 parts, built around the STM32F405RGT6, MCP2551-I/SN, AS5047P-AT and DRV8302. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the STM8003f3p development board KiCad files?

From the niksrajendra/stm8-bootloader-extended repository on GitHub, at the commit this page was made from: the board is hardware/STM8003f3p development board/STM8003f3p development board.kicad_pcb and its schematic hardware/STM8003f3p development board/STM8003f3p development board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the STM8003f3p development board design in my own project?

Its repository states no licence, so its author keeps all rights: ask niksrajendra before reusing the design.