- Posts: 521
TARANIX X9D: New hardware platform for Deviation?
- RandMental
- Topic Author
- Offline
If they see what Deviation ment for Devention sales they might even support the effort especially if we include/add their protocol.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
vlad_vy wrote: STMicro: 456RP B305 = LCD Chip ST456RP
Probably it can be EEPROM, marking is very similar (page 3)
www.farnell.com/datasheets/1642482.pdf
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I just checked in some initial code to support the X9D. The code is absolutely non-functional at the moment. Don't put it on your TX!
There are some major issues to resolve. For instance:
* libopencm3 doesn't have very good F2 support, and does not handle the adc, rtc, or timers above #8
* I haven't implemented the SD card support (so no filesystem)
* I haven't dealt with any protocol related code
* I haven't got most of the timers working (so no PPM)
* I haven't looked at the sound code
But I did port the LCD driver (only in 2-color mode), and implemented the button and switches.
I've also documented the majority of the STM32F2 I/O pins now.
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.
- RandMental
- Topic Author
- Offline
- Posts: 521
Do you intend a new set of Source code for the Taranis, or will it be another option in the makefile?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
make TARGET=x9d
It will build (but there is lots of stuff disabled, and it doesn't actually work). There is a bunch of work needed still, but most of it is just reading the STM32F2 documentation and writing low-level functions. Tedious but not difficult. The recent changes to the build system were all to enable building the x9d and to support the fact that the switches are named differently than the Devo radios.
Please Log in or Create an account to join the conversation.
- RandMental
- Topic Author
- Offline
- Posts: 521
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
While pixel-setting is working fine, the pixel buffer code (translating 128x64 into 212x64) isn't working as expected. I also need to solder a proper UART connector as I don't have the proper 4pin plug right now.
Once I've got the LCD fixed, the next step will be to get the Analog interface written. As I mentioned, there is quite a lot of work needed before the Tx has any functionality, but at least interfacing to the Tx is working.
It is so much nicer to work with a TX that is designed to be programmed for, rather than Walkera which threw a bunch of roadblocks in our way.
Please Log in or Create an account to join the conversation.
- SeByDocKy
- Offline
- Posts: 1016
PhracturedBlue wrote: So I haven't had much time lately, but I did a bit of work tonight. I can install a custom firmware easily, power on/off the tx, enable the backlight, draw to the LCD, and write to the USART, so really basic functionality is there.
While pixel-setting is working fine, the pixel buffer code (translating 128x64 into 212x64) isn't working as expected. I also need to solder a proper UART connector as I don't have the proper 4pin plug right now.
Once I've got the LCD fixed, the next step will be to get the Analog interface written. As I mentioned, there is quite a lot of work needed before the Tx has any functionality, but at least interfacing to the Tx is working.
It is so much nicer to work with a TX that is designed to be programmed for, rather than Walkera which threw a bunch of roadblocks in our way.
I am impressed by your retro-engenieering capacity ...
Please Log in or Create an account to join the conversation.
- Hexperience
- Offline
- Posts: 588
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.
- vlad_vy
- Offline
- Posts: 3333
"The gimbals have adjustable length and tension, and each of the vertical axes is fitted with a spring disable feature as well as a ratchet and brake. This means that there is no need to swap parts to change modes, and that if you want to you can have either both or none of the vertical axes spring-loaded."
code.google.com/p/opentx/wiki/OpenTx_FrSky_EN
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The processor is more powerful, it has SD Card support, it has a much better speaker (full audio as opposed to the buzzer in the Devo10), and the screen is larger and should be capable of 4-level greyscale (untested)
The Devo 10 has vibration, and most importantly a transmitter module capable of supporting Devo/WK/ and DSM2/X protocols without any hardware modification.
While the # of controls on the X9D is more similar to the Devo12 (basically the same, the Devo 12 has 2 more digital trims), the Devo12 has nicer sliders, a much better chassis, and a huge color LCD screen.
Frsky is promising to be able to upgrade the X9D hardware to a 'Plus' model including vibration, digital encoders, better sliders, etc.
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.
- Hexperience
- Offline
- Posts: 588
So I guess I'll have to order one. The gimbals on my devo12 are not very smooth and the placement of sticks in relation to switches feels a bit off.
Not to mention I have a couple hundred dollars worth of frsky receivers that I haven't used since I switched to devo...
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
- Offline
- Posts: 4402
That was more work than expected because the ADC and DMA controls are quite different than on the F1. Now I need to get either the eeprom or sd-card working so I can get a filesystem installed, then we should be ready to boot up Deviation,
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I have the filesystem working now off the SD Card (that was a real pain despite basically copying the Taranis code) whixh was the last big thing I needed to get Deviation up and going.
It is still really buggy. It reboots all the time, and drawing to the screen is really slow. I don't have any protocols supported, so it can't actually be used for anything. But there you have it. Deviation running on the Taranis X9D.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
In case anyone wants to try it (really not recommended yet, but you aren't likely to break anything):
1) make TARGET=x9d
2) take the sd-card out of the Tx and put it in a card-reaqder attached to the PC. Create a new top-level directory 'deviat.ion'. Copy filesystem/x9d/* to SDCARD:/deviat.ion/*. Put the sd-card back in the Tx
3) Download the STM32 dfuse tool from here:
code.google.com/p/vrbrain/downloads/deta...=um0412.zip&can=2&q=
4) Install. You can have it installed along with the Walkera dfuse tool, so no need to uninstall. however, this tool CANNOT be used to upgrade a Walkera Tx, and Walkera's can't be used to upgrade a Taranis. Run the 'Dfuse Demonstration' program.
5) With the Tx off, plug the usb cable into the tx and the PC. The PC should recognize the Tx, and you should see it listed in the 'Available DFU'
6) Upgrade->Choose->x9d.dfu (make sure to use the button in the 'Upgrade' section and NOT the 'Upload' section!)
7) Press Upgrade
8 ) Unplug the Tx from the USB. You cannot boot the Tx with it plugged into USB, it will always go into DFU mode!
9) Turn on the Tx
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- TARANIX X9D: New hardware platform for Deviation?