Need testers for USBcode
- FDR
-
- Offline
Less
More
24 Nov 2017 08:59 #66123
by FDR
Replied by FDR on topic Need testers for USBcode
I think we should port it to the DeviationTX GitHub repo, and maintain the code there...
- Neuer_User
-
- Offline
Less
More
- Posts: 13
24 Nov 2017 10:56 #66125
by Neuer_User
Replied by Neuer_User on topic Need testers for USBcode
Looks like an easy change. I have, however, no experience with compiling java code (and not much with compiling anything else). Otherwise, I might have tried to do it myself.vlad_vy wrote: I think that anybody need to change "transmitters.yml" and rebuild Deviation Uploader to 0.9:
bitbucket.org/PhracturedBlue/deviation-u...68c4f69f8?at=default
Probably will be enough to change "matchRules":... name: Devo 7e id: DEVO-7E numChannels: 7 fsProtocols: ALL root: sectorOffset: 0 sectorCount: 512 fsType: FAT inverted: true matchRules: - "DEVO-7E.*" - ".*devo7e.*" - "7e" - "t8sg" ...
- Moeder
-
- Offline
Less
More
- Posts: 796
24 Nov 2017 19:44 #66134
by Moeder
Replied by Moeder on topic Need testers for USBcode
I guess it's time to move it to github and setup Travis
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
24 Nov 2017 19:54 #66137
by vlad_vy
Replied by vlad_vy on topic Need testers for USBcode
I can't get working version of Deviation Uploader with Windows environment. Maybe at first worth to test it locally?
- FDR
-
- Offline
24 Nov 2017 19:55 #66138
by FDR
Replied by FDR on topic Need testers for USBcode
Yep.
We only need to decide whether it should be a new repository or only a folder within deviation/utils....
We only need to decide whether it should be a new repository or only a folder within deviation/utils....
- Moeder
-
- Offline
Less
More
- Posts: 796
24 Nov 2017 20:24 #66142
by Moeder
Replied by Moeder on topic Need testers for USBcode
I vote for a separate repository.
- FDR
-
- Offline
24 Nov 2017 20:28 #66143
by FDR
Replied by FDR on topic Need testers for USBcode
That's what I was afraid of... 
What are the pros/cons?
What are the pros/cons?
- Moeder
-
- Offline
Less
More
- Posts: 796
25 Nov 2017 07:49 #66152
by Moeder
Replied by Moeder on topic Need testers for USBcode
Why afraid? We would have a clean repo with separate CI, separate issue tracking etc.
- FDR
-
- Offline
25 Nov 2017 12:24 #66160
by FDR
Replied by FDR on topic Need testers for USBcode
Here you are:
github.com/DeviationTX/deviation-upload
github.com/DeviationTX/deviation-upload
- Moeder
-
- Offline
Less
More
- Posts: 796
25 Nov 2017 16:11 #66162
by Moeder
Replied by Moeder on topic Need testers for USBcode
I added a pull request for CI using travis. The current codebase compiles fine and jar runs for me on Debian 8.6 and macOS 10.12. Remember to install JDK 8 for working with the code. Compile usingin the base directory
mvn package- FDR
-
- Offline
25 Nov 2017 19:26 #66164
by FDR
Replied by FDR on topic Need testers for USBcode
I've added the T8SG to the 7E, but I'm not sure if it wouldn't be better to have a separate TX definition...
- Deal57
-
- Offline
Less
More
- Posts: 857
26 Nov 2017 02:54 - 26 Nov 2017 04:29 #66170
by Deal57
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Replied by Deal57 on topic Need testers for USBcode
I also recall a problem with the Devo 12e with the uploader. The transmitter fails to be recognized, and I think it is because the script is thinking it is a 12s. My computer is down so I can't get to my notes
but I'd appreciate it if someone could look at this.
This is discussed in more detail in this thread.
Thank you!
This is discussed in more detail in this thread.
Thank you!
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Last edit: 26 Nov 2017 04:29 by Deal57.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
26 Nov 2017 07:54 - 26 Nov 2017 07:58 #66173
by vlad_vy
Replied by vlad_vy on topic Need testers for USBcode
Can you attach test build with change for T8SG? My Windows build jar can't communicate with Tx, but "DeviationUpload-0.8.0.jar" can.
Last edit: 26 Nov 2017 07:58 by vlad_vy.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
26 Nov 2017 08:12 #66174
by vlad_vy
Replied by vlad_vy on topic Need testers for USBcode
I'm looking into DevoDetect.java and I think that change will not work, all patterns contain DEVO:
public boolean Analyze(String id) {
//init();
Type thisType = Type.UNKNOWN;
Matcher m;
int idx;
if ((idx = id.lastIndexOf("/")) > -1) {
id = id.substring(idx+1);
}
if ((m = Pattern.compile("devo([^-]+)-(\\S+) Firmware").matcher(id)).matches()) {
firmware = Firmware.DEVIATION;
version = m.group(2);
model = TxInfo.getModelFromString(m.group(1));
thisType = Type.FIRMWARE;
} else if ((m = Pattern.compile("devo([^-]+)-(\\S+) Library").matcher(id)).matches()) {
firmware = Firmware.DEVIATION;
version = m.group(2);
model = TxInfo.getModelFromString(m.group(1));
thisType = Type.LIBRARY;
} else if ((m = Pattern.compile("deviation-devo([^-]+)-(\\S+)\\.zip").matcher(id)).matches()) {
firmware = Firmware.DEVIATION;
version = m.group(2);
model = TxInfo.getModelFromString(m.group(1));
thisType = Type.FIRMWARE;
} else if ((m = Pattern.compile("deviation-fs-devo([^-]+)-(\\S+)\\.zip").matcher(id)).matches()) {
firmware = Firmware.DEVIATION;
version = m.group(2);
model = TxInfo.getModelFromString(m.group(1));
thisType = Type.LIBRARY;
} else if ((m = Pattern.compile("DEVO-([^-]+) FW\\S* (\\S+)", Pattern.CASE_INSENSITIVE).matcher(id)).matches()) {
firmware = Firmware.WALKERA;
version = m.group(2);
model = TxInfo.getModelFromString(m.group(1));
thisType = Type.FIRMWARE;
} else if ((m = Pattern.compile("DEVO-([^-]+) Lib\\S* (\\S+)", Pattern.CASE_INSENSITIVE).matcher(id)).matches()) {
firmware = Firmware.WALKERA;
version = m.group(2);
model = TxInfo.getModelFromString(m.group(1));
thisType = Type.LIBRARY;
}
if (thisType != Type.UNKNOWN) {
addRemoveType(thisType, true);
}
return (firmware == Firmware.UNKNOWN) ? false : true;
}
- FDR
-
- Offline
26 Nov 2017 09:29 #66176
by FDR
Replied by FDR on topic Need testers for USBcode
Yep, it looks like we will need some more measures...
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
26 Nov 2017 09:49 - 27 Nov 2017 05:23 #66178
by vlad_vy
Replied by vlad_vy on topic Need testers for USBcode
And, I don't see parsing for DevoF4, DevoF4-XMS, DevoF7-XMS, Devo F12E-XMS.
Last edit: 27 Nov 2017 05:23 by vlad_vy.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
27 Nov 2017 06:07 #66193
by vlad_vy
Replied by vlad_vy on topic Need testers for USBcode
I placed the pull request to add T8SG and Devo F4. Will be nice if anybody can build it with Linux environment and attach here for testing.
- Moeder
-
- Offline
Less
More
- Posts: 796
27 Nov 2017 14:21 #66200
by Moeder
Replied by Moeder on topic Need testers for USBcode
I compiled from the branch in your repo and uploaded deviationUploader with dependencies to the following link (file size 4.4 MB, too much for attachment):
WeTransfer
WeTransfer
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
27 Nov 2017 15:13 - 27 Nov 2017 15:54 #66203
by vlad_vy
Replied by vlad_vy on topic Need testers for USBcode
Something wrong with USB communication.
The GUI interface working normally with T8SG firmware files, both *.zip and *.dfu. But, after flashing firmware and final OK, I get black screen.
New DeviationUpload (with option -list) can't get info from T8SG, old "DeviationUpload-0.8.0.jar" can detect it as "DEVO7e".
New DeviationUpload can't get info from Devo8 also, old "DeviationUpload-0.8.0.jar" can detect it as "DEVO8".
So, the USB communication problem is not related to Windows build. JDK version?
The GUI interface working normally with T8SG firmware files, both *.zip and *.dfu. But, after flashing firmware and final OK, I get black screen.
New DeviationUpload (with option -list) can't get info from T8SG, old "DeviationUpload-0.8.0.jar" can detect it as "DEVO7e".
New DeviationUpload can't get info from Devo8 also, old "DeviationUpload-0.8.0.jar" can detect it as "DEVO8".
So, the USB communication problem is not related to Windows build. JDK version?
Last edit: 27 Nov 2017 15:54 by vlad_vy.
- Moeder
-
- Offline
Less
More
- Posts: 796
27 Nov 2017 15:51 #66204
by Moeder
Replied by Moeder on topic Need testers for USBcode
Hmm.. Looking at the bitbucket repository there have been a few changes after the date the version on this homepage was updated. Maybe get the old sources from
bitbucket.org/PhracturedBlue/deviation-u...ed7f4ddd1524e52f5c39
and try with those? Didn't look into the details...
Time to create page: 0.232 seconds
-
Home
-
Forum
-
Development
-
Development
- Need testers for USBcode