ERSKYTx (was ersky9x) Questions

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
phil
Posts: 96
Joined: Thu Jan 14, 2016 7:03 am
Country: Germany
Location: München
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by phil » Sat Nov 06, 2021 1:45 pm

can it be that the bond has been lost?
no model was bound! It was not possible to re-bind with the existing data! only when I had reinstalled the program erskyTx could I bind again. That means all models
I have to enter it manually, copying memory into it didn't work either.
I suspect the "loss of light" also affected the binding.
greet phil


phil
Posts: 96
Joined: Thu Jan 14, 2016 7:03 am
Country: Germany
Location: München
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by phil » Wed Nov 10, 2021 12:34 pm

Hello Mike, please answer my question about the potential loss of bond. Is that possible?
phil

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

Re: ERSKYTx (was ersky9x) Questions

Post by MikeB » Wed Nov 10, 2021 12:48 pm

The bind is between the RF module and the receiver, erskyTx, even if incorrect, should have no effect on the bind.

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

phil
Posts: 96
Joined: Thu Jan 14, 2016 7:03 am
Country: Germany
Location: München
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by phil » Wed Nov 10, 2021 2:26 pm

Thanks Mike
for the info.
phil

User avatar
SteveInBrussels
Posts: 4
Joined: Tue Nov 30, 2021 11:02 am
Country: Belgium
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by SteveInBrussels » Tue Nov 30, 2021 1:53 pm

I feel like an idiot asking this question but I've looked and read and looked here and there and everywhere. If I'm in the wrong place just boot me off but try to point me in the right direction.

I have a Turnigy9X that I upgraded years ago with a Sky9x Rev 3.0 board etc. The firmware is ersky9x-r130 vers v.1467-Mike Date 05/12/2012..... RevB Coproc 0104.

How on Earth to I update it to the latest firmware? I've found much stuff but I believe I need to use what is written in Mutchy's doc "Upgrading Ersky9x to bootloader versions" (https://openrcforums.com/forum/viewtopic.php?f=5&t=6473). However, many of these links don't work anymore, I've found almost all bits and pieces except for the "SAM-BA architecture libraries".

Fact is.... These days do I need all of that? I'm quite baffled what is the best way to go. I don't want to brick my Tx!

THANKS
Ready to learn and ready to help (if I can).


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

Re: ERSKYTx (was ersky9x) Questions

Post by MikeB » Tue Nov 30, 2021 4:38 pm

As long as you have SAM-BA, you cannot "brick" the Tx as there is always a way to erase the flash memory and force the processor to use the built in ROM based bootloader that is used by SAM-BA.
Do you have SAM-BA installed?
If so, use the board type "at91sam3s4-ek".
I can't remember when I first added the bootloader, 2012 is a long time ago!
The latest firmware for the SKY board is called "ersky9xs_rom.bin". I've needed to build a special "small" version as the SKY board has "only" 256K of flash, and all other radios now have at least 512K.

If you can run SAM-BA, we can get the latest firmware flashed, and that will include the bootloader.

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

User avatar
SteveInBrussels
Posts: 4
Joined: Tue Nov 30, 2021 11:02 am
Country: Belgium
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by SteveInBrussels » Wed Dec 01, 2021 1:40 pm

Hey THANKS Mike -- Thanks for it all!!

I now have SAM-BA 2.18 which has a GUI and I quickly found the "at91sam3s4-ek" board. I had previously downloaded the latest version SAM-BA 3.5 with only a CLI and was COMPLETELY different.
I guess I will risk giving it a try... I'll use the version from here: http://www.er9x.com/ which is the 222 version 'erskyTx for SKY board'. The same nice table has "SD Card Contents" so I'll make my card look like that with a few extra voices maybe.

There's also eePskye but I really don't see how that fits in.

I guess that's good?
Ready to learn and ready to help (if I can).

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

Re: ERSKYTx (was ersky9x) Questions

Post by MikeB » Wed Dec 01, 2021 7:20 pm

Should be good.

eepskye is a program that runs on your PC and (using the bootloader) allows you to flash new firmware and read/write radio and model settings. Having read the settings, you may edit them (and simulate them) on the PC.

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

User avatar
SteveInBrussels
Posts: 4
Joined: Tue Nov 30, 2021 11:02 am
Country: Belgium
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by SteveInBrussels » Sat Dec 04, 2021 4:40 pm

Mike, Thanks once more.

I successfully flashed it to R222. I used SAM-BA 2.18. So happy!!

The key trick I missed was to fill-in the connection with “\USBserial\COMx”. Using “COMx” does not work. (Window 10 - Bossa Program Port) After that all was good. It flashed and came up a treat even preserving the models I'd previously programmed. Seems snappier too.

The SAMBA_AR9xARUni.pdf document I found really helped with the detailed procedure -- of course you had told me which processor to use.

I can access two drives now on the Tx one being the SD card. Maintenance and Bootloader Modes come up with the trim switches.

One detail left though: After the Tx boots a warning message appears saying that I should "update the co-processor" (then press another key)-- apparently that was not updated by SAM-BA. Mine is version 104. I tried with the same R222 rom in the Maintenance Mode -- same message. I took the TinyApp.bin file from GitHub but there's nowhere I can find for flash the co-processor. Searching this forum just gave me cryptic leads that I could not apply.

Any advice more than welcome. Thanks.
Ready to learn and ready to help (if I can).

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

Re: ERSKYTx (was ersky9x) Questions

Post by MikeB » Sat Dec 04, 2021 5:54 pm

Quick answer:
Put the TinyApp.bin in the FIRMWARE directory on the SD card.
You need the "Flash Coprocessor" app (Apps at the bottom left on er9x.com), put in in an "APPS" directory on the SD card, then start in bootloader mode and select "Run App", then select the "Flash Coprocessor" app.

I can give more detail later if needed.

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

User avatar
SteveInBrussels
Posts: 4
Joined: Tue Nov 30, 2021 11:02 am
Country: Belgium
Contact:

Re: ERSKYTx (was ersky9x) Questions

Post by SteveInBrussels » Mon Dec 06, 2021 3:42 pm

Mike ==> Thanks again. Worked perfectly and first time!!

One detail though: The Flash Coprocessor App" link has a typo "http://www.er9x.com/apps/FlashCoPorc_atmel.app" . After some mild irritation I realised why I was getting the 404 error and just corrected the URL typo in my browser and bingo.

Now for the fun and the real work. Have a great week.
Ready to learn and ready to help (if I can).

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

Re: ERSKYTx (was ersky9x) Questions

Post by MikeB » Mon Dec 06, 2021 6:54 pm

Thanks about the typo, should be correct now.

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


Post Reply

Return to “erskyTx (was ersky9x)”