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 all commits
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
8 changes: 7 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 BOOT0 jumper to 1 (BOOT1 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.

Debugging
---------
Expand Down Expand Up @@ -141,4 +146,5 @@ Frameworks
- 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

* - :ref:`framework_libopencm3`
- The libOpenCM3 framework aims to create a free and open-source firmware library for various ARM Cortex-M0(+)/M3/M4 microcontrollers, including ST STM32, Ti Tiva and Stellaris, NXP LPC, Atmel SAM3, Energy Micro EFM32 and others
- The libOpenCM3 framework aims to create a free and open-source firmware library for various ARM Cortex-M0(+)/M3/M4 microcontrollers, including ST STM32, Ti Tiva and Stellaris, NXP LPC, Atmel SAM3, Energy Micro EFM32 and others