- Posts: 3333
Need testers for USBcode
- vlad_vy
- Offline
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.
- vlad_vy
- Offline
- Posts: 3333
Walkera DEVO-12 Radio Controller == DEVO-12 == DV12
Walkera DEVO-08 Radio Controller == DEVO-8 === DV08
Walkera DEVO-06 Radio Controller == DEVO-6 === DV06
Walkera DEVO-10 Radio Controller == DEVO-10 == DV10
Walkera DEVO-07 Radio Controller == DEVO-7 === DV07
Walkera DEVO-7E Radio Controller == DEVO-7E == DV7E
Walkera DEVO-F7 Radio Controller == DEVO-F7 == DVF7
Walkera DEVO-F4 Radio Controller == DEVO-F4 == DVF4
Walkera DFPV-12 Radio Controller == DEVO-F12 == DF12
Walkera DFPV-7S Radio Controller == DEVO-F7S == DF7S
Walkera DEV-12E Radio Controller == DEVO-12E == D12E
Walkera FPV-12E Radio Controller == DEVO-F12E = D12E
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Can anybody confirm it?
Please Log in or Create an account to join the conversation.
- FDR
- Offline
BTW in case of the U7E, which has a filename of "deviation-devo7e-256-v5.0.0-be57e84.zip" the results would be "7e" and "256-v5.0.0-be57e84", which is not that good, I think...
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
Then if the fw size larger then the flash size, it should fail...
Please Log in or Create an account to join the conversation.
- Schugy
- Offline
- Posts: 37
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.
- Schugy
- Offline
- Posts: 37
Update: buildfs.py works faster.
But I guess devofs will never make it into the kernel tree or fuse. I added DSMX, J6Pro, PPM and USBHID protocol. Would be great to have language modules.
The good thing is it all worked with a free OS and DeviationUpload 0.8. Great stuff.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
vlad_vy wrote: At the moment I havn't idea what is wrong. All looks fine, except firmware flashing result for T8SG. With command line all looks similar for Devo8 and T8SG, but Devo8 firmware flashing result is OK, T8SG firmware flashing result = NOT OK.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
This is what I get for my Jumper T8SG:
STM32 DFU:
Product ID: 0xdf11
Vendor ID: 0x0483 (STMicroelectronics)
Version: 2.00
Serial Number: DEVO-7E 㐀げ仿⌵㜅Q
And this is the result for the Jumper T8SG V2 plus:
STM32 DFU:
Product ID: 0xdf11
Vendor ID: 0x0483 (STMicroelectronics)
Version: 2.00
Serial Number: DEVO-7E „ÄÄ·âç‰áøÌππ·Ä∏„åÖC
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
vlad_vy wrote: At the moment I havn't idea what is wrong. All looks fine, except firmware flashing result for T8SG. With command line all looks similar for Devo8 and T8SG, but Devo8 firmware flashing result is OK, T8SG firmware flashing result = NOT OK.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
The patched firmware for 256k wrongly reports Interface 0 as 1k, while it should be 2k (see devo8 output)
Device Interface Start End Size Count
Devo 7e
0 08003000 0803ffff 1024 244
1 00000000 0001ffff 4096 32
1 00020000 001fffff 65536 30
edit:
Indeed this was the problem! Overriding interface 0 in Transmitter.yml let me successfully flash the t8sg dfu file!
matchRules:
- "DEVO-7E.*"
- ".*devo7e.*"
- "7e"
- "t8sg"
- ".*t8sg.*"
overrideSectors:
- iface: 0
remove: true
add:
- start: 0x8003000
end: 0x803ffff
size: 0x800
count: 128
- iface: 2
remove: true
- iface: 1
remove: true
add:
- start: 0
end: 0x1FFFF
size: 0x1000
count: 32
- start: 0x20000
end: 0x1FFFFF
size: 0x10000
count: 30
Now we need to overwrite sectors for iface 0 when a firmware >128k in size is selected (devo256 or t8sg*) and maybe issue a warning to ask the user to verify (s)he is using a transmitter other than a regular devo7e.
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
I'll try to modify the uploader to read out the changed bootloader bytes to automatically switch to the 256 settings if applicable, as that would be the most foolproof. Haven't done any Java in 15 years, so please be patient
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
...
if (m.matches()) {
int count = Integer.parseInt(m.group(1));
int size = Integer.parseInt(m.group(2));
if (m.group(3).equals("K")) {
size = size * 1024;
} else if (m.group(3).equals("M")) {
size = size * 1024 * 1024;
}
if (count == 244) {
count = 122;
size = size * 2;
}
...
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.
- vlad_vy
- Offline
- Posts: 3333
Pull request placed.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Need testers for USBcode