New Hubsan Upgraded Version on the way

More
28 Dec 2013 00:41 #17241 by PhracturedBlue
Replied by PhracturedBlue on topic New Hubsan Upgraded Version on the way
FYI, to build on the 7e, you do 'make TARGET=dev07e' then include the devo7e.dfu and objs/devo7e/protocol/*.mod
or just do 'make TARGET=devo7e zip' and you get a zip file with everything you need.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 00:43 #17242 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Yes, that's what I did, what's strange is that +/- 5805 is the value of the first firmware I sent, which seems to be working :S

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 02:16 #17244 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
I am sure it's something simple. It's past 1am where you are, thus it's not obvious.

I'll wipe my Devo 7e and download your latest Devo 7e firmware again. Format the USB and copy the protocol over along with the last way file system from the nightly build. Then report back.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 08:26 #17257 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Yes, please format the USB drive and retry.
speedy.sh/SPsqg/deviation-devo7e-Unknown.zip

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 08:46 #17259 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
Downloaded that new zip. Flashed firmware. Formatted USB and then copied over file system from Dec-15 nightly. Then copied over the protocol folder from your zip.

Turn on Hubsan TX and set to 5945MHz.

Turn on X4. Turn on Devo.

Bound.

No video on Hubsan TX until I switch to 5805MHz.

Weird.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 09:23 #17262 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Can you try this module please:
speedy.sh/C6Jyj/hubsan4.mod

I modified a small thing, but I still don't understand why it works on Devo 10 but not on 7e...

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 09:58 - 28 Dec 2013 09:58 #17264 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
... but it kinda works because it sets a constant non default frequency :pinch:

We'll crack it...
Last edit: 28 Dec 2013 09:58 by goebish.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 10:42 #17265 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
Copied over that new hubsan4.mod file.

And it's still transmitting on 5805MHz.

Not sure if saw my earlier comment about flashing back to an older firmware. (I built on OCT 10 with that version's protocol files) And video was still transmitting on 5805MHz.

So somehow, I got the X4 permanently stuck to default to 5805MHz when connecting to my Devo. Regardless of which firmware version and hubsan4.mod file I use.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 10:54 #17267 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
This is pure sorcery :P

Before going further I'd like Xermalk (and anyone reading this thread and is willing to try) to try another firmware with another frequency (5885) to double check it's working:

Devo 10:
speedy.sh/MrbtA/deviation-devo10-5885vTX.zip

Devo 7:
speedy.sh/GkahH/deviation-devo7e-5885vTX.zip

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 11:03 #17269 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
Interesting. Just flash your latest and copied over the protocols directory.

And works without a hitch. I am on 5885MHz.

sorcery? Maybe. LOL

I am happy to end on that note. It's 3AM. Time for me to turn in. See you all in a few hours.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 11:09 - 28 Dec 2013 11:09 #17270 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Thanks !

12:00AM here, I've a few things to do in the afternoon, I'll be back this evening, when you get up ;)
Last edit: 28 Dec 2013 11:09 by goebish.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 11:09 #17271 by Daryoon
Replied by Daryoon on topic New Hubsan Upgraded Version on the way
Oh, one more. For sanity sake.

With the succcess of getting the X4 to switch to 5885MHz, I did one more test.

Copied the hubsan4.mod you shared in this post .

And I was back to 5805MHz.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 11:15 - 28 Dec 2013 11:15 #17272 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Ok, next step will be to have the frequency selectable with a trim switch and have a way to display the current frequency on screen, oh and of course this value must be saved when the radio is powered off.

PhracturedBlue, any clues on where I should start hacking the code ?
Last edit: 28 Dec 2013 11:15 by goebish.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 11:22 #17273 by FDR
Replied by FDR on topic New Hubsan Upgraded Version on the way
Do you really need to change it on the fly?

I would implement it as a protocol option for the Hubsan protocol...

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 11:25 #17274 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Good idea, we could set 1 or 2 frequencies in the .ini (so we still have a choice at the field) and toggle between those 2 frequencies with channel 7 for example, as I did to toggle LEDs and flips on the H107L.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 12:38 - 28 Dec 2013 12:40 #17276 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
Or do you mean I should set a proto_opts array with all possible values ?
eg: _tr_noop("5645"), _tr_noop("5650") ...... , _tr_noop("5945")

won't this eat up too much flash and/or RAM space ?
Last edit: 28 Dec 2013 12:40 by goebish.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 13:06 #17277 by vlad_vy
Replied by vlad_vy on topic New Hubsan Upgraded Version on the way
Proto_opts values can't start from number. E.g. "Steps:1024" but not "1024".

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 13:36 #17282 by FDR
Replied by FDR on topic New Hubsan Upgraded Version on the way

goebish wrote: Or do you mean I should set a proto_opts array with all possible values ?
eg: _tr_noop("5645"), _tr_noop("5650") ...... , _tr_noop("5945")

won't this eat up too much flash and/or RAM space ?


Yes. However I don't think they should be translatable...

Don't know.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 14:55 - 28 Dec 2013 15:08 #17289 by goebish
Replied by goebish on topic New Hubsan Upgraded Version on the way
This will be a lot of (useless) strings.

Can't I make it work like low voltage warning value selection for example ?
I mean it needs a number only, but maybe this can't be done with proto_opts
Last edit: 28 Dec 2013 15:08 by goebish.

Please Log in or Create an account to join the conversation.

More
28 Dec 2013 15:23 - 28 Dec 2013 15:28 #17290 by Xermalk
Replied by Xermalk on topic New Hubsan Upgraded Version on the way
Goebish, could you release a version with the frequency set to 5685.
Id like to see if the vtx is capable of using frequnecies outside the ones the hubsan tx uses.

Edit: and will we be able to set the freq in 1 mhz steps?
Wehn i tired the bugged devo 10 version i seem to have neded up in the middle of 2 frequencies on the vtx. So i belive its possible to use smaller steps.
would be nice to have the ability to use one of the aux knobs to tune the frequency. As one could easily find the optimal freq /range that way.
Last edit: 28 Dec 2013 15:28 by Xermalk.

Please Log in or Create an account to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum