fishpepper / OpenGround

frsky compatible opensource firmware for the flysky fs-i6s
GNU General Public License v3.0
84 stars 30 forks source link

Would you be interested in porting this to the new Turnigy Evolution #1

Closed andymac4182 closed 7 years ago

andymac4182 commented 8 years ago

Hi,

Have you had a look at whether it is possible to port this to the new Turnigy Evolution?

https://hobbyking.com/en_us/fpv-racer-radio-mode-2-white.html

https://www.youtube.com/watch?v=ZMHVIhZzSMI

Cheers, Andrew

jacobbloy commented 7 years ago

Good idea, so your working on changing the ADC mapping for the evolution? I was planning on doing the same this week if I found time.

kevinlynn commented 7 years ago

I think I'll upload the original firmware to a google drive instead. I'll be honest and say that I don't know if it's copyrighted and what the ramifications of putting it here are. Certainly you can't use it without an MT6 but I suppose they could still flip out or something.

If someone needs the original firmware then send me a message.

andymac4182 commented 7 years ago

http://fishpepper.de/2017/01/23/openground-part-12-turnigy-evolution-io-mapping/ 👍

fishpepper commented 7 years ago

The latest master code works on Evolution. See src/config.c on how to enable autodetection on Evolution (a simple pulldown resistor is enough).

andymac4182 commented 7 years ago

@fishpepper Thanks!! sounds nice and simple.

dovaskull commented 7 years ago

Hi guys,

are you still working on this Project? I would wait for a tutorial for dummies to buy this transmitter, looks really nice but all my quads are FrSky.

Great advances @fishpepper

rav-rav commented 7 years ago

I'd love to try it and work on it, but it is constantly on backorder at hobbyking. Is there some other store selling this transmitter?

jacobbloy commented 7 years ago

Mode 1 radios are usually avalible, it is a simple swap over to mode 2, just look on YouTube if that helps

keiser1080 commented 7 years ago

I think but I AM not sure, it's the same http://m.banggood.com/fr/search/fs-i6s.html

Le 14 févr. 2017 1:43 PM, "jacob bloy" notifications@github.com a écrit :

Mode 1 radios are usually avalible, it is a simple swap over to mode 2, just look on YouTube if that helps

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fishpepper/OpenGround/issues/1#issuecomment-279697539, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqDzZ1X129AZ5H305lvNmRwAlRiTp1cks5rcaFbgaJpZM4Kj1Ie .

rav-rav commented 7 years ago

Thanks for the link, but I'm looking for the evolution, not i6s.

totterfree commented 7 years ago

Two questions. 1. I can flash the current build, but will I actually be able to bind to frsky RXs at this point? 2. Is it possible to backup/revert to original firmware if I have problems?

keiser1080 commented 7 years ago

Indeed the evolution is a better radio following multiple reviews. It's possible to use the multimodule 4in1 with this firmware + the evolution ?

Le 14 févr. 2017 7:44 PM, "Timothy Ichiyasu" notifications@github.com a écrit :

Two questions. 1. I can flash the current build, but will I actually be able to bind to frsky RXs at this point? 2. Is it possible to backup/revert to original firmware if I have problems?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fishpepper/OpenGround/issues/1#issuecomment-279796889, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqDzadhP7OtV8kOxAm2Qla78sPvLpRhks5rcfYBgaJpZM4Kj1Ie .

fishpepper commented 7 years ago

The current build can bind. When you build the sources a txid and hoptable is generated and stored locally (src/hoptable.h) and in the hex file. You can also use the clone function to copy your other transmitter (no rebinding when you use multiple tx necessary). UI navigation is done by the touchscreen (left/right corner to toggle screens). 4in1 module is not supported right now.

keiser1080 commented 7 years ago

Thanks for your wifi fishpepper! "4in1 module is not supported right now." It mean it may be supported in the futur 😀

Le 14 févr. 2017 9:48 PM, "fishpepper" notifications@github.com a écrit :

The current build can bind. When you build the sources a txid and hoptable is generated and stored locally (src/hoptable.h) and in the hex file. You can also use the clone function to copy your other transmitter (no rebinding when you use multiple tx necessary). UI navigation is done by the touchscreen (left/right corner to toggle screens). 4in1 module is not supported right now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fishpepper/OpenGround/issues/1#issuecomment-279831219, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqDzbe8gfNTBYQ7NLqovmj3U8UIIjeeks5rchM2gaJpZM4Kj1Ie .

jacobbloy commented 7 years ago

Support the porting of OpenTx to the turnigy evolution and I6s. http://www.gofundme.com/3dudrygï»ż

I have already emailed Fishpepper and if he is willing to do some payed work i can send some of the risen money his pay to get things like multi module support working and get usb joystick support working again for simulations work.

kevinlynn commented 7 years ago

Fishpepper - do you have any coding standards you want us to keep to in order for us to submit changes for a7105 support?

I should be having some time for it next week and figure I'll see about using some of the deviation stuff to make it easier...

On Tue, Feb 14, 2017 at 8:51 PM jacob bloy notifications@github.com wrote:

Support the porting of OpenTx to the turnigy evolution and I6s.

http://www.gofundme.com/3dudrygï»ż

I have already emailed Fishpepper and if he is willing to do some payed work i can send some of the risen money his pay to get things like multi module support working and get usb joystick support working again for simulations work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fishpepper/OpenGround/issues/1#issuecomment-279894563, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAZZVrGeMkpumVLvm971Z8pcR8YYEWYks5rcloegaJpZM4Kj1Ie .

fishpepper commented 7 years ago

Just make sure it passes the automatic stylecheck (or do make stylecheck) :)

rav-rav commented 7 years ago

My evolution finally arrived. It has a 8MHz oscillator installed, not 12MHz, so CRYSTAL_FREQ / HSE_VALUE should be adjusted accordingly.

fishpepper commented 7 years ago

You are right. The i6s also has an 8Mhz quartz. I need to investigate why this is working correctly with the 12.000000 value in the makefile. All timings are correct (9ms frame time for example). Maybe i messed up the sys clock initializing somehow so that it assumes 8mhz input. I will have to take a close look.

At least it is good to know that both use the same crystal ;)

Created a new issue #4 for this

FAHQ13 commented 7 years ago

Is the evo able to bind with frsky? Now that is. If so what do I have to do to make it work on my quads. I have a torretto 130 and the only receiver that fits is the furious fpv micro however it's frsky and I have a turnigy evolution and I love it but hate the frsky fsky flsky difference any help would be greatly appreciated

MrSatoV commented 7 years ago

Just let me say, no matter the outcome, THANK YOU for your work on this guys. Gives me hope where there was only frustration. I love the TX but the RX options are irritatingly poor. I like the X6B RX, but it's too big. I actually already have on the way a Taranis Q X7 and some XM+ receivers - mostly just so I could use those receivers. But I'd gladly sell off the Q X7 if you guys get this going as there's no way I'll like using it better than the Evo.
Cheers!

lunohod commented 7 years ago

I've just got a turnigy evo and waiting for the cc2500 to arrive. Do you have to remove the mainboard before replacing the rf module because of the screen on the other side?

rav-rav commented 7 years ago

No need to remove it. Just open up the remote and you can get right to it.

jacobbloy commented 7 years ago

Be carefully! Cont want to belt the crapy plastic wires and case. If using hot air remove the board or have a reflow temp control. If using solder wick then you can leave it in.

lunohod commented 7 years ago

Thank you, guys! I'm going to use the solder wick. Just want to be sure not to ruin the display.

BTW, what is the best way to flash the fw updates without reopening the case each time? Can the OpenGround trigger the dfu mode? Or is it better to lead out the swd pins with a cable?

totterfree commented 7 years ago

Is there any way we could get someone to describe, in detail, the steps for building/flashing this firmware? I'd like to make a video tutorial for other noobs if I can get this figured out for myself. Thanks in advance!

lunohod commented 7 years ago

It's already described here: http://fishpepper.de/projects/openground/

Install the cross compiler: sudo apt-get install gcc-arm-none-eabi

Download and build: git clone https://github.com/fishpepper/OpenGround.git && cd OpenGround make

Flash with st-link (http://fishpepper.de/2016/09/16/installing-using-st-link-v2-to-flash-stm32-on-linux/) make flash or using the DFU mode via USB (http://fishpepper.de/2016/09/16/openground-part-3-swd-st-link-debugger/) make dfu

ameeuw commented 7 years ago

Did anybody find out which pins the LEDs for the gimbals are on? Would love to have them light up on my Evolution when I use OpenGround.

Adekamer commented 7 years ago

@kevinlynn , i brick my evolution i unsuccessful upgrade firmware how i can receive original firmware ? how turn on evolution ?

laurynas-karvelis commented 7 years ago

Someone else needs to do a backup of original firmware and send you the file somehow for you to try to restore it back.

lunohod commented 7 years ago

@Adekamer here is my dump of the stock firmware: https://drive.google.com/file/d/0B0MGyLvt7DYTUTRELXZELW10Wms/view?usp=sharing

@ameeuw PA9 and PA10

Adekamer commented 7 years ago

Thank you!

jacobbloy commented 7 years ago

Are you sure that you didn't forget to do the pull-up resistor so the firmware can detect that it is an evolution? Otherwise it will just default to i6s which has different ADC and could stop your ratio powering on. Especially as the i6s has 2 power buttons.

Adekamer commented 7 years ago

where is must be pull-ap resistor ? 1kOm enought ? Thank.

jacobbloy commented 7 years ago

Pin 10

lunohod commented 7 years ago

It boots up fine without the pull-up resistor. If there is no gui, just flip the right switch :)

lunohod commented 7 years ago

Btw, shouldn't it be a pull-down? // tgy evolution has a pulldown on RF0 (=PE.10)

jacobbloy commented 7 years ago

Haha yes sir

jacobbloy commented 7 years ago

Soo to know about the right switch. I was going to try and make a hex file that can be used with the GUI st-link software. Or make a was to install openground from the original flysky bootloader mode. So no need to use and st-link.

lunohod commented 7 years ago

Well, it's the middle switch with the pull-down resistor installed.

I just hovered my Q85 with the turnigy evo and it is working! There are just some issues. OpenGround seems to use AETR, but all my betaflight copters are set to TAER. The switches are all inverted compared to my Taranis.

jacobbloy commented 7 years ago

Can some one els please test this .hex file with an stink? you can use stink utilities on windows.

https://drive.google.com/open?id=0Bym9XrdeViekQXJ6dE8yZUdKYVU

jacobbloy commented 7 years ago

img_5161 confirmed .hex and i would say .bin works via st-link utility via windows. i could not get the .hex or .bin to work via DFU using a DFU gui.

ST-link utility can also be used to restore your firmware via a .bin (tested)

The image confirms what the screen will show if loaded with out a CC2500 installed. if your in Australia i have spare CC2500 adapters.

jacobbloy commented 7 years ago

img_7624

lunohod commented 7 years ago

There was no place to fit both module and adapter board. I had to use wires instead. img_20170507_115719

lunohod commented 7 years ago

I flashed my evo via DFU without any issues. And once the OpenGround is flashed you can trigger the DFU mode without soldering the boot pin.

andresodio commented 7 years ago

Is soldering that blue board onto the Evolution a must for flying with FrSky receivers? Or is there a way to use the stock Evolution HW with them?

Thanks,

Andrés

On May 7, 2017 09:28, "lunohod" notifications@github.com wrote:

There was no place to fit both modules and adapter board. I had to use wires instead. [image: img_20170507_115719] https://cloud.githubusercontent.com/assets/16175/25782390/8b997d60-334a-11e7-8473-56bdcd0dfdc1.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fishpepper/OpenGround/issues/1#issuecomment-299713677, or mute the thread https://github.com/notifications/unsubscribe-auth/AATw9vFdw8ZclTKaXWryxiDjwAAufkd0ks5r3eMugaJpZM4Kj1Ie .

lunohod commented 7 years ago

@andresodio I guess the stock module will only work with AFHDS 2A receivers.

jacobbloy commented 7 years ago

Is that a 1kohm or 110ohm?

And what was stopping your adapter board from fitting?

Some one would have to add support for ADHDS 2A and to work with the original module. Or look at support for the multiprotocole module. I was looking into it before the port so I'm waiting until that branch gets merged to start again.

lunohod commented 7 years ago

On May 8, 2017 1:29 AM, "jacob bloy" notifications@github.com wrote:

Is that a 1kohm or 110ohm?

1k

And what was stopping your adapter board from fitting?

The height of the stack. I ordered my adapter at OSH, it's 1.6mm. But even without the adapter I had to apply some force to close the case.

jacobbloy commented 7 years ago

My case melted because I used hot air with out taking the board out so mine fits lol. One of those time where you say I shouldn't do this but do it any way.