- Posts: 4402
Devo7e work
- PhracturedBlue
- Topic Author
- Offline
I've already removed support for languages and for the simplified mixer. Even so, the build is still 28kB too big to fit into the memory available.
I've looked at various options, and the most likely to succeed would be to do a lot of optimization of the Devo10 GUI. This will not be an easy project, and 28kB is a lot of space to recover.
An alternative would be to remove filesystem support, which would probably do it, but that would basically cripple the whole premise of Deviation, and is not something I really want to contemplate.
Latest experimental build: 2013-01-22
You do not need to do anything with the included debug zip file. It is only needed should you need to report bugs to me
To install, install the dfu, install the filesystem, then copy the 'protocol' directory to the Tx.
When upgrading you must always install the dfu, then copy the corresponding files from the protocol dir
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
With the optimized printf routines, I'm within 8kB of being able to fit in the needed memory.
If I remove support for ini handling, I can then actually get into the needed footprint with room to spare (which we'll need).
There are a couple of downsides of course:
1) you won't be able to load ini files from the forums onto the devo7e without converting them
2) model files won't be compatible between firmware upgrades (it may be possible to do something about that)
3) model files won't be human readable
If I take this path, I'll provide a utility to convert between the binary format and ini format.
Note, all I've done so far is to strip down the Devo10 firmware to be able to fit in the Devo7E available memory. I have not actually loaded firmware onto the Devo7e, and have no idea yet what the effort will be to make it actually work.
Please Log in or Create an account to join the conversation.
- RugWarrior
- Offline
- Posts: 59
But hopefully many out there can enjoy a new feeling of owning a Devo 7E.
I was so happy the first time I powered on my optimized Devo 8S...
No comparison to the original firmware
Happy new year for you!
Please Log in or Create an account to join the conversation.
- Hexperience
- Offline
- Posts: 588
Was the Devo12 a different architecture, or had no usb? There was something that made it not worth doing?
I would LOVE to have that radio with deViation on it.
There are 10 types of people in this world. Those that understand binary and those that don't.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Now that I have a 12 in my possession, I'm sure it is just a matter of time till I start work on it.
But this thread is for the 7e
Please Log in or Create an account to join the conversation.
- othercents
- Offline
- Posts: 2
Could you run a USB boot loader to run or load the configs and such from the USB port?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
I can power on/off with the power switch, and read/write to the SPI Flash, CYRF chip, and UART, so things are going well. I'm currently working on the display which seems to be based on the sT7595 protocol (though I see an additional command in the initialization that I don't know: command = 0xea), so I'll likely have the display operational soon. after that, it is just a question of mapping the sticks and buttons, and I should have an initial functional firmware.
Moving USB support into the bootloader may be an option, but I don't think it will gain enough to add ini support which is very expensive. I'd rather not have to write a custom bootloader if I can help it though.
Please Log in or Create an account to join the conversation.
- Tom_ate
- Offline
- Posts: 15
If I remove support for ini handling, I can then actually get into the needed footprint with room to spare (which we'll need).
There are a couple of downsides of course:
1) you won't be able to load ini files from the forums onto the devo7e without converting them
2) model files won't be compatible between firmware upgrades (it may be possible to do something about that)
3) model files won't be human readable
If I take this path, I'll provide a utility to convert between the binary format and ini format.
Given that you can provide the converting-utility, for me this would be a very good option:
Reg. your downside 1):
To load ini files from the forum the PC must be up and running anyway, so using your utility for converting would be no problem or hurdle.
Reg. your downside 2):
same thing: To upgrade the firmware you need a PC. So you would have to
- extract the configs from the TX,
-than convert them to textfiles,
-then upgrade the TX,
- then reconvert the textfiles with an also upgraded converter back to a binary format for the new firmware-version
- than upload them to the TX
I see no problem in this procedere.
Reg. your downside 3):
... with the utility they would be...
I would upgrade my daughters Devo7E immediately to DeViation - without one second of doubt about the "one-way" with no possibility to go back to Devo-Original. DeViation is sooo much better!
Kind regards,
Matthias
Please Log in or Create an account to join the conversation.
- othercents
- Offline
- Posts: 2
I haven't looked at the size of the protocols, but I would suspect some people who use the 7E wouldn't mind a Walkera only flash if that would save more space. Even a modular flash option where you can add in the protocols you need and leave out the ones you don't. For me anything past the Walkera line of Helis I would probably want to upgrade to a 10 or 8S, other than being able to fly my v911 with the same Tx.
Hopefully I can get one of these in hand soon and help out instead of bombarding you with questions.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
The 7e has 2MB of external Flash (half that of the devo8/10). The Devo10 filesystem takes up about 500kB (and that includes language support which we may need to remove). That leaves 1.5MB for model data. Each model is 4kB. So...around 375 models. We're actually limited in the firmware to < 256 at the moment, but I don't think you'll be running out of models anytime soon.
Please Log in or Create an account to join the conversation.
- Fishfiend
- Offline
- Posts: 27
Please Log in or Create an account to join the conversation.
- dc59
- Offline
- Posts: 799
Please Log in or Create an account to join the conversation.
- Tom_ate
- Offline
- Posts: 15
Kind regards,
Matthias
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Today, I finally figured out that the cause was a change introduced in September to support a newer libopencm3, which could cause this to happen under very specific circumstances.
Fixing it in a way that can support old and new libopencm3 is not really reliable, so instead I'll be updating to the latest libopencm3, and that will be required going forward.
But hopefully this will let me move forward with the actual Devo7e work instead of fighting random hangs.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Does that mean, that everybody will have to upgrade the development environment?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
So no, you won't need to update your build env.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- quique65
- Offline
- Posts: 45
PhracturedBlue wrote: Well, now that I found the bug in the linker script, I made good progress. I've gotten virtually all of the I/O mapped now, and the screen is working. I'm about ready to start putting everything together and actually building a working firmware. Hopefully some time this weekend.
Excellent!, waiting to fly with the 7E on Sunday...
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Topic Author
- Offline
- Posts: 4402
www.deviationtx.com/articles/18-devo-7e-hardware-connections
Please Log in or Create an account to join the conversation.
- domcars0
- Offline
- Posts: 390
small mistake you wrote
"The following documents the hardware inside the Devo-10 transmitter"
I think is Devo-7e ?
Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Devo7e work