Devo f7 for DelFly

More
28 Oct 2013 15:14 #15078 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
I'm not really much help to you with code but can say when you don't have serial flash connected code will still show flash drive in windows, asking to format it.

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

More
28 Oct 2013 18:23 #15085 by djtrance
Replied by djtrance on topic Devo f7 for DelFly
Hi, I have devo F7, and I'm so anxious, I hope that the devention can work on my devo. If you need some help, maybe I can help you with this work, maybe I can help you with the OSD.

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

More
29 Oct 2013 10:20 #15116 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Tnx! Yes it shows the usb drive and asks to format it. But it can't format the drive, so I'm not able to upload the config files to the transmitter. Without the config files allmost nothing of the transmitter works.

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

More
29 Oct 2013 10:26 #15117 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
Not sure how far you want to go with flash but 2 meg are very cheap. Still 512k your going to have to be creative :-) 'Microchip' do sample 32meg. I can mount one to make sure they work if your interested ?

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

More
29 Oct 2013 10:45 #15119 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
That's a good idea :) If you could test it that would be nice!
I already removed a resistor inside the 5.8GHz receiver to receive the correct band, so changing the flash wouldn't be a problem if it works.

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

More
29 Oct 2013 12:39 #15126 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
Had a thought if you post a complied HEX with pins used i can try code my end ?

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

More
04 Nov 2013 14:48 #15330 by djtrance
Replied by djtrance on topic Devo f7 for DelFly
How I can help you with this port to the deviation to F7?

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

More
10 Dec 2013 17:06 - 10 Dec 2013 17:06 #16485 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Sorry for the late response, but my devo F7 was broken and needed to replace the STM. It is now working again, and also replaced the flash memory(4MB now).

I don't have the devo F7 bootloader yet, so I'm not capable of flashing the device with DFU. I'm now flashing with SWD, so in my repository this is changed. So make sure you change it back to DFU before flashing(else you will also lose your bootloader).
Btw. if anyone could get the original bootloader out of the device that would be nice ;)

To try and see my work in progress:
github.com/tudelft/deviation

This is what currently is working:
- Capable of setting up the USB
- All normal system functions seem to work, like battery warning etc.
- Made some basic LCD functionality to write text at a certain position.
- Made the flash screen, the USB screen and also a part of the main screen.
- Also made a part of the menu by showing the menu title.

What needs to be done:
- Getting the rest of the menu to work
- Finish the rest of the character map
- Maybe replacing some of the characters would be nice (don't need chinese characters)
- Finding out how to make some special text (like big font etc.)
- Maybe get rid of some of the unneeded GUI structure, but I'm not that into deviation so I'm not sure how to implement this the best way.
......
Last edit: 10 Dec 2013 17:06 by Microuav.

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

More
10 Dec 2013 17:30 #16487 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
This loader www.deviationtx.com/forum/7-development/...fully?start=20#16254 does work for devo 7e and is windows based, sorry.

try the pre-compiled bins and if it works as is you maybe lucky...

Nice job :)

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

More
10 Dec 2013 17:42 #16489 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
I'm working on linux, so for now I will be using SWD. It is also much faster, so easier for debugging.
But yeah if I want the original firmware back, I really need the original bootloader or a similar one with the same encoding. So that's why I want the original bootloader. I can maybe lent another devo F7 and extract it from that one, but if someone else has it already or could extract it for me that would be nice!

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

More
10 Dec 2013 18:17 #16492 by FDR
Replied by FDR on topic Devo f7 for DelFly
You can't read the bootloader, because the controller is read protected, but you can write a small program, which copies it to the flash, and then read that with the STM (or Walkera) DfuSe util...

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

More
10 Dec 2013 18:29 #16495 by PhracturedBlue
Replied by PhracturedBlue on topic Devo f7 for DelFly
yes, except he wiped the bootloader when he replaced the MCU. Even still, getting the bootloader shouldn't be an issue.

Did you replace the MCU with the same one that was there? Or did you use one of the larger ones with more ROM?

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

More
10 Dec 2013 19:03 #16500 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
I didn't replace the MCU with a better one, but can maybe do that later if it is really needed.
I think the biggest problem was the flash, so I fixed that part.

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

More
10 Dec 2013 19:31 #16502 by SadSack
Replied by SadSack on topic Devo f7 for DelFly
I was suggesting if you load bootloader and it shows its self on your system you could maybe use the devo7e loader ?? Just a thought.

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

More
10 Dec 2013 20:19 #16505 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
I think the devo7e bootloader won't work, because it always show something on the screen. Since they have a different screen, with different drivers that won't work ;)

But yeah maybe it works without screen, that's possible.

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

More
12 Dec 2013 14:17 #16542 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
I now got the basic menu to work! :) It is looking pretty good, you can browse through it etc. I already fixed the Channel Test page, so that one is also correct now. But I don't know if I'm missing something, because I don't know the original menu structure etc. So if someone can place a video or something like that online on how the normal menu of Deviation on a black/white screen works.

Now need to look into some more of the other GUI parts, then just plain text. Already showing the selected menu item with blinking text(works pretty good). But now I wanna make the transmitter config menu, because then I can easily configure some parts.

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

More
12 Dec 2013 14:33 #16543 by FDR
Replied by FDR on topic Devo f7 for DelFly

Microuav wrote: So if someone can place a video or something like that online on how the normal menu of Deviation on a black/white screen works.


Why don't you just try the DEVO 10 emulator?

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

More
12 Dec 2013 15:20 #16544 by PhracturedBlue
Replied by PhracturedBlue on topic Devo f7 for DelFly
Also, can you put your code online? I have a F7, and I can help test. I can also help you getan emulator working. It is much easier to program for the emulator once you have the basic lcd driver working on the Tx.

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

More
12 Dec 2013 15:23 #16545 by Microuav
Replied by Microuav on topic Devo f7 for DelFly
Yes I already placed the source code online ;)
github.com/tudelft/deviation (I prefer git so that's why I changed it, sorry)

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

More
12 Dec 2013 15:23 #16546 by FDR
Replied by FDR on topic Devo f7 for DelFly
PB, could you help him with the bootloader perhaps, so he could make and use a standard deviation dfu?

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

Time to create page: 0.072 seconds
Powered by Kunena Forum