From 2bca104e338891fc2e515561044f0ab8d72b6e17 Mon Sep 17 00:00:00 2001 From: pascallanger Date: Sun, 12 Aug 2018 17:10:13 +0200 Subject: [PATCH] Update Compiling_STM32.md --- docs/Compiling_STM32.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index 43bbf70..944f045 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -28,6 +28,10 @@ Multiprotocol firmware is compiled using the Arduino IDE. The guide below will w ## Tools required +**Notes**: +* The Vantac MPM Lite module most likely already has the USB Bootloader flashed on it. You can directly use the [upload via USB](#upload-via-usb) method. +* The latest jumper modules have an integrated FTDI appearing as a CP2102 device on the computer. You therefore don't need the FTDI adapter below and don't need to open your module to flash it. + | **3.3V USB-TTL Adapter** | **4-pin Serial Programming Header** | |:---:|:--:| | | @@ -43,8 +47,6 @@ The 4-pin header needs to be soldered onto the board as indicated by the red rec **Note:** The Banggood STM32 module most likely already has the header pin in place. -**Note 2:** The Vantac MPM Lite module most likely already has the USB Bootloader flashed on it. You don't need these tools and can directly [upload via USB](#upload-via-usb) without flashing the USB bootloader first. - ## Preparation ### Install the Arduino IDE 1. Download and install the Arduino IDE. The currently supported Arduino version is 1.8.5, available for [Windows]( https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-windows.exe), [Mac OSX](https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-macosx.zip) and [Linux (64-bit)](https://www.arduino.cc/download_handler.php?f=/arduino-1.8.5-linux64.tar.xz) @@ -100,7 +102,7 @@ There are three methods to upload firmware to an STM32 module: The rest of this process will vary depending on the upload method you selected. -### Upload via Serial inc. Bootloader (FTDI) +## Upload via Serial inc. Bootloader (FTDI) It is **strongly** recommended that you power your module from the transmitter when flashing it. This ensures that the module cannot be inadvertently supplied with 5V, which will damage the RF modules. This guide assumes that you will follow that advice, and instructs you to leave the V+ pin on the USB-to-TTL adapter disconnected. You may choose to ignore that advice at your own risk! The wiring for the USB-to-TTL adapter is: @@ -214,7 +216,7 @@ If necessary, open another Terminal window with the current directory set to the After adding yourself to the groups as above and installing and running the udev rules above your system will be configured so that your user account will always have access to serial and USB devices without requiring you run these steps again. -### Upload the firmware via USB +### Upload the firmware **Note:** Some modules require external power in order for the USB port to work. If your module does not power on with USB power alone, install it in the transmitter and switch the transmitter on. It is generally safe for the module to recieve power from both USB and the transmitter. 1. Connect the USB cable to the Multiprotocol module