Deviation 2.1.ea9ee2c4a03d (Devo7e Support)

More
18 Jan 2013 03:43 - 19 Jan 2013 05:24 #5133 by PhracturedBlue
Deviation 2.1.ea9ee2c4a03d (Devo7e Support) was created by PhracturedBlue
UPDATE 2013-01-18: The current builds contain fixes for all issues up to post #5155

This build is very experimental for all platforms.
This is the 1st experimental release which adds devo7e support. More on that below. In order to support the 7e, the GUI code was significantly reworked (impacting all platforms) and the Devo10 scrolling-system was redesigned (impacting the Devo10 additionally). This release likely has many regressions in the GUI functionality (though hopefully it is still pretty stable) especially on the Devo10. Theoretically it should not behave significantly differently though, so I'm interested in any issues that are found.

The big new thing is the inclusion of Devo7e support.
With the exception of language support and reduced # of switches/buttons, the Devo7e build should behave identically to the Devo10. The following protocols have been tested to work: Devo, DSM2, DSMX, J6Pro, WK2601, WK2801

The Devo7e code has a big caveat: There is currently no way to go back to Walkera's firmware once you install Deviation. This is likely to remain true until Walkera releases a firmware upgrade for the 7e.

Additionally, installation of the Devo7e is slightly different than for the other Tx. The devo7e zip file contains both the dfu and a bunch of files in the 'protocol' directory. After installing the dfu, it is required to enter the filesystem and copy the 'protocol' dir (and its contents) to the root drive on the 7e. You must also install the devo10 filesystem, but everytime you upgrade the dfu, you must also replace the files in the 'protocol' directory.
Last edit: 19 Jan 2013 05:24 by PhracturedBlue.

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

More
18 Jan 2013 04:30 - 18 Jan 2013 04:31 #5135 by Hexperience
Replied by Hexperience on topic Deviation 2.1.21db796ae43d (Devo7e Support)
In emu_devo8:

- there is no way to add a second page to a complex mix.
- changing from complex mix back to DR/Expo causes crash

Cheers

There are 10 types of people in this world. Those that understand binary and those that don't.
Last edit: 18 Jan 2013 04:31 by Hexperience.

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

More
18 Jan 2013 04:41 - 18 Jan 2013 04:51 #5136 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
Both of those work fine for me in emu_devo8. What is your build platform?

Edit: okay, I see it on windows. fixing.
Last edit: 18 Jan 2013 04:51 by PhracturedBlue.

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

More
18 Jan 2013 05:06 - 18 Jan 2013 05:08 #5138 by vlad_vy
Replied by vlad_vy on topic Deviation 2.1.21db796ae43d (Devo7e Support)
In emu_devo8:

1. Main page config - I don't see main page layout (empty). If I scroll page, it appears on a moment and disappear. If I make change at layout, it it appears on a moment and disappear.

2. If I changing from complex mix back to DR/Expo, emulator silently closes.

3. Complex mix initially has 1 page only, and have not 'Mixes' and 'Page' controls. If I select any editable curve, edit and return, I will see 'Mixes' and 'Page' controls. After that I can change from complex mix back to DR/Expo.
Last edit: 18 Jan 2013 05:08 by vlad_vy.

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

More
18 Jan 2013 05:29 #5139 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
the 3 problems reported by vlad (which includes the 2 reported by Hexperience) should now be fixed in the trunk. I'll build new binaries for devo8 after I get a bit more feedback on the emulator. The bugs mentioned so far should not affect devo7e or devo10

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

More
18 Jan 2013 05:32 #5140 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
FYI, I plan to spend the next day or so just fixing regressions. I'll then start looking at the backlog of issues reported. Getting the Devo7e code working has taken a pretty solid 3 weeks and a lot of that was really tedious programming, so I am going to back off for a little bit.

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

More
18 Jan 2013 06:53 - 18 Jan 2013 06:53 #5141 by sbstnp
Replied by sbstnp on topic Deviation 2.1.21db796ae43d (Devo7e Support)
I see the dfu files are much smaller than before (devo10 from ~170k to 133k). Is this part of the optimization you were talking about?

Devo 10 + 4in1
Spektrum Dx9
FrSky Taranis + TBS Crossfire
Last edit: 18 Jan 2013 06:53 by sbstnp.

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

More
18 Jan 2013 13:50 - 18 Jan 2013 14:07 #5148 by domcars0
Replied by domcars0 on topic Deviation 2.1.21db796ae43d (Devo7e Support)
Bug in the Devo 10 Channel monitor Pages of the last commit (Devo7e)

In the Devo10 emu, in the Channels monitor screen : "Channel output" , only the four first designed channels worked well.

On the first page : 1,2,3,4 works 5,6,7,8 does'nt
On the second page : 3,4,5,6 works , 7,8,9,10 does'nt
etc ...


(works in Devo8 emu)

see issue #201

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:
Last edit: 18 Jan 2013 14:07 by domcars0.

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

More
18 Jan 2013 13:52 #5149 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
yes though half of that was easy (compile options on other tweaks). The other half was the result of 3 weeks hard work.

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

More
18 Jan 2013 14:06 #5150 by domcars0
Replied by domcars0 on topic Deviation 2.1.21db796ae43d (Devo7e Support)
Probably the same bug as #201 but :

In the Devo10 emu, in the Channels monitor screen : "Sticks Input" , only AIL, ELE AND THR seems to works , all other doen'st.
As for the output channels monitor, we need to refresh (use scrollbar for exemple) to see new sticks inputs values.

see issue #202

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:

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

More
18 Jan 2013 14:21 #5151 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
both #201 and #202 are fixed. Thanks everyone for playing with this. What I would really like is if someone put together a set of steps to go through to look for regressions. We could build an article and add steps to it over time. That should help catch bugs earlier.
It may even be possible to write an autoIt script that could actually run those steps automatically.

by the way, in debugging the devo7e, I learned how to capture stack traces when the Tx reboots (well, for most types of reboots at least). I plan to add the ability to write that to a file on the Tx before rebooting so that it is possible to glean some information on hard-to-reproduce bugs.

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

More
18 Jan 2013 14:23 #5152 by vlad_vy
Replied by vlad_vy on topic Deviation 2.1.21db796ae43d (Devo7e Support)
Devo 8

Both GUI (Standard and Advanced)
1) Timer page - funny things with controls, e.g. if I change timer type (lower) it change start control for upper timer, not for lower timer.

Standard GUI
1) Gyro sense page - 'Value 2' control moved left and overlap string 'Value 2'
2) Though it's not related to release, but why channel 6 has name 'PIT' for Airplanes? Will be better AUX1.

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

More
18 Jan 2013 14:27 #5153 by FDR

PhracturedBlue wrote: by the way, in debugging the devo7e, I learned how to capture stack traces when the Tx reboots (well, for most types of reboots at least). I plan to add the ability to write that to a file on the Tx before rebooting so that it is possible to glean some information on hard-to-reproduce bugs.


Do you mean the cases, when the watchdog restarts it?

What other reboot types are there?
- power loss/glitch;
- ???

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

More
18 Jan 2013 15:11 #5154 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
The watchdog can reset for several reasons. One is if the code causes a fault (bead memor contents, bad jump address, etc). These I can catch now. Another case is hat the code is in an endless loop and not resetting the watchdog. In that case, the code I have doesn't work.
I may try switching to the windowed watchdog which has the ability to generate an interrupt before rebooting, but i'll start with what I have.

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

More
18 Jan 2013 15:20 #5155 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
fixed the gyro page and the timer page. The 'Standard' gui really hasn't been setup for planes yet, I'm sure there is a bunch of work to do to make that work properly.

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

More
19 Jan 2013 05:28 #5170 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
I have updated the 1st post with new builds which fix all the issues reported so far.
I also added the above mentioned stacktrace capture code. there is a new file on the root filesystem called 'errors.txt'
This file should contain stack trace information whenever the transmitter crashes. Note that for me to make use of it, I need the .map and .list file that are generated as part of the build. I have these for builds I generate, but if you are running your own build, make sure to save these 2 files so I can use them for debug.

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

More
23 Jan 2013 22:55 #5441 by Lyndros
Replied by Lyndros on topic Deviation 2.1.21db796ae43d (Devo7e Support)
Hi PhracturedBlue,

Keep up the great job dude!

I am also developer and I would like to help you in you don't mind testing or coding. I have installed this latest build in my devo 7E and found some issues, but some of them seem to be already fixed in the repository, but anyhow I will tell them.

At the moment I have faced the following problems:

- Can not bind MSR with Devo7E. Any idea?
- The min voltage that you can setup is still too high, min and maximum values should be between 4V and 5.8V.
- The FMODE is reversed seems that it was fixed on revision 1288.
- When you switch the USB drive mode to off you can not get back to the main menu. Any reason for that?
- In the standard mixer setting there is some text overlapping in the menus when selecting "Switch assignment".
- I have experience some reboots while navigating throught the menus but still i have not identify the sequence (this is not too much).

Could you please tell me in which revision of the repository is this build based?

Well I hope that I did not write something stupid,

Thanks for the firmware and for the latest Devo 7E support!

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

More
23 Jan 2013 23:40 #5442 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.21db796ae43d (Devo7e Support)
I recommend you use the version that is at the top of the devo7e thread, or build from source. Many of the issues you listed have already been resolved. Discussion of devo7e status is better left there. This thread was more targeted at addressing regressions to the Deo10/8.

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

More
28 Jan 2013 14:24 #5620 by Scream
Replied by Scream on topic Deviation 2.1.ea9ee2c4a03d (Devo7e Support)
Hi!

Build# 2.1.ea9ee2c4a03d is awesome!

Loving the "standard" gui, and super pleased to have beeping trims again!

Thanks!

One thing to mention... on devo10, it drains batteries super quickly... the volt reading at the top-right actually goes gown 0.01V every 4 or 5 seconds!

Other than that, its great!

Many thanks!
-=S=-

Cheers!
-=S=-

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

More
28 Jan 2013 17:16 #5632 by PhracturedBlue
Replied by PhracturedBlue on topic Deviation 2.1.ea9ee2c4a03d (Devo7e Support)
This is normal for most battery types, but it should level out after dropping .1V or .2V (assuming your battery is charged). I'll reverify current usage with the latest builds, but typical consumption is < 150mA I believe which will last more than 10 hours on a 2000mAH battery pack.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum