Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with HB5808? #3

Closed
2black0 opened this issue Aug 24, 2017 · 26 comments
Closed

Compatible with HB5808? #3

2black0 opened this issue Aug 24, 2017 · 26 comments
Assignees

Comments

@2black0
Copy link

2black0 commented Aug 24, 2017

wow great works, all firmware still working in atmega but this is awesome, stm32 developed

btw, HB5808 (https://hobbyking.com/en_us/hb5808-5-8ghz-40ch-diversity-receiver-for-fatshark-goggles-w-raceband.html?___store=en_us) is using stm32 too, can we flash this firmware into HB5808?

thanks

@piodabro
Copy link
Owner

piodabro commented Sep 6, 2017

Have no idea if it work, I've never saw that board. It can be different in "pinology" ;)

@2black0
Copy link
Author

2black0 commented Sep 12, 2017

its a board from hobbyking, I see stm32 was used, but yeah IDK wiring of it

@piodabro
Copy link
Owner

You can write down the schematic, and then maybe a little changes need to be made to port it to this HB5808.

@piodabro piodabro closed this as completed Oct 9, 2017
@2hlc
Copy link

2hlc commented Nov 9, 2017

Hi piodabro,

Would be really awesome if ti could be ported over to the HB5808. Regarding the layout I found this:

https://www.rcgroups.com/forums/showpost.php?p=36930926&postcount=1821

I looked at mine put I couldn't make out what pins are needed for flashing.

@piodabro
Copy link
Owner

piodabro commented Nov 9, 2017

Someone with this module have to write down the schematic of module.
Grab multimeter and check board traces writing down the connections.

Without that work its impossible to do anything ;)

If you make schematic its probably a little work to make this work on your module (just some pin remapping and setup settings saving on new HW)

@piodabro piodabro reopened this Nov 9, 2017
@2hlc
Copy link

2hlc commented Nov 9, 2017

I have the module so I can get that done. Would High Res Pictures help with traces? If you tell me what to measure on the board I'll do it.

@piodabro
Copy link
Owner

piodabro commented Nov 9, 2017

Yes You can make Hi-res macro photo of the modules. This could help, but some of connections can be difficult to find on photos.
Just switch your multimeter to buzzer mode (continuity check) and check where goes the MCU pins ;)
Write down connections of every element (draw a electronic schematic).

@2hlc
Copy link

2hlc commented Nov 9, 2017

Oki, will do it over the weekend.

@yo8aiv
Copy link

yo8aiv commented Nov 10, 2017

i think he should try to make a dump of the current firmware (i saw the connection pins are available), already. if that works it might be that it will be compatible with this one.
i don't think these receivers are very different (shure they didn't reinvent the wheel on this one.).

@2hlc
Copy link

2hlc commented Nov 10, 2017 via email

@piodabro
Copy link
Owner

If the device has Read Out Protection enabled, then downloading the original FW is not possible.
Disabling ROP on STM32F103 erases the flash, so dont try it ;)

@piodabro
Copy link
Owner

If someone send me this module to Poland i can make the schematic on my own and then return module to owner.

@2hlc
Copy link

2hlc commented Nov 15, 2017 via email

@2hlc
Copy link

2hlc commented Nov 23, 2017

So I got the display off yesterday evening and took a quick picture with my phone. Over the weekend I'll take better pics with my DSLR and trace the pinouts

img_1240

@piodabro
Copy link
Owner

piodabro commented Jan 5, 2018

Only single side of one board gives nothing.
Closing this issue.

HB5808 version is only possible when someone writes down schematics of this boards...

@piodabro piodabro closed this as completed Jan 5, 2018
@20Sy
Copy link

20Sy commented Jan 11, 2018

Hi, Piodabro I can send you the Rx Hb5808.
Give me your post adress at mixvisuel@yahoo.fr
I have a trouble so I have contact the support hobbyking and they give me a second.
But there is same problem.
The picture strob (hd3) and lost frame sync when camera send high-light.

@piodabro piodabro reopened this Jan 15, 2018
@piodabro piodabro self-assigned this Jan 15, 2018
@piodabro
Copy link
Owner

Thanks to 20Sy.

The HB5808 module is in my hands and now its time to draw the schematic.
At first look the "pinology" of this module is very different than PRO58.
There is no EEPROM onboard, so settings there is need to implement STM32 flash EEPROM emulation.
Lots of resources could be easily remapped to work with HB5808.

Stay tuned ;)

@piodabro
Copy link
Owner

The bad news is that module doesn't have FatShark button support (by hardware design).

@piodabro
Copy link
Owner

piodabro commented Feb 2, 2018

Working on code now, there is some thing to #ifndef because some functionality is not posible in HB5808.
Got compiling untested code now. Its time to test on 20Sy's module ;)

All schematics and code will be commited with working HB5808 version.

@piodabro
Copy link
Owner

piodabro commented Feb 7, 2018

It's almost done ;)
I had to implement FLASH EEPROM emulation to store user settings.
It works, now time for tests ;)
hb5808

@2hlc
Copy link

2hlc commented Feb 7, 2018 via email

@piodabro
Copy link
Owner

piodabro commented Feb 7, 2018

I have't tested this in-flight so i cant tell is it good or bad.
Compared to PRO58 this module has lack of few features like buzzer, FS button support, EEPROM(this one will be emulated in STM32's internal flash).
But it has USB port so maybe it could be used for some new features like configurator or firmware upgrade.

On my desk it seems to work ok with new firmware but it needs a lot of testing.

The same as PRO58, if you flash new firmware, there is no way back to restore original.

@20Sy
Copy link

20Sy commented Feb 7, 2018

Very Good working

@piodabro
Copy link
Owner

piodabro commented Feb 8, 2018

And its done!
Go here, download HB5808.bin, flash and enjoy.

Flashing HB5808 procedure is simply the same as PRO58. SWD connector is decribed here

@piodabro piodabro closed this as completed Feb 8, 2018
@20Sy
Copy link

20Sy commented Feb 8, 2018

I try it this afternoon. Many thanks Pio

@20Sy
Copy link

20Sy commented Aug 22, 2018

it's never to late to say, i just went to flash it and i love your firmeware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants