- Posts: 170
Can Any help me with my F7
- djtrance
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The arrow indicator that I use in the emu is not properly mapped in the F7. I'll fix that next
The listbox is not supported which is why you can't load any models. Generally there is a lot of work still to do to get the code working fully. Listboxes are next on my list though.
Don't get your hopes up too much though. As soon as I have the basic GUI code working, I'm going to switch my effort to the F12E.
FYI. I think I figured out why Walkera firmware can't write to your flash chip. the 64kB chip that comes with the F7 uses byte-accessible write (AAI) which is command 0xAF. But the 4MB flash you replaced it with uses word-accessible write (AAI) which is 0xAD. So Walkera can't write the the 4MB chip, and Deviation can't write to the 64kB chip (though we could fix that). I don't know if there are any flash memories that support both access methods (or at least a larger one that supports 0xAF)
Looks like the SST25VF020 (256kB) is available with the 0xAF AAI command (not to be confused with the SST25VF020B which uses 0xAD). It looks like there was an 040 and 080 (note these are not the 040B or 080B!) butthey aren't available any more. I didn't check as to whether the 040 is frequency compatible, just that the command-set was the same. So for the F7, the SST25VF020 is probably what I'd recommend in the future. 256kB is not a lot, but it should be enough for 26 protocols + other needed files + 10 or more models.
Maybe we could do even better if I worked to get 512byte sectors working which requires a virtual sector overlay.
or just live with a 'deviation only' F7
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
before to use deviation on my devo 10, I read how to go back to the original firmware. I don't know if we can put together in the same spi bus, two spi memory. in arduino we can do this, if the memory has not the same id, but this solution is more complicated.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I actually had another idea that is more outlandish.
you could use a bluetooth module to upload models (and even protocols) to the f7 from a smartphone. effectively use bluetooth as the filesystem. you'd need a bt module, but it would be easier to install than replacing the flash. or if it works, we could even use the bt module on the universaltx module for that.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
It also should properly give you the arrow characters instead of 'O'
I'll look at the listbox next
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
then after the reboot, send it to me along with the devof7.elf file (that is in the build directory) Make sure the devof7.elf came from the same build as your dfu
Also. I just added fixes for the load/save menu
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
save your devof7.elf file somewhere, then install 0af95bee8f97 (or earlier) so you can get tothe menu.
Since my f7 doesn't have the larger Flash, I can't duplicate the issue.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
here there are the files:
www.dropbox.com/sh/zhpon1wfr0u5ihe/AADmY...DY-7DeIoLX2uuga?dl=0
let me know if there are other thing that you need...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
install the busted dfu
hold 'ENT' while booting
wait for boot loop (keep holding 'ENT')
switch off tx (while still holding 'ENT')
once it is off, put the 'good' dfu back on and send me the errors.txt
That should get me a stack dump that has nothing to do with the protocol code (which is really hard to debug on the f7/7e)
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
You can see the file in the same folder, the name is error2.txt
I don't see differences on this files.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
now try removing all of the .mod files from your tx and try again.
if it reboots, you can just hold 'ENT' to get to the usb menu and grab the errors.txt (no need to put the 'good' dfu on
I will need your devof7.elf though since you need to rebuild with the latest code.
I do not need any of the files currently on the dropbox so you can remove/replace those.
I just pulled out my F7 and I can get to the USB page via 'ENT' so the issue isn't with the font mapping. that implies it may be the dialog box. After creating the errors.txt as above, you could try each revision in the commit history and find the last one that works for you.
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
same procedure if it fails.
the problem appears to be related to module loading and not to any changes I've made. Another thing you can do is to make sure you copy the latest mod files to the protocol dir every time you upgrade the dfu
lastly, you can edit target/devof7/target_defs.h and set:
#define HAS_MULTIMOD_SUPPORT 0
Please Log in or Create an account to join the conversation.
- djtrance
- Topic Author
- Offline
- Posts: 170
The problem es that I must change the protocol dir before to turn on the devo.
what I do?
1.- change the firmware.
2.- turn on the radio -> (the same problem)
3.- push the ENT -> (usb mode)
4.- I put the new protocol folder and restart.
5.- the radio can turn on.
Now I must go to sleep. I'm not sure but, I think that now I know how to do the bar for the trim
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The process is always:
upgrade dfu
power on with ENT pressed
copy filesystem
power off
power on as normal
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Can Any help me with my F7