STM32 MCU based diversity module firmware.
This firmware uses some code from Shea Ivey's rx5808-pro
If you like this work and you're buying Eachine PRO58 please use this link: Eachine PRO58 (It's a reflink)
To flash your PRO58 or HB5808 module you have to use ST-link programmer. The best way to flash your module is:
- Connect 5V power and GND via Fatshark connector - Use 5V BEC with at least 1A of current,
- Connect GND, SWDIO and SWDCLK to ST-Link via SWD connector (on top left corner of module - see images).
- Use ST-LINK Utility from ST web page - http://www.st.com/en/development-tools/stsw-link004.html - look on the bottom of page for download.
- If its brand new module you have to remove Read Out Protection. In ST-LINK Utility Click on Target -> Option Bytes... . Set Read Out Protection to Disabled and next click Apply (WARNING: This will erase original firmware - there is no way back). Do not touch other things in this menu.
- Load .bin file by clicking Open file button, and next Target -> Program and verify...
- Once it finish witout error you have WPro58 installed. Disconnect all and then reconnect power ;)
Remember that module draws ~0.4A of current, power it with efficient power supply!
To edit/build code you need to download SW4STM32 IDE (Eclipse based)
FatShark pins are not connected to MCU.
- mihero for contributing
- 20Sy for HB5808 module ;)
- conkerkh for contributing
If you use module with FatShark goggles make sure that FS pins mode setting is set to FS (not BUTTON). This settings changes pullup settings on FS channel pins.
To use BUTTON mode simply add buttons that connect pin to ground when pressed.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.