- Posts: 3333
Need testers for USBcode
- vlad_vy
- Offline
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
WeTransfer
edit: if it works, it's likely that the first commit after 0.8.0 introduced the bug
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
d:\4>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:@Internal Flash :@SPI Flash: Config:@SPI Flash: Library'
Determining device status: statue=dfuERROR status=10
dfuERROR, clearing status
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Setting address pointer to 0x8000400
Poll timeout 104 ms
bytes_per_hash=1024
Starting device read
Device Interface Start End Size Count
DEVO8
0 08004000 0803ffff 2048 120
1 00002000 0000dfff 4096 12
2 00010000 003fffff 65536 63
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Just change jdk version in pom.xml to 1.8 (twice) in this section:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
d:\4>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:Unknown:Unknown:Unknown'
Determining device status: statue=dfuERROR status=14
dfuERROR, clearing status
error clear_status
Determining device status: statue=dfuERROR status=14
dfuERROR, clearing status
error clear_status
Setting address pointer to 0x8000400
dfuseDownload: libusb_control_msg returned -5
Error during special command download
Exception in thread "main" java.lang.NullPointerException
at java.util.Arrays.copyOfRange(Unknown Source)
at deviation.TxInfo.<init>(TxInfo.java:24)
at deviation.TxInfo.getTxInfo(TxInfo.java:83)
at deviation.DeviationUploader.main(DeviationUploader.java:457)
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
d:\deviation-upload\target>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:Unknown:Unknown:Unknown'
Determining device status: statue=dfuERROR status=14
dfuERROR, clearing status
error clear_status
Determining device status: statue=dfuERROR status=14
dfuERROR, clearing status
error clear_status
Setting address pointer to 0x8000400
dfuseDownload: libusb_control_msg returned -5
Error during special command download
Exception in thread "main" java.lang.NullPointerException
at java.util.Arrays.copyOfRange(Unknown Source)
at deviation.TxInfo.<init>(TxInfo.java:24)
at deviation.TxInfo.getTxInfo(TxInfo.java:83)
at deviation.DeviationUploader.main(DeviationUploader.java:457)
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
vlad_vy wrote: No, my compiled version This one doesn't work:
That is odd... Are you sure you checked it out correctly and did a clean build?
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Edit: could you send me your 0. 8. 0 build jar file for comparison?
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
c:\deviation-upload\target>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:@Internal Flash :@SPI Flash: Config:@SPI Flash: Library'
Determining device status: statue=dfuUPLOAD-IDLE status=0
aborting previous incomplete transfer
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Setting address pointer to 0x8000400
Poll timeout 104 ms
bytes_per_hash=1024
Starting device read
Device Interface Start End Size Count
DEVO8
0 08004000 0803ffff 2048 120
1 00002000 0000dfff 4096 12
2 00010000 003fffff 65536 63
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Would you mind testing the version linked below compiled on macOS 10.12.6?
WeTransfer
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
With current code I get errors:
c:\deviation-upload\target>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:@Internal Flash :@SPI Flash: Config:@SPI Flash: Library'
Determining device status: statue=dfuERROR status=10
dfuERROR, clearing status
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Setting address pointer to 0x8000400
Poll timeout 104 ms
bytes_per_hash=1024
Starting device read
Exception in thread "main" java.lang.NullPointerException
at deviation.TxInfo.<init>(TxInfo.java:27)
at deviation.TxInfo.getTxInfo(TxInfo.java:83)
at deviation.DeviationUploader.main(DeviationUploader.java:457)
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I didn't check if it happened or not, but judging from the "null pointer exception" rather not...
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
c:\deviation-upload\target>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:@Internal Flash :@SPI Flash: Config:@SPI Flash: Library'
Determining device status: statue=dfuERROR status=10
dfuERROR, clearing status
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Setting address pointer to 0x8000400
Poll timeout 104 ms
bytes_per_hash=1024
Starting device read
Device Interface Start End Size Count
Devo 8
0 08004000 0803ffff 2048 120
1 00002000 0000dfff 4096 12
2 00010000 003fffff 65536 63
c:\deviation-upload\target>java -jar DeviationUpload-0.8.0-jar-with-dependencies.jar -list
Found: Runtime [00483:df11] cfg=0, intf=0, alt=0, name='1155:57105:@Internal Flash :@SPI Flash: Config:@SPI Flash: Library'
Determining device status: statue=dfuERROR status=10
dfuERROR, clearing status
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Determining device status: statue=dfuIDLE status=0
dfuIDLE, continuing
Setting address pointer to 0x8000400
Poll timeout 104 ms
bytes_per_hash=1024
Starting device read
Device Interface Start End Size Count
Devo 7e
0 08003000 0803ffff 1024 244
1 00000000 0001ffff 4096 32
1 00020000 001fffff 65536 30
I can successfully flash Devo8, but T8SG get black screen after flashing.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
If I flash firmware DFU with Dfuse all OK again.
DeviationUploader.java
public static void main(String[] args)
{
if (args.length == 0) {
//DnDFrame.main(null);
DeviationUploadGUI.main(null);
while(true) {}
}
TransmitterList.init();
CommandLine cl = handleCmdline(args);
...
...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Need testers for USBcode