Deviation for Devo F4?

More
02 Apr 2016 17:01 #45659 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
I understand fully PB, and have done since the beginning. I know it's a long process to get it working and am not rushing anyone with it, I know you are busy with other stuff, and I appreciate your interest in this project. First thing is to get it working, then take it from there bit by bit. I know nothing of programming, but I have no problem with being a guinea pig with the test firmwares.

I'll try out the new one tonight and let you know how it goes, and thanks to everyone who is putting their bit into this project; I only wish I could do more!!

Big hugs all around!!

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

More
02 Apr 2016 18:31 #45663 by SirDomsen
Replied by SirDomsen on topic Deviation for Devo F4?
Hi, was able to upload and start Deviation! I can also play around in the Menus, but binding to a Ladybird fails at the moment. I know it's a test build and just wanted to give you some report.
Great work so far!!
And thanks a lot for having a look at such a cheap transmitter ;-)

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

More
02 Apr 2016 22:15 #45675 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
I've only just gotten back home from a very tiring day of charity work, and I'm too tired to even think straight, let alone follow some instructions on how to install the firmware... I might end up using a hammer if I did it now.

So best I get some sleep tonight and try it out tomorrow, and I'll fiddle about with it to see if i can figure out what works and what doesn't as it is.

Good night world, see you tomorrow!!

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

More
03 Apr 2016 02:22 #45681 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation for Devo F4?
After Epitaph remarked on turning his Transmitter into a 64K pen-drive, I had a thought. While it would be difficult to create a DEVOFS->FAT translation on the fly that is accessible in Windows, it would be possible to create a fake FAT filesystem that gave raw access to the SPI flash. This would make it much faster to modify the filesystem, and also mean it should no longer be needed to use my custom uploader (even though it is better). This turned out to be very easy with a very minimal amount of extra code. So I can now boot my F7 into USB mode and copy a new filesystem to it in a few seconds (rather than the ~5 mins it takes to do with the deviation-uploader. The USB drive will only show you a single file (devo.fs), and it is not possible to write any other files than this one to it (it will ignore attempts to rename or write files other than devo.fs). This will also work with the F12E and F4.

Initially, you will install the firmware, then boot to USB mode, then upload the pre-packaged devo.fs and be on your way. My next task is to play with 'Dokan' to see if I can write a easy to use filesystem driver to give access to the actual files on the transmitter. If that doesn't work out well, I will instead write a stand-alone explorer like program to let you access them.

I still need to clean some things up, so I'm not yet ready to provide a new dfu to test, but I'll put it up when I'm ready

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

More
03 Apr 2016 07:30 #45688 by SirDomsen
Replied by SirDomsen on topic Deviation for Devo F4?
How will de filesystem be uploaded? If I enter USB mode with your test3 build, Windows asks for formatting but has only 64kb. If formatted, ther are only 32kb accesable. And if you do so, deviation is hurt in some way. I got a black screen while entering a menu point and had then to re-upload your dfu's

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

More
03 Apr 2016 08:32 #45691 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?

PhracturedBlue wrote: After Epitaph remarked on turning his Transmitter into a 64K pen-drive


*her

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

More
03 Apr 2016 09:27 #45695 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
OK guys, I have some news here, as I have been experimenting a little to see what does work and what doesn't.

So, I installed the new Deviation PH posted yesterday, and my Tx came back to life (YAY!!!). Anyway, I tried out some binding stuff and I have managed to bind it successfully to a Walkera Devo RX601, and also to an OrangeRX 6ch DSM2 R620, so that's 2 protocols that I know are working.

Then with both receivers I started to see what was being received and what wasn't with a spare servo I had, and I have all 6 channels on both receivers working properly (I just assigned channels 5 and 6 to work with aileron and elevator stick for that), with full response as you would expect with both receivers.

So, for the moment, I have found it to work with at least 6 channels (don't have a larger receiver right now to test more), with no problems whatsoever with both a DEVO and a DSM2 receiver.

EXPO seems to be working correctly also, and unfortunately I can't try out D/R as the switch I added doesn't work via software. Now, with this said, I know there is limitations with switches for the time being, and we might not be able to add any switches at all to the board... but... what about the PPM via Arduino solution which is being used to add proportional channels and extra switches to other Deviated radios like the 7E? There is PPM selectable on the menu, and the transmitter has the same trainer port as the 7E, so we might be able to add switches and pots via that solution to control everything else if all else fails... I'll set up an Arduino Uno I have to test this theory as soon as I get a chance, because if that works, that would mean we would have a final solution!!

Now... issues I found... the only one I found was with the video. In the model menu I initialized the video feed, and the whole screen went blue, no letters or anything at all... and the bad thing is that no option would let me get out of that mode, none of the buttons made it go back, so the only way I had of getting back to the menu was to reflash the transmitter again from the beginning!! Now, I haven't tried this changing the channel before initializing, but surely there should be a way to exit that and go back to the menu if you have the wrong channel selected, not to mention the fact that even turning the transmitter off, removing the battery, then inserting it and turning it back on still gave the same results of a blank blue screen... So there seems to be some issues on that function.

But all in all, considering that there were going to be issues as this is just an experiment, I would say this have been a VERY successful test!!

Now, considering the limited memory this transmitter has, will there be an issue making 10 complex models with model.ini files that are larger than usual, as in there not being enough space? If so, can any kilobytes be gained by removing things from the Deviation version, like for example, module and protocol support, or simplifying the input possibilities?? I mean, we're not expecting an F12E out of this, it's a €25 transmitter with video feed, and already with 6 channels, DEVO, DSM2 and probably also DSMX (just I don't have a receiver handy to try it with), and probably input one way or another, I think it's more than enough of a radio!!

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

More
03 Apr 2016 13:40 #45709 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation for Devo F4?
The filesystem is 60k in total (we have 4k in overhead that is unusable for files). In addition, each file takes up its contents + 15 bytes. The current filesystem with 10 (basic) models and the devo & dsm2 protocols takes up ~26kB of space, leaving ~36kB for more stuff. The most complicated model I've seen (the biggest one ever posted to the forums) is 5064 bytes in size, but almost all are from 1k to 3k in size. The default model is 555 bytes. here is probably room for 1 or 2 additional protocols (the devo and dsm protocols are the largest, so the others are slightly smaller) with 10 models, or you could go to maybe 20 models and keep 2 protocols.

As for how you will work with the USB filesystem, I'll provide more info when I release it, but it will be pre-formatted, and should be pretty easy to use.

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

More
03 Apr 2016 14:00 #45712 by xJustiinsane
Replied by xJustiinsane on topic Deviation for Devo F4?
Really nice!
I personally want to have more support with protocols then more models.

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

More
03 Apr 2016 14:23 #45716 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
I personally see it the other way around... more models than protocols, because I just can't see the point of having a ton of protocols on this transmitter, as this is an FPV based transmitter with a limitation to using the B band for video, a band which none of the toys that use the other protocols use. I just honestly can't see the point... for toys, there's the 7E and other transmitters. The only other protocol that I might se useful in this apart from Devo and the DSM ones is the FrSky protocol which would mean adding the CC2500 module, but as for the other module protocols, I'm sorry I just can't see the logic in it

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

More
03 Apr 2016 15:03 - 03 Apr 2016 15:04 #45719 by YARIMbe
Replied by YARIMbe on topic Deviation for Devo F4?
PB,
I really apreciate the work that was put into deviation firmware and fully understand that this is an expirimental firmware for my remote at this time so thank you for the answer.

Epitaph could you please elaborate on the steps you took in order to upload the firmware to your F4 so I could try and copy It and check if it will work on my F7
Last edit: 03 Apr 2016 15:04 by YARIMbe.

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

More
03 Apr 2016 15:10 - 03 Apr 2016 15:13 #45720 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
All I did was follow PB's instructions, using the latest test firmware he uploaded for us to try. Ad for the F7 there is an entire thread devoted to that transmitter, and you would have to get the firmware from there as the firmware posted on here is for the F4 and as such the updater won't let it work because you it will say you are trying to upload an F4 FW into an F7

The F7 FW is on the Nightly Builds download page here
Last edit: 03 Apr 2016 15:13 by Epitaph.

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

More
03 Apr 2016 15:17 - 03 Apr 2016 15:18 #45721 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation for Devo F4?
The nightly F7 builds are non-functional. There is no point in trying it. I will provide working F7 builds along with the F4 builds in the next iteration, but I'm not ready yet. You cannot put an F4 build on an F7. While the code is (currently) identical, the build process is not. You will just need to wait a bit longer
Last edit: 03 Apr 2016 15:18 by PhracturedBlue.

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

More
03 Apr 2016 15:22 #45723 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
I thought they were posted on the nightly builds because they were working, but still experimental.

Any thoughts as to the video issue I mentioned??

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

More
03 Apr 2016 16:22 #45725 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation for Devo F4?
I see the same thing on my F7 with the video. To be honest the only person who has ever used Deviation on the F7 is likely djtrance. I helped a bit getting the menus working, but it was all done purely in the emulator. I only found out the F7 builds were broken when I tried them 2 days ago. On the F12E, the overlay shows fine while video is enabled, and I'd expect the same here, but I have done very little experimentation with it so far.

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

More
03 Apr 2016 16:33 #45726 by Epitaph
Replied by Epitaph on topic Deviation for Devo F4?
On the video setup which is per model you have first the enable button, then the channel select, then brightness and contrast. But once you press enable the screen goes blue and there's no fine white or anything anywhere, and there's no way to go back to the menu... not even turning the transmitter off and on again, it just stays on the blue screen with nothing else. Now, I don't know if this is so also if the VTx and VRx are on the same channel, maybe you get the video feed instead of the blue screen, but there should be a way to go back to the menu without having a camera active (if the menu appears along with the video feed, being the case), or having to reflash the transmitter. I tried all the buttons, long holding them, combinations of buttons, nothign makes the transmitter leave that blue screen.

Also, maybe the video should be set up independently of the model, and not model specific, because when you're at fly-ins, you have to find the channel that's available for you to fly on, and you shouldn't have to change that channel on every FPV model you own in each model setup individually, but rather a global one that the transmitter would use... it would make it much easier to change channel should you find interference on the frequency you are using at that moment at the place you are at, hence why VTx's have their channel selection so easily set up, not to find a channel, but to change it easily if there is a problem on one at a particular venue.

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

More
04 Apr 2016 03:09 #45756 by djtrance
Replied by djtrance on topic Deviation for Devo F4?
Pb,
The problem with the video, is when you have not a video signal on the video rx. I have the same problem but, how in the F7 you can use de mix or other function to turn it on or off, is not problem, because you can turn off the video rx and you can see the menu. this can be a problem into the F4, because the are not to much button stick etc. on this device. other problem that there are with the firmware, is that when you shut down the tx an turn it on, the device don't remember the video config. is not a big problem, in my F7 I set up the video channel every time when I turn it on the video rx.
I don't have this code on bitbucket because my hard drive has die, but I'm setting up my computer, and maybe tomorrow I can return to work.
How I can se about the firmware on the devo F7?. The devo is working well with dsm2 and with devo protocol. I have tested a lot with my ladybird2 and I have not problem with it. the menus need a lot of work. there are some function that I want to use to change some of the function that can write some graphics on the screen. well is not a graphics like other devo is most like a different type of dots. but is hard to work with this, because there are not to much space on the screen to write all of thing that there are on devo 10.
we must fix some problem with the clear screen function that doesn't work well all the time, you can see this problem in the binding process when you haven't paired model, and turn it on the radio.

the good new is that all of the code can work on devo f7 and f4 :D

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

More
04 Apr 2016 04:52 #45761 by RoGuE_StreaK
Replied by RoGuE_StreaK on topic Deviation for Devo F4?

SirDomsen wrote: Damn cheap, not even 50€.

Epitaph wrote: it's a €25 transmitter with video feed

May I ask where you guys/gals are finding them for these prices? Cheapest I can find on ebay is about aud$130, which is about euro$90?

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

More
04 Apr 2016 04:56 #45762 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation for Devo F4?
I assume the original firmware doesn't do that? i.e. if you are in video mode without a signal, the overlay is still displayed? maybe our initialization isn't correct. Figuring out the proper enable sequence could be tricky, but it is something I can look at.

I've been working on being able to work on the devofs file-system from my PC. I have some basic access stuff working, but a lot more work is still needed before it will be useful.

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

More
04 Apr 2016 06:31 #45765 by SirDomsen
Replied by SirDomsen on topic Deviation for Devo F4?

RoGuE_StreaK wrote:

SirDomsen wrote: Damn cheap, not even 50€.

Epitaph wrote: it's a €25 transmitter with video feed

May I ask where you guys/gals are finding them for these prices? Cheapest I can find on ebay is about aud$130, which is about euro$90?


I got mine from here
m.ebay.de/itm/Walkera-DEVO-F4-2-4G-4CH-T...315979761?nav=SEARCH

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

Time to create page: 0.101 seconds
Powered by Kunena Forum