|
|
|
|
|
|
||
|
Joined Dec 2006
1,186 Posts
|
these are my pin mappings (with lots of useful info from johnrb):
Code:
OrangeRx Stabilizer RX3S V2 PB0 8 AIL_IN PC0 14/A0 DELTA_SW PD0 0 AUX_SW (RXD) PB1 9 ELE_IN (PWM) PC1 15/A1 AIL_GAIN PD1 1 AIL_SW (TXD) PB2 10 RUD_IN (PWM) PC2 16/A2 ELE_GAIN PD2 2 ELE_SW PB3 11 AUX_IN (MOSI/PWM) PC3 17/A3 RUD_GAIN PD3 3 RUD_SW (PWM) PB4 12 VTAIL_SW (MISO) PC4 18/A4 (SDA) PD4 4 AILL_OUT PB5 13 LED (SCK) PC5 19/A5 (SCL) PD5 5 ELE_OUT (PWM) PB6 14 (XTAL1) PC6 (RESET) PD6 6 RUD_OUT (PWM) PB7 15 (XTAL2) PD7 7 AILR_OUT the serial port is exposed, which is nice, but the chip probably does not have a bootloader. in any case, it's running at 3.3v so remember to reconfigure your usb-serial board for 3.3 operation if you want use the serial port.. Quote:
|
|
|
||
|
|
|
|
Joined Dec 2006
1,186 Posts
|
an update.
1. i've merged the dev branch back to the master. tested on an RX3S V1 board: - single aileron mode - delta mode (leave TX in normal mode, RX3S will do the needed mixing) - vtail mode (leave TX in normal mode, RX3S will do the needed mixing) - dual aileron mode - remote gain via aux channel - vr pots for correction gain and direction looking for early testers who have the v1 device and are familiar with programming atmega devices (note 3.3V!). the firmware link is at: https://github.com/noobee/FlightStab...1_20130108.hex also, note that flashing is irreversible, you cannot restore the HK firmware after that. my source code is available for anyone to download and build. i'll prepare a wiring diagram for the v1 device (probably need to clean up the docs too). 2. i also have the v2 code running, but i can't seem to build a programming adapter for the board that is reliable. the one time that i could access the board, it looked like the ISP programmer could access the fuse bits, so it's a sign that HK did not lock out the chip (whew!). so i still need to test the code on an actual v2 device before publishing it.. |
|
|
|
|
florida
Joined Nov 2002
161 Posts
|
It may be a little early but how do you get the burner software to get the hex file , it looks for a hex file.The link is to an HTML not to the actual file itself ? When I burned the Turnigy 9x the eepe burner software used a separate hex file.
|
|
|
|
|
Joined Dec 2006
1,186 Posts
|
we cannot save the original firmware because HK has set the lock bits on the chip, which prevents the programmer from reading the flash.
the only option is to fully erase the flash/eeprom, reset the lock bits, and flash new firmware. subsequently, because the lock bits are now cleared, we can reflash the chip again (without a full chip erase). there is a caveat about using a 5v programmer. be careful not to power the vcc line with 5v since the itg3205 gyro chip should not tolerate 5v to it's vcc (shared with the atmel). i had a picture earlier that shows how you could disconnect the vcc line from the isp programmer and power the board via the rx/esc. however, i have not tried that method before, so i would defer to other opinions if this is recommended. i use (would suggest getting) an isp programmer that is capable of 5v or 3.3v. straightforward into the isp port of the rx3s v1. |
|
|
|
|
|
|
Joined Dec 2006
1,186 Posts
|
ah, thanks for noticing. this link should lead to the raw file:
https://github.com/noobee/FlightStab...1_20130108.hex right click and "save link as" into a file.. (i'll update my earlier post). thanks. |
|
|
|
|
||
|
United States, NC, Raleigh
Joined Oct 2011
291 Posts
|
Quote:
|
|
|
||
|
|
|
|
Joined Dec 2006
1,186 Posts
|
another update.
1. finally got v2 code working on a real v2 board. tested on my 4 servo harness. - single aileron mode - delta mode - vtail mode - dual aileron mode A (use AILR_IN instead of AUX_IN, so no remote gain, but don't need to solder extra connector). - dual aileron mode B (solder wire from ELE_SW to use as AILR_IN) 2. also fixed a small bug in the led update code. 3. updated the v1 hex file and added v2 hex file (due to bug fix for 2) https://github.com/noobee/FlightStab/tree/master/Builds looking for early testers again (for ground testing only until we are fully confident). will produce the connection diagram shortly. |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sold Flight Stabilization System with Programing Card | Woody_99 | Aircraft - Electric - Helis (FS/W) | 1 | Mar 23, 2012 12:50 PM |
| Sold Flymentor Flight Stabilization with Field Programmer | Woody_99 | Aircraft - General - Radio Equipment (FS/W) | 0 | Mar 17, 2012 07:43 AM |
| Sold Totally Tricked out 400 size with flight stabilization installed, BNF | Woody_99 | Aircraft - Electric - Helis (FS/W) | 2 | Mar 12, 2012 06:56 AM |
| Wanted FY-30A Flight Stabilization System | Casey_S | FPV/RPV - Equipment and Vehicles (FS/W) | 0 | Mar 05, 2012 02:40 PM |