mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 19:58:13 +00:00
Serial debug documentation
This commit is contained in:
parent
084308d8a4
commit
4dcc88ba32
15
docs/Advanced_Debug.md
Normal file
15
docs/Advanced_Debug.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Enable the STM32 module serial debug feature
|
||||||
|
|
||||||
|
To enable serial debug on your module you must know how to buid the firmware from the source code available on this GitHub. To do so follow this page: [Compiling and programming the STM32 module](Compiling_STM32.md).
|
||||||
|
|
||||||
|
Procedure to use serial debug:
|
||||||
|
1. Edit the file [Multiprotocol.ino](../Multiprotocol/Multiprotocol.ino#L26)
|
||||||
|
1. Modify at the begining of the file the line: `//#define DEBUG_SERIAL` by removing the // leaving only: `#define DEBUG_SERIAL`
|
||||||
|
1. Save the file
|
||||||
|
1. Power on the TX
|
||||||
|
1. Open in the Arduino IDE the Serial Monitor: Tools->Serial Monitor or Ctrl+Shift+M<br> <img src="images/Serial_Monitor_1.png" />
|
||||||
|
1. Make sure the settings at the bottom of the Serial Monitor window are the same as the picture above especially the baud rate set to 115200 baud
|
||||||
|
1. Upload the firmware to the module as you usually do with the Arduino IDE and **do not disconnect the USB cable or FTDI**
|
||||||
|
1. The Serial Monitor window should show the module booting and more depending on the protocol currently loaded<br> <img src="images/Serial_Monitor_2.png" />
|
||||||
|
1. At this stage you can test whatever is needed or have been instructed to do. You can easily select text in the window to copy and paste it on the forum or in a text file.
|
||||||
|
1. **Important:** to use your module normally and before flying you must reupload the firmware with the debug line commented: `//#define DEBUG_SERIAL`
|
@ -1,11 +1,14 @@
|
|||||||
# Advanced Topics {This page is currently a proof of concept}
|
# Advanced Topics
|
||||||
Warning: the topics on this page are not for the fainthearted. It is strongly recommended that you have some experience in getting up and runnning with your module before you dive in there. On the other hand what is described on this page are some very useful options that could greatly increase the value and the enjoyment of your Multiprotocol module.
|
Warning: the topics on this page are not for the fainthearted. It is strongly recommended that you have some experience in getting up and runnning with your module before you dive in there. On the other hand what is described on this page are some very useful options that could greatly increase the value and the enjoyment of your Multiprotocol module.
|
||||||
|
|
||||||
|
# Enable STM32 module serial debug
|
||||||
|
This document describes how to enable serial debug for STM32 MULTI-modules. This can be useful in case of issues with a protocol or to reverse a protocol based on the XN297L RF component. See the [MULTI-Module Debug](Advanced_Debug.md) page for more details.
|
||||||
|
|
||||||
|
# EEPROM Backup and Restore
|
||||||
|
This document describes how to back up and restore the EEPROM for both Atmega328p and STM32 MULTI-modules. This can be useful if cloning a module, or to preserve settings. See the [MULTI-Module EEPROM](EEPROM.md) page for more details.
|
||||||
|
|
||||||
# Telemetry in PPM mode
|
# Telemetry in PPM mode
|
||||||
It is possible to access the telemetry stream coming from the receiver through the MULTI-module. This document describes a simple bluetooth module to stream telemetry information to a mobile device like an Android smartphone or tablet. The method may be generalized to feed telemetry to the transmitter if the transmitter has the capabilities to process the information. This is very useful with modules used in the PPM mode with transmitters that do not support telemetry. See the [Advanced Bluetooth Telemetry](Advanced_Bluetooth_Telemetry.md) page for more details.
|
It is possible to access the telemetry stream coming from the receiver through the MULTI-module. This document describes a simple bluetooth module to stream telemetry information to a mobile device like an Android smartphone or tablet. The method may be generalized to feed telemetry to the transmitter if the transmitter has the capabilities to process the information. This is very useful with modules used in the PPM mode with transmitters that do not support telemetry. See the [Advanced Bluetooth Telemetry](Advanced_Bluetooth_Telemetry.md) page for more details.
|
||||||
|
|
||||||
# Manually setting fuses on ATmega328
|
# Manually setting fuses on ATmega328
|
||||||
This document describes a relatively simple process to set the fuses on ATmega328. See the [Advanced Manually Setting ATmega328 Fuses](Advanced_Manually_Setting_ATmega328_Fuses.md) page for more details.
|
This document describes a relatively simple process to set the fuses on ATmega328. See the [Advanced Manually Setting ATmega328 Fuses](Advanced_Manually_Setting_ATmega328_Fuses.md) page for more details.
|
||||||
|
|
||||||
# EEPROM Backup and Restore
|
|
||||||
This document describes how to back up and restore the EEPROM for both Atmega328p and STM32 MULTI-modules. This can be useful if cloning a module, or to preserve settings. See the [MULTI-Module EEPROM](EEPROM.md) page for more details.
|
|
||||||
|
BIN
docs/images/Serial_Monitor_1.png
Normal file
BIN
docs/images/Serial_Monitor_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
docs/images/Serial_Monitor_2.png
Normal file
BIN
docs/images/Serial_Monitor_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
Loading…
x
Reference in New Issue
Block a user