From 2aa5b7917f8060f1850ef72a044de5574a4e8135 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 2 May 2017 17:28:49 +0200 Subject: [PATCH 01/11] Remove paragraph resulting from the 125% bug in earlier OpenTX versions --- docs/Models.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/Models.md b/docs/Models.md index a197f4d..a9d8293 100644 --- a/docs/Models.md +++ b/docs/Models.md @@ -52,9 +52,6 @@ One of the most annoying functions on the Syma X5C is that the motors stop when ## Binding For telemetry enabled modules, you should just let the remote autodetect the settings. Otherwise choose DSMX 22ms with 6ch or 7ch. To bind the model, keep the transmitter off, power on the Inductrix. Wait until it flashes fast and then power up the Tx and use Bind. -## Tx Setup -Remember that 100% on your transmitter using the MULTI-Module corresponds to 125% on the DSM receiver side. On some functions sending 100% will confuse the model. Conversely 80% on your Tx is interpreted to be 100% at the model. Consider this when implementing the suggestions below. - ### Throttle For Inductrix FPV you might need to adjust the lower end of throttle to be a higher than default, otherwise motors will be spinning on minimal throttle. One way to do this is to set the throttle to 80% output (100% of DSM output) and then to enable the **Throttle Idle Trim Only** under the Model Setup menu. See image below: From 3e8321638427276da9b744084bda2eb13a52892c Mon Sep 17 00:00:00 2001 From: Sebastien Charpentier Date: Fri, 16 Jun 2017 14:01:20 +0200 Subject: [PATCH 02/11] Fixed broken link A extra space was breaking the link to the Hardware.md file. --- docs/Troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index c168463..e50470e 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -28,7 +28,7 @@ ### Input Mode - Serial -- Make sure you have done the serial mods as indicated in the [hardware page for your board] (Hardware.md). +- Make sure you have done the serial mods as indicated in the [hardware page for your board](Hardware.md). - Protocol selection dial must be in the 0 position or leave all 4 selection pins unconnected. - Often the signal is not sent to the module until the transmitter has performed safety checks (like switch and throttle position settings) From 2b265bd1de4c55b0c38a408e295b50120f2f8321 Mon Sep 17 00:00:00 2001 From: Sebastien Charpentier Date: Fri, 16 Jun 2017 14:24:33 +0200 Subject: [PATCH 03/11] Fixed broken link Fixed broken link. Bad idea to use space and ampersand... ;) --- docs/Module_Build_yourself_PCB.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Module_Build_yourself_PCB.md b/docs/Module_Build_yourself_PCB.md index 8c63f0c..84c00ca 100644 --- a/docs/Module_Build_yourself_PCB.md +++ b/docs/Module_Build_yourself_PCB.md @@ -30,7 +30,7 @@ The schematic for the board is [here](#V23D_Schematic). Please note that is is ### STM32 powered PCB 1. The latest STM32 (32-bit) powered PCB V1.0t supporting the 4-in-1 RF module available from OSHPark [here](https://oshpark.com/shared_projects/GX51nEoH). 2. The 4-in-1 RF module is available [here](http://www.banggood.com/DIY-2_4G-CC2500-NRF24L01-A7105-CYRF6936-Multi-RF-4-IN-1-Wireless-Module-p-1046308.html) -1. The schematic and BOM for this board V1.0t and older boards are available [here](BOM_DIY_STM32 & Schematic.md). +1. The schematic and BOM for this board V1.0t and older boards are available ![here](BOM_DIY_STM32%20\&%20Schematic.md). ### Common parts 1. A module case that fits your module like the one [here](https://www.xtremepowersystems.net/proddetail.php?prod=XPS-J1CASE)

or you can 3D print your own from a selection on Thingiverse ([Example 1](http://www.thingiverse.com/thing:1852868) [Example 2](http://www.thingiverse.com/thing:1661833)).
[ ](http://www.thingiverse.com/thing:1852868)
For 9XR/9XR Pro, a new 3D printed module is available which makes use of the built in antenna in the handle. This means nothing is getting out of the radio back! You can find all details of this module case on [Thingiverse](http://www.thingiverse.com/thing:2050717).
From 005c7b9cb07d54881f611606a6f98baf6ecd8c27 Mon Sep 17 00:00:00 2001 From: Sebastien Charpentier Date: Fri, 16 Jun 2017 14:25:32 +0200 Subject: [PATCH 04/11] Typo --- docs/Module_Build_yourself_PCB.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Module_Build_yourself_PCB.md b/docs/Module_Build_yourself_PCB.md index 84c00ca..d769da7 100644 --- a/docs/Module_Build_yourself_PCB.md +++ b/docs/Module_Build_yourself_PCB.md @@ -30,7 +30,7 @@ The schematic for the board is [here](#V23D_Schematic). Please note that is is ### STM32 powered PCB 1. The latest STM32 (32-bit) powered PCB V1.0t supporting the 4-in-1 RF module available from OSHPark [here](https://oshpark.com/shared_projects/GX51nEoH). 2. The 4-in-1 RF module is available [here](http://www.banggood.com/DIY-2_4G-CC2500-NRF24L01-A7105-CYRF6936-Multi-RF-4-IN-1-Wireless-Module-p-1046308.html) -1. The schematic and BOM for this board V1.0t and older boards are available ![here](BOM_DIY_STM32%20\&%20Schematic.md). +1. The schematic and BOM for this board V1.0t and older boards are available [here](BOM_DIY_STM32%20\&%20Schematic.md). ### Common parts 1. A module case that fits your module like the one [here](https://www.xtremepowersystems.net/proddetail.php?prod=XPS-J1CASE)

or you can 3D print your own from a selection on Thingiverse ([Example 1](http://www.thingiverse.com/thing:1852868) [Example 2](http://www.thingiverse.com/thing:1661833)).
[ ](http://www.thingiverse.com/thing:1852868)
For 9XR/9XR Pro, a new 3D printed module is available which makes use of the built in antenna in the handle. This means nothing is getting out of the radio back! You can find all details of this module case on [Thingiverse](http://www.thingiverse.com/thing:2050717).
From f95ca6eac68396bad65cd32bb9bd9af88a12829a Mon Sep 17 00:00:00 2001 From: midelic Date: Tue, 27 Jun 2017 11:42:32 +0100 Subject: [PATCH 05/11] info on compiling firmware for USB version --- docs/Compiling_STM32.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index b5f3a16..e17e21f 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -77,12 +77,13 @@ See below my module for reference This method use USB connector on the STM32 V1.0 board or on the maple clone board. 1. Install first maple USB driver by running the batch file found in Arduino STM32 package folder ```..\hardware\Arduino_STM32\drivers\win\install_drivers.bat``` 1. Download the free STM32 flash loader demonstrator from [ST.com](http://www.st.com/en/development-tools/flasher-stm32.html) and using a USB-TTL device (like FTDI cable) flash the STM32duino bootloader available from Roger Clark's great STM32 site [here](https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/STM32F1/binaries) .Use bootloader **generic_boot20_pa1.bin** -1. Open Arduino IDE,browse to multiprotocol folder,load the sketch multiprotocol.ino. +1. Open Arduino IDE,browse to multiprotocol folder,load the sketch multiprotocol.ino.Select the serial COM port(see notes below) 1. In Arduino IDE under "Upload method" select **STM32duino**-bootloader.Click upload ,wait until upload is complete. Notes: -- When you use multiSTM32_USB for the first time,the USB drivers are not recognized and port is not open/recognized(arduino IDE port selection is grey/unavailable). After this first time use, any subsequent update of the program, you'll have to select the correct serial port and upload sketches normally in Arduino using USB port. +- When you use multiSTM32_USB for the first time,the USB drivers are not recognized and com port is not open/recognized(arduino IDE port selection is grey/unavailable). After this first time use, any subsequent update of the program, you'll have to select the correct serial port and upload sketches normally in Arduino using USB port. - If the initial upload fails, make sure you are running the latest [Java version](https://www.java.com/en/download/) +- If using Banggood multi_STM32-USB module follow instructions from step3(as the USB drivers are probably already installed) ## Flashing precompiled binaries: From 08f9176f3f5ccd86950f59aa711a024d91e54e05 Mon Sep 17 00:00:00 2001 From: midelic Date: Tue, 27 Jun 2017 13:00:38 +0100 Subject: [PATCH 06/11] Update Compiling_STM32.md --- docs/Compiling_STM32.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index e17e21f..370a4a5 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -83,7 +83,7 @@ This method use USB connector on the STM32 V1.0 board or on the maple clone boar Notes: - When you use multiSTM32_USB for the first time,the USB drivers are not recognized and com port is not open/recognized(arduino IDE port selection is grey/unavailable). After this first time use, any subsequent update of the program, you'll have to select the correct serial port and upload sketches normally in Arduino using USB port. - If the initial upload fails, make sure you are running the latest [Java version](https://www.java.com/en/download/) -- If using Banggood multi_STM32-USB module follow instructions from step3(as the USB drivers are probably already installed) +- If using Banggood multi_STM32-USB module follow instructions from step1(USB drivers on your computer) and jump after to step 3(most probably bootloader is installed on multi and no need installed again) ## Flashing precompiled binaries: From 97a3c8dca17eb84be663061297fdaf8857aecce8 Mon Sep 17 00:00:00 2001 From: midelic Date: Sat, 1 Jul 2017 15:52:34 +0100 Subject: [PATCH 07/11] added more info on flashing USB module. --- docs/Compiling_STM32.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Compiling_STM32.md b/docs/Compiling_STM32.md index 370a4a5..e1536d4 100644 --- a/docs/Compiling_STM32.md +++ b/docs/Compiling_STM32.md @@ -82,8 +82,9 @@ This method use USB connector on the STM32 V1.0 board or on the maple clone boar Notes: - When you use multiSTM32_USB for the first time,the USB drivers are not recognized and com port is not open/recognized(arduino IDE port selection is grey/unavailable). After this first time use, any subsequent update of the program, you'll have to select the correct serial port and upload sketches normally in Arduino using USB port. +- More explanations how all these work you find [here](http://www.stm32duino.com/viewtopic.php?f=32&t=1774_) - If the initial upload fails, make sure you are running the latest [Java version](https://www.java.com/en/download/) -- If using Banggood multi_STM32-USB module follow instructions from step1(USB drivers on your computer) and jump after to step 3(most probably bootloader is installed on multi and no need installed again) +- If using Banggood multiSTM32_USB module, follow instructions from step1(USB drivers on your computer) and jump after, to step 3(most probably generic bootloader is installed on multi module and no need to be installed again).I don't have one for test so this is an educated guess. ## Flashing precompiled binaries: From 46240751127e8ba02486780f4c028732bef78288 Mon Sep 17 00:00:00 2001 From: hexfet Date: Sat, 22 Jul 2017 22:07:42 -0400 Subject: [PATCH 08/11] Update sequence number logic to send invalid sequence indicator when invalid sequence detected. Works to resync telemetry stream as tested with EU firmware version. --- Multiprotocol/FrSkyX_cc2500.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Multiprotocol/FrSkyX_cc2500.ino b/Multiprotocol/FrSkyX_cc2500.ino index 3d69d08..6af6a34 100644 --- a/Multiprotocol/FrSkyX_cc2500.ino +++ b/Multiprotocol/FrSkyX_cc2500.ino @@ -156,6 +156,8 @@ static void __attribute__((unused)) frskyX_data_frame() seq_last_sent = (seq_last_sent + 1) % 4; else if (seq_last_rcvd == 0x00) seq_last_sent = 1; + else + seq_last_rcvd = 8; if(sub_protocol & 1 )// in X8 mode send only 8ch every 9ms lpass = 0 ; @@ -281,4 +283,4 @@ uint16_t initFrSkyX() seq_last_rcvd = 8; return 10000; } -#endif \ No newline at end of file +#endif From 44a086a27b00d1a08647744d57fc85220d019463 Mon Sep 17 00:00:00 2001 From: hexfet Date: Sat, 22 Jul 2017 22:35:43 -0400 Subject: [PATCH 09/11] Revert terminating newline. --- Multiprotocol/FrSkyX_cc2500.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Multiprotocol/FrSkyX_cc2500.ino b/Multiprotocol/FrSkyX_cc2500.ino index 6af6a34..0085b6a 100644 --- a/Multiprotocol/FrSkyX_cc2500.ino +++ b/Multiprotocol/FrSkyX_cc2500.ino @@ -283,4 +283,4 @@ uint16_t initFrSkyX() seq_last_rcvd = 8; return 10000; } -#endif +#endif \ No newline at end of file From ebf0c4fae6a74898f73e57deb49da784e7a39c0a Mon Sep 17 00:00:00 2001 From: hexfet Date: Sat, 22 Jul 2017 22:39:26 -0400 Subject: [PATCH 10/11] Change spaces to tabs. --- Multiprotocol/FrSkyX_cc2500.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Multiprotocol/FrSkyX_cc2500.ino b/Multiprotocol/FrSkyX_cc2500.ino index 0085b6a..3381e88 100644 --- a/Multiprotocol/FrSkyX_cc2500.ino +++ b/Multiprotocol/FrSkyX_cc2500.ino @@ -156,8 +156,8 @@ static void __attribute__((unused)) frskyX_data_frame() seq_last_sent = (seq_last_sent + 1) % 4; else if (seq_last_rcvd == 0x00) seq_last_sent = 1; - else - seq_last_rcvd = 8; + else + seq_last_rcvd = 8; if(sub_protocol & 1 )// in X8 mode send only 8ch every 9ms lpass = 0 ; @@ -283,4 +283,4 @@ uint16_t initFrSkyX() seq_last_rcvd = 8; return 10000; } -#endif \ No newline at end of file +#endif From a1fb4a0ac5e9009179025c08bef06c882496b2fa Mon Sep 17 00:00:00 2001 From: hexfet Date: Sat, 22 Jul 2017 22:41:34 -0400 Subject: [PATCH 11/11] Revert terminating newline. --- Multiprotocol/FrSkyX_cc2500.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Multiprotocol/FrSkyX_cc2500.ino b/Multiprotocol/FrSkyX_cc2500.ino index 3381e88..84594b4 100644 --- a/Multiprotocol/FrSkyX_cc2500.ino +++ b/Multiprotocol/FrSkyX_cc2500.ino @@ -283,4 +283,4 @@ uint16_t initFrSkyX() seq_last_rcvd = 8; return 10000; } -#endif +#endif \ No newline at end of file