Lumenier RB2205C-12 2400KV SKITZO Ceramic Bearing Motor
Thread Tools
Old Apr 08, 2012, 12:17 AM
NorCalMatCat is offline
Find More Posts by NorCalMatCat
FPV Electronics For Life!
NorCalMatCat's Avatar
Quote:
Originally Posted by PhracturedBlue View Post
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
Old Apr 08, 2012, 12:30 AM
PhracturedBlue is offline
Find More Posts by PhracturedBlue
Registered User
Quote:
Originally Posted by NorCalMatCat View Post
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.
Old Apr 08, 2012, 02:42 AM
rcH4x0r is online now
Find More Posts by rcH4x0r
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?
Old Apr 08, 2012, 06:20 AM
rcH4x0r is online now
Find More Posts by rcH4x0r
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 07:36 AM.
Old Apr 08, 2012, 08:44 AM
Micro Buzzer is offline
Find More Posts by Micro Buzzer
Registered User
Micro Buzzer's Avatar
Quote:
Originally Posted by NorCalMatCat View Post
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.
Old Apr 08, 2012, 09:35 AM
PhracturedBlue is offline
Find More Posts by PhracturedBlue
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 10:53 AM.
Old Apr 08, 2012, 11:15 AM
rcH4x0r is online now
Find More Posts by rcH4x0r
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
Old Apr 08, 2012, 11:19 AM
PhracturedBlue is offline
Find More Posts by PhracturedBlue
Registered User
Quote:
Originally Posted by rcH4x0r View Post
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.
Old Apr 08, 2012, 11:31 AM
FDR_ is online now
Find More Posts by FDR_
Registered User
@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...
Old Apr 08, 2012, 11:35 AM
PhracturedBlue is offline
Find More Posts by PhracturedBlue
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.
Old Apr 08, 2012, 11:39 AM
rcH4x0r is online now
Find More Posts by rcH4x0r
Registered User
Quote:
Originally Posted by FDR_ View Post
@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
Old Apr 08, 2012, 11:40 AM
rcH4x0r is online now
Find More Posts by rcH4x0r
Registered User
Quote:
Originally Posted by rcH4x0r View Post
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
Old Apr 08, 2012, 11:59 AM
FDR_ is online now
Find More Posts by FDR_
Registered User
Have you been thinking about the name of the custom firmware?

devOpen?
Old Apr 08, 2012, 12:02 PM
PhracturedBlue is offline
Find More Posts by PhracturedBlue
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
Old Apr 08, 2012, 12:15 PM
rcH4x0r is online now
Find More Posts by rcH4x0r
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 05: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 01:33 PM
For Sale Walkera Devo 7 TX/Devo RX2625H Combo for sale Tom Z Aircraft - Electric - Helis (FS/W) 0 Oct 05, 2011 12:38 PM
Discussion New Walkera Devention Devo 12 TX w/ Touch-Screen hobbypartz Radios 2 May 09, 2011 12:38 AM
Discussion New Walkera Devention Devo 12 TX w/ Touch-Screen hobbypartz XHeli 0 May 06, 2011 12:19 AM