Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "serial" upload information #100

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion boards/ststm32/bluepill_f103c8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ BluePill F103C8 supports the next uploading protocols:
* ``dfu``
* ``jlink``
* ``mbed``
* ``serial``
* ``stlink``

Default protocol is ``stlink``
Expand All @@ -85,6 +86,10 @@ You can change upload protocol using :ref:`projectconf_upload_protocol` option:
board = bluepill_f103c8

upload_protocol = stlink

**A Note on the** ``serial`` **upload protocol:**

The STM32 chips have a builtin bootloader which can be activated by setting the BOOT1 jumper to 1 (BOOT0 should be kept at 0) and pushing the reset button. The MCU will then wait for programming over the main UART. The pins are PA9 (TX) and PA10 (RX) on the blue pill boards. Programming will work using a USB/TTL-UART adapter, for example CH340 or similar. Keep in mind that RX from the MCU needs to be connected to TX of the USB adapter and vice versa.
gmcn42 marked this conversation as resolved.
Show resolved Hide resolved

Debugging
---------
Expand Down Expand Up @@ -141,4 +146,4 @@ Frameworks
- STM32Cube embedded software libraries, including: The HAL hardware abstraction layer, enabling portability between different STM32 devices via standardized API calls; The Low-Layer (LL) APIs, a light-weight, optimized, expert oriented set of APIs designed for both performance and runtime efficiency.

* - :ref:`framework_zephyr`
- The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with safety and security in mind.
- The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with safety and security in mind.