Thread Tools
Apr 07, 2012, 11:17 PM
FPV Electronics For Life!
NorCalMatCat's Avatar
Quote:
Originally Posted by PhracturedBlue
I'd also recommend reading through the ST Peripheral Library documentation and looking at the examples. That is almost certainly the easiest way to get up and running quickly.
http://www.st.com/internet/com/SOFTW...periph_lib.zip
Do you know of any emulator that would make it possible for me to experiment?
Sign up now
to remove ads between posts
Apr 07, 2012, 11:30 PM
Registered User
Quote:
Originally Posted by NorCalMatCat
Do you know of any emulator that would make it possible for me to experiment?
I went looking but there really isn't much out there. You can theoretically use qemu to emulate a cortex-m, but I'm not sure of any interface that exposes the proper I/O for an STM32. Otherwise, IAR has one, but they are $$$, and I haven't used it and have no idea how good it is.

If you are familiar with running code through a debugger (gdb, MSVC, etc), the best option will likely be to get an ST-Link/V2, and use it with the DEVO-8. We don't actually have the ST-Link working yet, but once we do, it should be safe to use it, and then restore your Tx to the stock firmware by reflashing it. It should be possible to work just as if you were running code for your PC through a debugger. I'm not yet sure what systems support communication via SWD, but we should know soon enough.
Apr 08, 2012, 01:42 AM
Registered User
GPIOB 5: TSC2008 Pin 15 Pen/Irq

The TSC is on the same SPI bus as the SPI-Flash, CS on GPIOB.0 (pin 35)

GPIOB.1 (pin 36) is driving some kind of switch cct, maybe backlight control?
Apr 08, 2012, 05:20 AM
Registered User
The push buttons and digital trims are arranged in a matrix, details here:

http://rch4x0r.com/Devo8HW.html

GPIOB 11: TxModule pin 10 CYRF6936 Reset
Last edited by rcH4x0r; Apr 08, 2012 at 06:36 AM.
Apr 08, 2012, 07:44 AM
Registered User
Micro Buzzer's Avatar
Quote:
Originally Posted by NorCalMatCat
Well I am going to start looking over the 9x firmware code, and see what I can learn and gleam from it to prepare for the Devo version... I am going to keep my eyes open as you guys figure out the hardware, though a lot of it is greek to me
ERSKY9X, this is a port in process of ER9X to a new board with an ARM chip, I don't know if this would be a help to look at as well.
Apr 08, 2012, 08:35 AM
Registered User
I've updated my pin out table above with all of rcH4x0r's stuff.

Edit: I think I'm about done with the pinout table. I have connections for all of the physical hardware I'm aware of. Just need to figure out how the LCD Module pins are connected and we should have it all.
Last edited by PhracturedBlue; Apr 08, 2012 at 09:53 AM.
Apr 08, 2012, 10:15 AM
Registered User
GPIOD:
0: TSC2008 Pin?
1: TSC2008 Pin?
4: TSC2008 Pin?
5: TSC2008 Pin?
7: TSC2008 Pin?

These go to the LCD module too, the TSC has 3 wire SPI (CS tied low) and Pen/Irq connections to the MCU
Apr 08, 2012, 10:19 AM
Registered User
Quote:
Originally Posted by rcH4x0r
GPIOD:
0: TSC2008 Pin?
1: TSC2008 Pin?
4: TSC2008 Pin?
5: TSC2008 Pin?
7: TSC2008 Pin?

These go to the LCD module too, the TSC has 3 wire SPI (CS tied low) and Pen/Irq connections to the MCU
Thanks. Since I haven't taken my board apart, I couldn't tell which pins went where, as lots of the wiring happens on the other side of the LCD module.
Apr 08, 2012, 10:31 AM
Registered User
FDR_'s Avatar
@rcH4x0r

In which stick mode the joysticks are referenced?
For example in mode 2 throttle is the left vertical stick, but in mode 1 it is the right side one...
Apr 08, 2012, 10:35 AM
Registered User
The LCD module must have a driver. Maybe something like the SSD1289. Is the TFT directly attached to the back of the LCD module?
Edit: Or I guess it could use FSMC? But I'm not sure there are enough pins going to the module for that.
Apr 08, 2012, 10:39 AM
Registered User
Quote:
Originally Posted by FDR_
@rcH4x0r

In which stick mode the joysticks are referenced?
For example in mode 2 throttle is the left vertical stick, but in mode 1 it is the right side one...
Throttle on the right, this matches the silkscreen on the PCB
Apr 08, 2012, 10:40 AM
Registered User
Quote:
Originally Posted by rcH4x0r
LCD is a RDT028C0SP00 but I cant find much data
That's the part number on the back of the LCD, for sure there's a controller integrated into the LCD but I have no clue which one
Apr 08, 2012, 10:59 AM
Registered User
FDR_'s Avatar
Have you been thinking about the name of the custom firmware?

devOpen?
Apr 08, 2012, 11:02 AM
Registered User
The LCD Module seems to have:
13 of 16 pins on the left in use
13 of 16 on the right in use

So that is 26 pins.
5 go to the TSC2008
Pwr And Ground
TFT Backlight?
which leaves 18 pins to drive the LCD? That could be 16 bits of FSMC + HSYNC + VSYNC. If I counted wrong, and DCLK is also in there, then that probably is how the connected it, as it would be the cheapest solution.
Maybe something like this:
http://www.st.com/internet/com/TECHN...CD00278141.pdf
Apr 08, 2012, 11:15 AM
Registered User
Urgh, Walkera have put crypto on their protocol, I think the "bind" packets (sent at power on) are in clear but the rest are encrypted. Found 4 packet types so far...


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Wanted Broken Walkera Devo and Spektrum tx itsmillertime Aircraft - General - Radio Equipment (FS/W) 1 Mar 20, 2012 04:37 AM
For Sale Walkera Devo 7 TX/Devo RX2625H Combo for sale Tom Z Aircraft - General - Radio Equipment (FS/W) 0 Oct 06, 2011 12:33 PM
For Sale Walkera Devo 7 TX/Devo RX2625H Combo for sale Tom Z Aircraft - Electric - Helis (FS/W) 0 Oct 05, 2011 11:38 AM
Discussion New Walkera Devention Devo 12 TX w/ Touch-Screen hobbypartz Radios 2 May 08, 2011 11:38 PM
Discussion New Walkera Devention Devo 12 TX w/ Touch-Screen hobbypartz XHeli 0 May 05, 2011 11:19 PM