|
|
|
|
|
|
|
|
Joined Jan 2012
674 Posts
|
The weird thing is that on bootup, the bootloader checks GPIOE.4 to determine whether to boot or enter programming mode. this pin goes high if either button is pressed, and I didn't see any other checks being done, yet the MCU won't enter programming mode. I must have missed something.
|
|
|
|
|
|
|
Joined May 2011
583 Posts
|
Does it look like this:
rc.fdr.hu/RDAT212.pdf |
|
|
|
|
||
|
Joined May 2011
583 Posts
|
Quote:
So it is the GPIOE.4 to watch, but the MCU should set an other output to H state before... |
|
|
||
|
|
||
|
Joined Jan 2012
674 Posts
|
Quote:
|
|
|
||
|
|
|
|
|
IF that is the amp then 100mw looks about the max...
|
|
Latest blog entry: Flying in the Neighborhood
|
|
|
|
|
|
Joined Jan 2012
674 Posts
|
Looking at the code, it looks like they probably used the ST Standard Peripheral Library or something similar. if we knew which compiler they used, we could probably generate fingerprints of the library and quickly identify the library functions with IDA.
I found the SPI reading/writing functions I think, and see where they call them for SPI2 (which should be the Tx module). using the 8-FWDT-0.7A: sub_80280c0: Write 1 byte of R0 to SPI2, Return Rx byte sub_802806c: Initialize SPI2??? |
|
|
|
|
||
|
|
Quote:
|
|
|
Latest blog entry: Flying in the Neighborhood
|
||
|
|
|
|
Joined Jan 2012
674 Posts
|
No. Just a way to filter out the library functions from things we need to try to understand. My expectation is that we'll eventually start working on a new firmware (either based on 9x firmware or from scratch), and we really don't need to know that much to do that. The main things we need are:
a) know how to display to the screen b) know how to receive input from the screen c) know how to interact with buttons and switches d) know how to interact with the joysticks e) know how to interact with the Tx module Ideally, we'll want to reverse the walkera protoco (probbal via SPI)l, but that isn't strictly necessary, since we could probably use their code as if it were a tx/rx library. To do all of the above, we only need: how to write a custom dfu (done?);how the various bits are connected to the MPU (in progress); a protocol to send to the CYRF6936 (not started), spec-sheets for all peripherals (available). |
|
|
|
|
||
|
|
Quote:
|
|
|
Latest blog entry: Flying in the Neighborhood
|
||
|
|
||
|
Joined Jan 2012
674 Posts
|
Quote:
http://www.st.com/internet/com/SOFTW...periph_lib.zip |
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| 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 |