Ersky9x Test Versions

ersky9x is a port of er9x for use on the sky9x board.
User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Ersky9x Test Versions

Post by MikeB » Fri Dec 13, 2013 11:45 pm

This is NOT intended as a thread for discussions, just as somewhere I can put test versions of ersky9x for people to try out.
The idea is I'll put a specific test version on here, with a reason why it is here. Later, when I have something else to test I'll remove that one and replace it with another.
This should stop lots of test versions all over the forum, and help avoid the forum taking up more space on the server than it needs to.

Mike.

Reason for test version: Main popup and MODEl SETUP index menu.
I've also done a significant change to the Taranis versions. This relates to the internal coding for mix inputs.
The reason is the Taranis has an extra analog input (the Plus has 2). I did have this in order with the other pots/sliders but this has the side effect that the internal codes for everything after are one more that the same item on the SKY and 9XR-PRO versions of ersky9x.
This makes swapping model files between Taranis and SKY not really work. The change makes the files very closely compatible. but will mean any models on the Taranis that use a mix input after SL (P3 on SKY) will need to be checked. This includes inputs like HALF, FULL, PPMx and other channels. The firmware does, however, make SR appear after SL when editing a mix.
REVERSE the right POT operation on Taranis


NOTE: 04-Dec-2016, r220 is now released, also eepskye r421 is released.

Due to the significant addition of more channels and mixers, make sure you backup your EEPROM (and firmware) before flashing from ProvR221b1 and later.
From "c5" on, the size of ersky9x_rom.bin may exceed 256K. On the AR9X board, make sure you have a bootloader rev 2.1 or later, or the flashing may not handle this size. On the SKY board (only 256K flash) use ersky9xs_rom.bin (s for small). This removes many languages to make it fit in the flash.
ersky9xr_romD1xfire.zip
23-May-2017 17:05
CrossFire telemetry test for 9XR-PRO only
(174.47 KiB) Not downloaded yet
ersky9xProvR221c9.zip
15-May-2017 23:31
FIX XJT FAILSAFE BUG - Check CUSTOM FAILSAFE SETTING
Horus - Improve model storage on SD card
Horus - Add model copy and move.
(1.6 MiB) Downloaded 69 times
x12d_romB7.zip
07-May-2017 12:42
Re-enable watchdog.
Fix 2 bugs in expo editing.
(154.31 KiB) Downloaded 21 times
x12d_romB6.zip
06-May-2017 18:53
Make joystick work,
Watchdog still disabled.
(154.21 KiB) Downloaded 5 times
x12d_romB5.zip
04-May-2017 19:14
Add USB joystick, had to disable the watchdog to get this to initialise.
(154.21 KiB) Downloaded 10 times
x12d_romB4.zip
04-May-2017 00:52
Add Haptic (not tested)
Fix pb1-4 names in switch lists
Fix "DSMx" telemetry bug
Enable watchdog
Cosmetic changes
Enable trainer PPM in and out
Enable iXJT power control
(148.78 KiB) Downloaded 10 times
x12d_romB3.zip
03-May-2017 16:53
Fix "DSMx" telemetry bug
Enable watchdog
Cosmetic changes
Enable trainer PPM in and out
Enable iXJT power control
(148.9 KiB) Downloaded 8 times
ersky9xProvR221c8.zip
07-Apr-2017 12:11
Better support for encoder button when editing mix source
Atmel based boards support inversion for COM2
Multi module flashing supported for internal module
Fix for ARM-M4 when flashing bootloader
Fix for ARM-M4 forcing AR9X on
Make bootloader on SKY boards handle SAM4S8 CPU
Some changes to Multi AFHDS2A telemetry
(1.44 MiB) Downloaded 233 times
ersky9x_rom.zip
01-Apr-2017 16:35
Fix for ARM-M4 forcing AR9X on
(173.03 KiB) Downloaded 71 times
eepskye.zip
01-Apr-2017 16:35
Fix for copy model to >32 position on 9XTreme
(1.98 MiB) Downloaded 105 times
ersky9xProvR221c7.zip
31-Mar-2017 17:33
Make bootloader on SKY boards handle SAM4S8 CPU
Some changes to Multi AFHDS2A telemetry
(1.36 MiB) Downloaded 90 times
ersky9xProvR221c6.zip
28-Mar-2017 23:28
Fix encoder button problem in SKY bootloader
Remove test screen showing image
Attempt to improve reading of "Multi.txt"
Multi protocol display always shows all 8 types
Add channel output bar at top of mixers menu
Make X7 and X9E wait for the power button release
SKY/PRO/AR9X handle Multi serial update on internal module
Improve encoder button handling.
Support encoder in bootloader and maintenance mode
Allow .hex files for flashing multi module
Increase start timeout on flashing multi
Fix 'PRO needing Com 1 invert set correctly
Fix timeout when flashing large multi files
Fix bug in flashing AVR multi module
(1.36 MiB) Downloaded 88 times
ersky9xProvR221c5.zip
26-Mar-2017 21:36
Add channel output bar at top of mixers menu
Make X7 and X9E wait for the power button release
SKY/PRO/AR9X handle Multi serial update on internal module
Improve encoder button handling.
Support encoder in bootloader and maintenance mode
Allow .hex files for flashing multi module
Increase start timeout on flashing multi
Fix 'PRO needing Com 1 invert set correctly
Fix timeout when flashing large multi files
Fix bug in flashing AVR multi module
(1.36 MiB) Downloaded 65 times
x9d_romBlink.zip
23-Mar-2017 15:54
Flash backlight 20 times at start
(172.67 KiB) Downloaded 17 times
ersky9xProvR221c4.zip
23-Mar-2017 23:59
Allow .hex files for flashing multi module
Increase start timeout on flashing multi
Fix 'PRO needing Com 1 invert set correctly
Fix timeout when flashing large multi files
Fix bug in flashing AVR multi module
(1.36 MiB) Downloaded 64 times
ersky9xProvR221c3.zip
23-Mar-2017 00:19
Fix 'PRO needing Com 1 invert set correctly
Fix timeout when flashing large multi files
Fix bug in flashing AVR multi module
(1.36 MiB) Downloaded 42 times
ersky9xProvR221c2.zip
21-Mar-2017 23:06
Fix bug in setting fuses on 'Orange' multi module
Fix Taranis QX7 SC and SH problems
Add 'Orange' Multi module flashing
Extend telemetry timeout setting in logging menu
(1.36 MiB) Downloaded 40 times
ersky9xProvR221c1.zip
21-Mar-2017 12:19
Fix Taranis QX7 SC and SH problems
Add 'Orange' Multi module flashing
Extend telemetry timeout setting in logging menu
(1.36 MiB) Downloaded 34 times
ersky9xProvR221b9.zip
19-Mar-2017 18:41
Add telemetry timeout setting in logging menu
(1.36 MiB) Downloaded 53 times
ersky9xProvR221b8.zip
13-Mar-2017 15:32
Add "flash multi module" feature in maintenance mode
(1.36 MiB) Downloaded 83 times
ersky9xProvR221b7.zip
08-Mar-2017 00:14
Add Multi auto telemetry detection
(1.35 MiB) Downloaded 76 times
eepskye-i386.deb.zip
08-Mar-2017 00:02
Linux version of eepskye
Fix protocol editing bugs
Support for QX7 and 32 channels/64 mixers
(2.07 MiB) Downloaded 32 times
eepskye.zip
08-Mar-2017 00:02
Fix protocol editing bugs
Support for QX7 and 32 channels/64 mixers
(1.98 MiB) Downloaded 94 times
eepskye-i386.deb.zip
07-Mar-2017 16:05
Linux version of eepskye
Support for QX7 and 32 channels/64 mixers
(2.07 MiB) Downloaded 21 times
ersky9xProvR221b6.zip
06-Mar-2017 11:30
Stop background music on model load
Fix model move bug on SKY/AR9X/PRO/9XT
Fix model move bug on Taranis
Vario delay fix
Allow move of empty slot
Fix "model overwrite bug" (hopefully)
Vario tone enhancements
Fix Heli trim bug
Add 8 more channels and 16 more mixers
Support FrSky Taranis QX7
Improve text editing operation
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.35 MiB) Downloaded 61 times
ersky9xProvR221b5.zip
05-Mar-2017 21:45
Fix model move bug on Taranis
Vario delay fix
Allow move of empty slot
Fix "model overwrite bug" (hopefully)
Vario tone enhancements
Fix Heli trim bug
Add 8 more channels and 16 more mixers
Support FrSky Taranis QX7
Improve text editing operation
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.35 MiB) Downloaded 31 times
ersky9xProvR221b4.zip
05-Mar-2017 12:14
Fix "model overwrite bug" (hopefully)
Vario tone enhancements
Fix Heli trim bug
Add 8 more channels and 16 more mixers
Support FrSky Taranis QX7
Improve text editing operation
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.35 MiB) Downloaded 31 times
Do NOT use b3 anymore, it has a "model overwrite bug"
ersky9xProvR221b3.zip
03-Mar-2017 19:18
Vario tone enhancements
Fix Heli trim bug
Add 8 more channels and 16 more mixers
Support FrSky Taranis QX7
Improve text editing operation
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.35 MiB) Downloaded 39 times
ersky9xProvR221b2.zip
28-Feb-2017 17:27
Fix Heli trim bug
Add 8 more channels and 16 more mixers
Support FrSky Taranis QX7
Improve text editing operation
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.34 MiB) Downloaded 69 times
ersky9xProvR221b1.zip
22-Feb-2017 23:56
Add 8 more channels and 16 more mixers
Support FrSky Taranis QX7
Improve text editing operation
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.34 MiB) Downloaded 99 times
eepskye.zip
23-Feb-2017 00:34
Support for QX7 and 32 channels/64 mixers
(1.98 MiB) Downloaded 70 times
.
x7_romC.zip
19-Feb-2017 10:46
Remove SE and SG from switch selections.
Sort Cosmetic problems
Include bootloader
Until the bootloader is updated from this file, you will probably need to use the included eepskye as the openTx bootloader now uses a lower case name for the disk.
(2.14 MiB) Downloaded 40 times
x7_romB.zip
18-Feb-2017 21:30
Sort Cosmetic problems
Include bootloader
Until the bootloader is updated from this file, you will probably need to use the included eepskye as the openTx bootloader now uses a lower case name for the disk.
(2.14 MiB) Downloaded 18 times
x7_rom.zip
16-Feb-2017 19:46
First test version for the Taranis QX7
Do NOT update the bootloader from this, it doesn't contain a valid bootloader for the X7
You will probably need to use the included eepskye as the openTx bootloader now uses a lower case name for the disk.
(2.14 MiB) Downloaded 28 times
ersky9xProvR221a7.zip
08-Feb-2017 17:23
Fix X9E switches bug
Improve CVLT and CTOT operation
Enlarge "multi.txt" text buffer.
Support MULTI bind changes
(1.17 MiB) Downloaded 175 times
ersky9xProvR221a6.zip
29-Jan-2017 22:45
Add timers on individual telemetry items
Fix PDI flashing bug
Add MULTI Status processing
New editing method for custom telemetry screen
Fix search path for Helptel file
Extend to scalers source, voice alerts source and mix source (maybe!).
Extend to logical switch functions.
Fix Multi/DSM on 9XT and Taranis
Enable encoder button for new editing
(1.16 MiB) Downloaded 145 times
ersky9xProvR221a5.zip
27-Jan-2017 12:51
Fix PDI flashing bug
Add MULTI Status processing
New editing method for custom telemetry screen
Fix search path for Helptel file
Extend to scalers source, voice alerts source and mix source (maybe!).
Extend to logical switch functions.
Fix Multi/DSM on 9XT and Taranis
Enable encoder button for new editing
(1.16 MiB) Downloaded 56 times
eepskye.zip
26-Jan-2017 13:31
Fix only 30 models on 9XT bug
New method of editing module protocols (with OK button fix and removed un-needed boxes)
(1.97 MiB) Downloaded 139 times
ersky9xProvR221a4.zip
03-Jan-2017 23:45
New editing method for custom telemetry screen
Fix search path for Helptel file
Extend to scalers source, voice alerts source and mix source (maybe!).
Extend to logical switch functions.
Fix Multi/DSM on 9XT and Taranis
Enable encoder button for new editing
(1.17 MiB) Downloaded 228 times
ersky9xProvR221a3.zip
02-Jan-2017 22:10
New editing method for custom telemetry screen
Fix search path for Helptel file
Extend to scalers source, voice alerts source and mix source (maybe!).
Extend to logical switch functions.
Fix Multi/DSM on 9XT and Taranis
(1.16 MiB) Downloaded 61 times
ersky9xProvR221a2.zip
01-Jan-2017 19:58
New editing method for custom telemetry screen
Fix search path for Helptel file
Extend to scalers source, voice alerts source and mix source (maybe!).
(1.16 MiB) Downloaded 55 times
ersky9xProvR221a1.zip
31-Dec-2016 15:35
New editing method for custom telemetry screen
Fix search path for Helptel file
(1.16 MiB) Downloaded 67 times
ersky9xProvR221a.zip
30-Dec-2016 23:34
New editing method for custom telemetry screen
(1.16 MiB) Downloaded 59 times
ersky9x9XT_romI2Ctest.zip
06-Dec-2016 12:27
Special test version for OctavioS, encoder on I2C
(184.19 KiB) Downloaded 78 times
ersky9x9XT_rom_p220a.zip
04-Dec-2016 00:59
Possible fix for 9Xtreme even channel problem
(184.79 KiB) Downloaded 133 times
ersky9x9XT_rom_XfireTest.zip
01-Dec-2016 19:04
Test version for 9Xtreme to support CRSF protocol.
(184.77 KiB) Downloaded 66 times
opentx.zip
Test version of openTx r2940 for Taranis 14-Aug-2014 16:55
Minor change to "maintenance mode" to report "No Files" if directory is empty
This is r2940 with the addition of "maintenance mode" to allow SPort device update
(153.38 KiB) Downloaded 249 times
Old revisions of ersky9x:
ersky9xr_rom.zip
06-Mar-2017 09:36
R219 for 9XR-PRO
(168.62 KiB) Downloaded 63 times
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Ersky9x Test Versions

Post by kaos » Tue Jan 28, 2014 11:56 am

May be with a narration of what this test version is testing and changes are involved comparing to the latest version or whichever version it is trying to compare?
then no one else would post anything else here. You can lock the thread that only you can make/update post.

User avatar
skylark
Posts: 197
Joined: Mon Jul 09, 2012 6:18 pm
Country: -
Location: Oxford, England

Re: Ersky9x Test Versions

Post by skylark » Sat Feb 15, 2014 11:43 pm

Mike,
Just tried the latest test version (r202), Looks good so far. Still playing around with the model store feature, really impressive. I'm really chuffed to bits with it. Brilliant. Great job mike.
Stan.
He who knows not and knows not he knows not, is a fool: SHUN HIM.

He who knows and knows he knows, is a wise man : SEEK HIM

But he who knows not and knows he knows not, is a baby: TEACH HIM.

Toxi81
Posts: 7
Joined: Thu Jun 19, 2014 4:48 pm
Country: -

Re: Ersky9x Test Versions

Post by Toxi81 » Thu Jun 19, 2014 5:52 pm

Hello MikeB,

I tried your newest test firmware ersky9x_rom from 18.june.2014 on my ersky v3 board, but the transmiter module ASSAN X8J doesn't work in PPM mode. Older firmwares work correctly. Can you help me with this?

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Fri Jun 20, 2014 3:36 pm

I'll need to check. For the 9XR-PRO, I had to make PPM drive out as open collector to let the transmitter power off properly when using PPM with a Turnigy module.
It is very likely this change is also in for the standard SKY board. I'll check, and remove the open collector drive for the SKY board. I may need to make it an option!

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!


Toxi81
Posts: 7
Joined: Thu Jun 19, 2014 4:48 pm
Country: -

Re: Ersky9x Test Versions

Post by Toxi81 » Sun Jun 22, 2014 5:37 am

Thanks, I will wait for new version rom which will fix it.

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Sun Jun 22, 2014 7:21 am

Try the one I posted on the 21-Jun, the open drain/collector driver should only be in for the 9XR-PRO. The ordinary SKY board now always drives low and high.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Toxi81
Posts: 7
Joined: Thu Jun 19, 2014 4:48 pm
Country: -

Re: Ersky9x Test Versions

Post by Toxi81 » Fri Jun 27, 2014 4:30 pm

Hello Mike,

I tried your last version ersky9x_rom from 27.june and it works correctly. Thanks for your support with the problem in PPM mode...

idar66
Posts: 38
Joined: Tue Aug 19, 2014 8:12 am
Country: New Zealand

Re: Ersky9x Test Versions

Post by idar66 » Thu Apr 02, 2015 6:13 am

hi mike great job with esky9xr ive got taranis and 9xr pro, ive been using open tx until pro arrived, i upgraded 9xr pro to lastest esky9xr and im loving it took mr awhile but i getting there, can you tell me does verson 204 have your updates for sport updates and sbus inprovements like on lastest test versions, also the esky9xr zip do you just paste it into eepee folder to replace the old one already installed, thanks for help idar

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Thu Apr 02, 2015 10:18 am

r204 does NOT support PXX and SPort on the 'PRO, I think these were in from r211.
For eepskye, just copy the .exe from the .zip file into the eepe folder. You might rename or move the existing eepskye.exe first just in case you need to revert to it.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

GhostSharp
Posts: 9
Joined: Thu Apr 09, 2015 8:18 am
Country: -

Re: Ersky9x Test Versions

Post by GhostSharp » Wed Dec 30, 2015 3:01 pm

Hi Mike,

The ersky9xProvR218i.zip is valid for 9XR PRO too?

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Wed Dec 30, 2015 3:41 pm

Yes, just use ersky9xr_rom.bin.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
jhsa
Posts: 16220
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Ersky9x Test Versions

Post by jhsa » Sat Feb 27, 2016 4:43 pm

Mike, the version "ersky9xProvR219h" from today has only mavlink updates? or also some other features/options that need testing? Just that I know what to look for after I've flashed it..

Thanks

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Sat Feb 27, 2016 5:22 pm

The only thing other than Mavlink is when you are selecting the protocol within MULTI, if you go past the known, named options, it displays a number up to 31. This is a start to allow extra protocols in the MULTI module to be accessed without needing an immediate update to ersky9x.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Sun Mar 06, 2016 5:07 pm

Hi Mike,

I'm struggling with the telemetry from my APM to my 9XR-Pro. I'm using a combo of XJT/X8R from FrSky and I have them bound in D16 mode and my model is using the Pxx protocol. I also have the HobbyKing cable that connects the serial port on the XJT module to the Futaba Trainer port on the top of the 9xrPro. I zapped the latest r219h code from this site.

On the quad side, I installed an AirborneProjects module instead of the Teensy-based APM_Mavlink_to_FrSky. I'm assuming they do the same job. I also configured my APM2.7.2 board as per AirborneProject's quick start guide https://www.airborneprojects.com/wp-con ... -Guide.pdf

I configured the model's A1 variable to have a multiplier of 4.7 which pegs the reading at 12v on the telemetry screen. The only other reading that seems to indicate a value is RSSI which fluctuates. I'm also getting an inconsistency between selecting COM1 and COM2 for the telemetry. If I select COM1, I get a voice alert "Telemetry Signal Acquired" and the RSSI value appears (A1 gets pegged to 12v). If I set to COM2 I get a voice alert "Telemetry Signal Lost" and then all values stay at 0. In both cases, all other values don't seem to register. Telemetry from the Mission Planner seems to work as expected (battery, RSSI, GPS, Flight mode, etc.).

Is there any troubleshooting I can do from the radio to at least confirm I'm getting a signal from the telemetry port?

Could the AirborneProjects module be what's wrong here?

Thanks,
Pat

User avatar
jhsa
Posts: 16220
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Ersky9x Test Versions

Post by jhsa » Sun Mar 06, 2016 5:38 pm

nuttybrewer wrote:Hi Mike,

I'm struggling with the telemetry from my APM to my 9XR-Pro. I'm using a combo of XJT/X8R from FrSky and I have them bound in D16 mode and my model is using the Pxx protocol. I also have the HobbyKing cable that connects the serial port on the XJT module to the Futaba Trainer port on the top of the 9xrPro. I zapped the latest r219h code from this site.
With the XJT module, you DO NOT use the telemetry cable between the module and the futaba trainer port.. That is only for the DJT module. The XJT is directly supported by the radio.
In the telemetry menu/frsky com port, select COM1.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Sun Mar 06, 2016 7:12 pm

I've had a quick look at the source code for that device, it looks as though a lot of it is compatible, I'll need to have a closer look to confirm. It does seem to map most of the expected values onto suitable FrSky values.

As João says, use COM1, the 'PRO has an internal connection to the XJT so doesn't need the external cable.
Have you selected "ArduC" as the "Usr. Proto" in the telemetry menu?

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Thu Mar 17, 2016 8:30 pm

Ok, just got some Teensy 3.2 boards from PJRC. I loaded the APM_Mavlink_to_FrSky code into Arduino IDE (after installing the Teensyduino extra libraries).

At first it complained about clockspeed, so I dropped it to 16Mhz, now it says there's an error:
APM_Mavlink_to_FrSky:179: error: expected constructor, destructor, or type conversion before '(' token
ISR(USART_RX_vect)

I'm probably missing some libraries?

Mike, is there a github repository for this code? Your account only shows the ER9X code, just wondering (would make it easier for me than downloading ZIP files)

Also, is there a .hex file I could just upload to the teensy instead of compiling?

Razzor
Posts: 1
Joined: Thu Mar 17, 2016 10:00 pm
Country: -

Re: Ersky9x Test Versions

Post by Razzor » Thu Mar 17, 2016 10:27 pm

Hello Mike,

First off, thank you for your awesome work with this firmware. I have a 9XR-PRO with a HC-05 BT module and have tested some of the latest test versions 219g,i,j. However, I have some problems with the telemetry.

My telemetry setup:
APM 2.6 <-> OrangeRX with ULRS frimware <--AIR--> OrangeRx with ULRS firmware <-> Dual channel inverter <-> 9XR-PRO

So as you see I use a inverter to invert the serial communication between the OrangeRX module and the 9XR-PRO due to that the interface is inverted. The 9XR-PRO is also modded so that COM2 is used. I have selected ArduC as protocol and the correct baudrates etc. The settings seems to be correct because when I choose the BTDirect function I can connect with my phone and send/receive data to the APM, no problems at all here.

But, to get the BTDirect function to start working I have to first set the option to FMSserial and then back to BTDirect. I have to do this at every restart of the 9XR-PRO. I also don´t get any telemetry in 9XR-PRO with COM2 Func. set to Telemetry. With this setting I also don´t get any connection over BT (BT Telemetry is ON).

Best Regards
// Lukas

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 12:19 am

nuttybrewer wrote:At first it complained about clockspeed, so I dropped it to 16Mhz, now it says there's an error:
APM_Mavlink_to_FrSky:179: error: expected constructor, destructor, or type conversion before '(' token
ISR(USART_RX_vect)

I'm probably missing some libraries?

Mike, is there a github repository for this code? Your account only shows the ER9X code, just wondering (would make it easier for me than downloading ZIP files)
The code is written for the Atmel AVR processor (ATMEGA328 on an Arduino pro mini), so the ISR is specific for that processor. It will very likely need to be re-coded for a Teensy. I've not got a Teensy or done any coding for one.

I haven't put the code onto Github (yet).

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 12:28 am

Razzor wrote:My telemetry setup:
APM 2.6 <-> OrangeRX with ULRS frimware <--AIR--> OrangeRx with ULRS firmware <-> Dual channel inverter <-> 9XR-PRO

So as you see I use a inverter to invert the serial communication between the OrangeRX module and the 9XR-PRO due to that the interface is inverted. The 9XR-PRO is also modded so that COM2 is used. I have selected ArduC as protocol and the correct baudrates etc. The settings seems to be correct because when I choose the BTDirect function I can connect with my phone and send/receive data to the APM, no problems at all here.

But, to get the BTDirect function to start working I have to first set the option to FMSserial and then back to BTDirect. I have to do this at every restart of the 9XR-PRO. I also don´t get any telemetry in 9XR-PRO with COM2 Func. set to Telemetry. With this setting I also don´t get any connection over BT (BT Telemetry is ON).
The ArduC protocol selection is for when you use an Arduino pro mini to collect the MavLink data and convert it for transmission over the FrSky telemetry link. I haven't got as far as processing native MavLink, received on COM2, yet.

There is probably a baudrate problem on COM2. When you select telemetry, the baudrate is set for the expected telemetry according to the protocol to the Tx module. THis probably needs a few changes.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 6:42 pm

The Aduino code is now on Github:
https://github.com/MikeBland/APM_Mavlink_to_FrSky.

I'm not sure when I'll have time to investigate the COM2 to BT function.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Fri Mar 18, 2016 10:22 pm

Ok thanks a lot Mike! I just configured the Teensy for the converter code linked from the copter.ardupilot.com telemetry site. I'm getting GPS values, A1, the flight mode, etc.

Just a quick question, on the main HUD screen, there's a little battery icon at the top and it keeps flashing at 0% (Even though the A1 reading right next to it is getting my battery voltage at a value that seems proper). Should I be mapping something else in the configs?

Thanks,
Pat

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Fri Mar 18, 2016 10:49 pm

The battery icon shows the FUEL value, not the voltage. This relies on the current being measured and having a correct battery capacity entered in the APM.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Sat Mar 19, 2016 12:35 pm

Razzor wrote:But, to get the BTDirect function to start working I have to first set the option to FMSserial and then back to BTDirect. I have to do this at every restart of the 9XR-PRO.
What setting do you have for "FrSky Com Port"?
There is a potential conflict between this setting and the "Com2 Function" setting. If you want to use Com2 for something other than telemetry, you (currently) need to make sure "FrSky Com Port" is set to 1.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

nuttybrewer
Posts: 5
Joined: Wed Jul 22, 2015 8:38 pm
Country: -

Re: Ersky9x Test Versions

Post by nuttybrewer » Sat Mar 19, 2016 2:16 pm

Hi All,

One very frustrating thing about developing new features on these newsgroups is that threads and stuff get lost. Could I invite everybody to log issues on Github instead? https://github.com/MikeBland/APM_Mavlin ... Sky/issues

User avatar
MikeB
9x Developer
Posts: 14168
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

Re: Ersky9x Test Versions

Post by MikeB » Sat Mar 19, 2016 10:06 pm

May we please move this discussion to this thread: viewtopic.php?f=7&t=8396.
This thread here is not meant for discussions, as mentioned in the first post.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

tomismrkolj1
Posts: 51
Joined: Sun Jan 24, 2016 10:32 am
Country: -

Re: Ersky9x Test Versions

Post by tomismrkolj1 » Sun Mar 20, 2016 6:23 am

Mike,

I tried newest verisons. Arudino did not want to compile so i removed "f" after airspeed * 10 (instead airspeed * 10f).
Now numbers fluctuate (40 to 50), but do not seem to be mutiple of 0,9 to 1,8, which is usual fluctuation when pitot tube is closed - not in flight).

tomi

CptanPanic
Posts: 14
Joined: Tue Mar 22, 2016 12:32 am
Country: -

Re: Ersky9x Test Versions

Post by CptanPanic » Tue Mar 22, 2016 3:07 pm

nuttybrewer wrote:Hi All,

One very frustrating thing about developing new features on these newsgroups is that threads and stuff get lost. Could I invite everybody to log issues on Github instead? https://github.com/MikeBland/APM_Mavlin ... Sky/issues
I see that you are starting to use the Releases feature on github also? It would def make it easier to see when new stable release is ready for ersky9xr

User avatar
bob195558
Posts: 1429
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

Re: Ersky9x Test Versions

Post by bob195558 » Tue Mar 22, 2016 3:27 pm

Sorry for jumping in here Mike.

Hi CptanPanic,
When you use eepSkye on your PC, it will auto check for new firmware updates.

Bob B.
RADIOS: ErSky9x on Taranis, ErSky9x on Sky9x, ErSky9x on 9Xtreme,
Er9x-FrSky on 9x-Radio with Smartieparts upgrade Programmer Board and 9x-TelemetrEZ Board.
Some help info here: (http://openrcforums.com/forum/viewtopic.php?f=95&t=7182).
Bob B.

Post Reply

Return to “ersky9x”

Who is online

Users browsing this forum: No registered users and 1 guest