/WPro58

Eachine PRO58 module open-source firmware

Primary LanguageC

WPro58 for Eachine PRO58 and Quanum HB5808 modules.

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)

Pinouts and flashing.

To flash your PRO58 or HB5808 module you have to use ST-link programmer. The best way to flash your module is:

  1. Connect 5V power and GND via Fatshark connector - Use 5V BEC with at least 1A of current,
  2. Connect GND, SWDIO and SWDCLK to ST-Link via SWD connector (on top left corner of module - see images).
  3. 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.
  4. 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.
  5. Load .bin file by clicking Open file button, and next Target -> Program and verify...
  6. 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)

Eachine PRO58 pinouts

Pinouts


Quanum HB5808 pinouts

Pinouts

FatShark pins are not connected to MCU.


Big thanks to

  • mihero for contributing
  • 20Sy for HB5808 module ;)
  • conkerkh for contributing

Warning!

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.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.