From f5171f3f47cba33f80178d8b73ad361ffc6d213e Mon Sep 17 00:00:00 2001 From: midelic Date: Thu, 26 Jan 2017 18:04:19 +0200 Subject: [PATCH] move risky flashing methods to advanced topics --- docs/Compiling_STM32.md | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index 94d9184..f04b10c 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -45,9 +45,9 @@ Flashing precompiled **binaries** is done very simple with the cable setup prese ### Flashing the multimodule -There are three options for flashing the firmware. The first (and strongly recommended) is flashing it while it is plugged into and powered by the transmitter. The second is flashing it out of the transmitter (the power is supplied by the 3.3V FTDI cable). The second option is very risky because if the 3.3V bridge jumper is not removed after flashing it will fry your RF module - **you have been warned**. The third is preparing the board for flashing with a USB cable. - -The third method is definitely the easiest in the long-term, but it does require setting up the bootloader on the STM32 MCU. +There are three options for flashing the firmware. But We will present here only 2 methods ,the third one is presented in advanced topics. +The first (and strongly recommended) is flashing it while it is plugged into and powered by the transmitter.The second is preparing the board for flashing with a USB cable. +The second method is definitely the easiest in the long-term, but it does require the USB bord and setting up the bootloader on the STM32 MCU. ####Option 1: Flashing with Tx power(highly recommended) @@ -72,31 +72,7 @@ See below my module for reference [] - -####Option 2: Flashing without Tx power - -The key difference of this method is that the 3.3V FTDI cable must also provide power to the 5V circuitry during the flashing process. To do this, a jumper must be enabled connecting the 3.3V VCC to the 5V line. - -**If the module is powered through the transmitter and this jumper is enabled, then it will feed 5V throughout the 3.3V circuit and this will fry your RF modules. Do not plug the module into the transmitter before removing this jumper!** - -1. Remove the module from the transmitter bay -1. Set BOOT0 jumper Skip this step if you made your own cable a presented above. -1. Set the 3.3V jumper. -1. Connect your 3.3V FTDI cable (USB - TTL serial) to Multiprotocol serial port (RX,TX,GND,5V). Connect the pins as follows: - - Module RX pin to FTDI TX pin - - Module TX pin to FTDI Rx pin - - Module GND to FTDI GND - - Module V to FTDI 3.3V -1. In arduino IDE under the **Tools** -> **Board:** check that you have selected the **Generic STM32F103C series** board -1. Under **Tools** -> **Upload Method:** select **Serial**. -1. Click "Upload" and the sketch will be uploaded normally. -1. Once the firmware has uploaded: - - Remove the 3.3V jumper!!!! - - Remove the BOOT0 jumper - - Check that you removed the 3.3V jumper -1. Insert the module into the transmitter bay - -####Option 3: Flashing with USB cable. +####Option 2: Flashing with USB cable. This method use USB connector on the STM32 V1.0 board or on the maple clone board.