Page 1 of 2

Manuals for 9XR Pro

Posted: Thu Jun 05, 2014 8:08 am
by Mutchy
The following manuals cover versions of the ErSky9xr firmware up to r204 except for '9XR Pro: Ersky9x Explained' which is current to r202.(Edit 6th July 2014: All files are now current to r204) The initial batch of 9XR Pro radios have r202 version firmware installed. Updating the firmware is as easy as copying the updated firmware onto the SD card and then flashing it using the buttons on the radio. See "9XR Pro: Introduction to the Hardware". A revision for 9XR Pro: Ersky9x Explaned' to cover r204 will be posted when available soon. This revision will cover the 'Latch and 'Flip Flop functions plus the eight default voice switches in the Safety Switches menu.

If you have Ersky9x installed on a SkyNorth board then the manual 9XR Pro: Ersky9x Explained covers versions up to r202 also. (Edit 6th July 2014: Now up to r204)

Edit 6th June 2014: '9XR Pro: Using Voice with Ersky9x' has been revised to include the list of current voice files shipped with the 9XR Pro radio. The text has been altered to agree with the voice files listed in Appendix A. The URL for the Sound Pack Library has been added.

Edit 8th October 2014" "Appendix B: Hardware 8Oct2014" which covers using the 9XR Pro for more than 8 channels has been added to the list of manuals. This document is an appendix to "9XR Pro: Introduction to the Hardware" and should be read in conjunction with this document. I publish it separately here rather than included as a revision to the "9XR Pro:Introduction to the Hardware" manual so that it may be downloaded individually, is obviously an addition to the other manuals, and so that it may be treated and revised as an individual entity.

Edit 15th October 2014: Appendix B: Hardware12Oct2014 has been added. It is a revision by Daedalus66 which is highly appreciated. His clarity of expression adds immensely to the quality of the document.

Edit 6th January 2016: 9XR Pro Communicating with a Computer has been revised to include updated links to current firmware.
Appendix B Hardware 12Oct2014.pdf
(2.19 MiB) Downloaded 3032 times
9XR Pro Introduction to the Hardware 2014-04-24.pdf
(1.63 MiB) Downloaded 4001 times
9XR Pro First Steps with Ersky9x 2014-04-25.pdf
(1.24 MiB) Downloaded 3199 times
9XR Pro Ersky9x Explained 2014-07-06.pdf
(11.95 MiB) Downloaded 3486 times
9XR Pro Communicating with computer 2016-01-06.pdf
(1.17 MiB) Downloaded 2419 times
9XR Pro Using Voice with Ersky9x 2014-06-06.pdf
(2.37 MiB) Downloaded 2433 times
9XR Pro Using Eepskye Program 2014-03-26a.pdf
(775.02 KiB) Downloaded 3290 times
9XR Pro Glossary of Terms for Ersky9x 2014-03-27.pdf
(101.46 KiB) Downloaded 1810 times
This file is mentioned in '9XR Pro: Communicating With A Computer'. We hope you will never need it:
Many thanks are due to Daedalus66 for his professional contributions and editing of these manuals. The quality is all his.
Steve

Re: Manuals for 9XR Pro

Posted: Tue Jul 22, 2014 6:59 pm
by KAL
Wanted to collect all that is needed to use SAM-BA just for the case ...

But when I click the link to at91sam3s8-9xr.zip in "9XR Pro Using SAM-BA to restore bricked Tx 2014-02-12.pdf"
I get the message "You are not authorised to read this forum."

Where else can I get this file?

Klaus

Re: Manuals for 9XR Pro

Posted: Tue Jul 22, 2014 9:04 pm
by Mutchy
For expediency It is here. Hope you never need it:)
Steve
at91sam3s8-9xr.zip
(15.91 KiB) Downloaded 1749 times

Re: Manuals for 9XR Pro

Posted: Tue Jul 22, 2014 9:10 pm
by KAL
I hope so too,

but Murphy is always watching ... ;)

Thank you

Klaus

Re: Manuals for 9XR Pro

Posted: Tue Jul 22, 2014 9:13 pm
by jhsa
I needed it twice.. Once when the bootloader was developed, and the second time I pushed the reset button on purpose while powering up the radio :mrgreen: :mrgreen:
Someone had to test if it works right? :mrgreen: and if the manual was explaining it right too :mrgreen: ;)

João

Re: Manuals for 9XR Pro

Posted: Tue Jul 22, 2014 9:22 pm
by KAL
Agree,

when there is a reset button there also will be somenone to press it .... ;)

Klaus

Re: Manuals for 9XR Pro

Posted: Tue Jul 22, 2014 9:42 pm
by jhsa
The difference is, I knew the consequences and saved everything before :) But you only really have a problem if you turn the radio on while pressing it.. Oooops, I have the feeling I shouldn't have said this :shock: :? :mrgreen:

João

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 5:12 am
by Mutchy
You are tempting fate......
At least you are close enough to be able to drive to each others place within a few hours......
Steve

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 9:01 am
by jhsa
:mrgreen:

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 9:41 am
by KAL
jhsa wrote:... I knew the consequences and saved everything before ...
Safety first! Often I have to deal with people don't making safety copys of their computer's harddrives.
So ev'rything is double saved. Important or interesting things I find in the infinite depths of space the web I make a
"safety copy" :mrgreen: on my harddrives. Too often I found dead links ... :(

So I collect the things I possibly need before e.g. ATMEL doesn't provide SAM-BA any more ...

So ev'rything just for the case ... :)
And if the case takes place, you are mostly too nervous to collect all the things you need... :lol:

Klaus

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 10:55 am
by MikeB
KAL wrote:So I collect the things I possibly need before e.g. ATMEL doesn't provide SAM-BA any more ...
?? http://www.atmel.com/tools/atmelsam-bai ... ammer.aspx ??

Still seems to be there!

Mike.

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 10:59 am
by jhsa
I think he meant to say " if atmel doesn't provide it anymore" :)

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 3:39 pm
by KAL
Exactly :)

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 7:35 pm
by Irish Steve
Ok, following this with interest, and just wondering,

Could someone post up a list of the software that would be needed from atmel, (and maybe even a list of other essentials) in order to be able to compile and load the source for the Pro series boards. I'm just getting up to speed on all of this, and between 2 of us, there are 2 9XR Pro TX's, and 3 Sky board 9X's (to be fitted), and a couple of 9X's that will remain "standard", so I think it makes sense to be able to look slightly more closely at what's going on, rather than just taking copies of the excellent work that Mike and others have done. Who knows, I might even get to the point where I might be able to make a useful contribution to things. Plan is to have a dedicated Win based machine that I can put just the RC radio work on, so that I can rely on the thing not being messed up by other activities in other areas.

Thanks

Steve

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 7:57 pm
by MikeB
From Atmel, you only need Sam-BA, and then only if you don't have the bootloader installed:
http://www.atmel.com/tools/atmelsam-bai ... ammer.aspx
For compiling, I'm currently using this:
http://sourceforge.net/projects/yagarto/
There are certainly newer versions of the compiler, and they may produce 'better' code, but like all these things this works so I haven't bothered to change it. The compiled code fits with plenty of space to spare.

Mike.

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 8:02 pm
by Irish Steve
Mike,

Many thanks for a very rapid reply again, it's appreciated, and I hope I will be in a position to do something to help before too long, no promises, i suspect I will have to do some serious work to get up to speed on this, from the discussions I've seen over time, it's not a simple piece of code.

Thanks

Steve

Re: Manuals for 9XR Pro

Posted: Wed Jul 23, 2014 8:30 pm
by MikeB
The code has just grown over time, and started out as er9x where some things were done just to make the code smaller so it fitted in the 64K of the Mega64A.

Every so often I try to improve the look of the source!

Mike.

Re: Manuals for 9XR Pro

Posted: Thu Jul 24, 2014 3:28 am
by wombat67
Hi Mike
Sorry but I must be missing something somewhere. No matter what I do I can not compile ERSKY9X for use on the 9XRPro. I have tried on several Windows machines running WinXP through to Win7. I have installed YAGARTO on all. Not sure about the SAM-BA V2.12 install on the Win7 machine. Is SAM-BA a definite requirement for compiling?
My Win7 machine and XP box has no problems with bog standard ER9X but it will not compile OpenTX or ERSKY9X
My VIsta machine will compile ER9X and OpenTX but not ERSKY9X.

I get the following error message on both the Win7 and Vista machines
--------
D:\ERSKY9X\src>compile-win

D:\ERSKY9X\src>make clean
rm -f x9dobj/*.*
rm -f x9dpobj/*.*
rm -f skyobj/*.*
rm -f skyRobj/*.*
rm -f ersky9x_rom.elf
rm -f ersky9x_rom.map
rm -f ersky9x_rom.hex
rm -f core_cm3.c.bak board_lowlevel.c.bak crt.c.bak vectors_sam3s.c.bak port.c.b
ak coos.c.bak
rm -f core_cm3.lst board_lowlevel.lst crt.lst vectors_sam3s.lst port.lst coos.ls
t
rm -f core_cm3.lss board_lowlevel.lss crt.lss vectors_sam3s.lss port.lss coos.ls
s
rm -f
rm -f
rm -fR .dep

D:\ERSKY9X\src>make REVB=1 DEBUG=1 STAMP=1
Usage: egrep [OPTION]... PATTERN [FILE]...
Try `egrep --help' for more information.
c:\WinAVR-20100110\bin\cat.exe: .svn/entries: No such file or directory

Generate Version-stamp:
arm-none-eabi-gcc -c -mcpu=cortex-m3 -Os -gdwarf-2 -mthumb -fomit-frame-pointer
-Wall -Wstrict-prototypes -fverbose-asm -Dat91sam3s4 -DRUN_FROM_FLASH=1 -DPCBSK
Y -DSTAMP -DREVB -DFRSKY -DCPUARM -DDEBUG -MD -MP -MF skyobj/core_cm3.o.d -I .
-I./inc core_cm3.c -o skyobj/core_cm3.o
core_cm3.c:802:1: fatal error: opening dependency file skyobj/core_cm3.o.d: No s
uch file or directory
compilation terminated.
make: *** [skyobj/core_cm3.o] Error 1
-----------

Any help greatly appreciated
Thanks
Kevin

Re: Manuals for 9XR Pro

Posted: Thu Jul 24, 2014 8:59 am
by MikeB
Create a sub-directory "skyRobj" under the src directory (for the 'PRO').
The makefile keeps the object files for SKY, PRO and Taranis in separate sub-directories to avoid needing to re-compile for the different targets.
Also, for the 'PRO, add REVX=1 to the command line.
For the SKY board you need a directory 'skyobj', and for the Taranis you need a directory 'x9dobj'.

Mike.

Re: Manuals for 9XR Pro

Posted: Thu Jul 24, 2014 12:01 pm
by wombat67
Thanks Mike again for your quick reply. Yep things got a little further along but alas another error.
----------
REVX -DFRSKY -DCPUARM -DDEBUG -MD -MP -MF skyRobj/lcd.o.d -fno-exceptions -I . -
I./inc lcd.cpp -o skyRobj/lcd.o
lcd.cpp:43:29: fatal error: font_se_05x07.lbm: No such file or directory
compilation terminated.
make: *** [skyRobj/lcd.o] Error 1

D:\ERSKY9X\src>
---------------
Now I have found said beastie "font_se_05x07.lbm" hiding over in OpenTX directories. When I copied it to the ERSKY9X src directory and tried again another lbm font file was missing "font_fr_05x07.lbm". So I tried copying the fonts dir from OpenTX into the src dir (ersky9x/src/fonts) but that did not work.

Do I copy all the font files into the actual src directory for ERSKY9X??

Thanks in advance
Kevin

Re: Manuals for 9XR Pro

Posted: Thu Jul 24, 2014 12:21 pm
by MikeB
Sorry, I sometimes forget to add new files to the repository.
Here are missing font files you will need, they will get added next time I do a commit.
fonts.zip
(1.29 KiB) Downloaded 555 times
Just put them in your src directory.

While this is a pain for you, it is useful to pick up anything I've forgotten to do!

Mike.

Re: Manuals for 9XR Pro

Posted: Thu Jul 24, 2014 9:42 pm
by wombat67
HI Mike
Thanks for that. Not a pain at all. You guys always come through with the goods. Will give font up and see how it goes
Cheers
Kevin G

Re: Manuals for 9XR Pro

Posted: Fri Jul 25, 2014 7:41 am
by wombat67
Hey Mike - me again
Compiling is now a success. However I have come across a few other issues that I got you to fix ages ago for ER9X and the same have reappeared here with sky.

Both have to do with an edit of the en.h file. The first is renaming of the sticks. They are renamed in the en.h file
#define ISTR_STICK_NAMES
However, they are not renamed in firmware after compiling. I think last time I had to add an include somewhere I forget.

Second and again the same thing happened a while ago with ER9X - the template names are renamed in en.h but not in the firmware.

Is there a specific forum topic for issues such as these that are related to editing and compiling?

Cheers
Kevin

Re: Manuals for 9XR Pro

Posted: Fri Jul 25, 2014 7:56 am
by MikeB
Probably the best topic is this one: viewtopic.php?f=7&t=40.

I'll have a look at those two items later today.

Mike.

Edit: These are partly related to the multi-language support.

Re: Manuals for 9XR Pro

Posted: Fri Jan 23, 2015 12:59 pm
by majstoralc
I just bought Turnigy 9xr pro. I got version ersky9x-r204 (v.4-Mike)-date 11.5.2014.
Is there a newer version of firmware?
Where can I find it?
Please help.
Sorry for my bad english. I am from Slo.
Best regards

Re: Manuals for 9XR Pro

Posted: Sat Jan 24, 2015 2:18 am
by Mutchy
Hi Majstoralc.
There are later versions of the firmware however the manuals and the beta testing all finished at the version r204 which you have. While there are some very smart features that Mike and the rest of the development team, Joao in particular, have been working on, you will have to follow the Ersky9x firmware development threads here on RC groups to keep up with the changes and any faults (bugs) in the firmware. I have been using Ersky9x firmware r204 in four transmitters (two 9XR Pro and two Sky9x home made transmitters for well over a year now. It is rock solid and the manuals are current up to this release of the firmware.
I fly F5B gliders, FPV and sport aerobatic planes float planes and quadcopter aircraft. I have not used this release for helicopters so can not vouch for the usability and reliability for them but for the rest I believe the firmware is the most user friendly available today - better than the Taranis r208 which I also use.
Steve

Re: Manuals for 9XR Pro

Posted: Sat Jan 24, 2015 7:43 am
by majstoralc
Thanks for your reply.
I find this upgrade features, but I do not know how can i use and upgrade my firmware.:
https://code.google.com/p/ersky9x/source/list
Can you please help me
Can you please explain me what is this update features and how can i install them?
Best regards

Re: Manuals for 9XR Pro

Posted: Sat Jan 24, 2015 9:32 am
by MikeB
You need to flash the file ersky9xr.bin. The latest one committed on googlecode is here: https://code.google.com/p/ersky9x/sourc ... vn%2Ftrunk.

Later versions, not yet committed, are on this post: viewtopic.php?f=7&t=4676.

The manuals above describe the process to flash these.

Mike.

Manuals for 9XR Pro -- Here they are!

Posted: Thu Sep 24, 2015 3:34 pm
by Daedalus66
Just giving this item a bump to make sure it's easily found.

For those using updated versions of the Ersky9x firmware, a guide to the new menu structure is here:
viewtopic.php?f=123&t=6810

Now that the flying season is coming to an end, I will get back to updating the Ersky9x Explained, but in the meantime the combination of the earlier manual and this guide covers what most people need.

Re: Manuals for 9XR Pro

Posted: Wed Dec 09, 2015 4:57 pm
by Daedalus66
Another bump