eepSKYe

eepSKYe is the desktop too for flashing and managing your sky9x firmware.
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

That´s the thing i don´t get a failure.(not to my knowledge)
Here goes:
=================================================================================
Started SAM-BA
C:/Program/ATMEL Corporation/sam-ba_2.11/sam-ba.exe \USBserial\COM10 at91sam3s4-9x C:/DOCUME~1/Jidder/LOKALA~1/Temp/temp.tcl
=================================================================================
-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.11 on : windows
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM10
-I- argv 1 : at91sam3s4-9x
-I- argv 2 : C:/DOCUME~1/Jidder/LOKALA~1/Temp/temp.tcl
-I- Connection : \USBserial\COM10 (target(comType) = 0)
-I- Board : at91sam3s4-9x
-I- Traces Level : 4
-I- target(handle) : 23023424
Read device Chip ID at 0x400e0640 --- get 0x00000000
Read device Chip ID at 0x400e0740 --- get 0x28a00960
-I- Found processor : at91sam3s4 (Chip ID : 0x28a00960)
sourcing device file C:/Program/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/devices/at91sam3s4.tcl
sourcing board description file C:/Program/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/at91sam3s4-9x/at91sam3s4-9x.tcl
-I- Loading applet applet-lowlevelinit-atsam3s2.bin at address 0x20000800
-I- Memory Size : 0x0 bytes
-I- Buffer address : 0x4
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- Low level initialized
-I- Loading applet applet-flash-atsam3s2.bin at address 0x20000800
-I- Memory Size : 0x40000 bytes
-I- Buffer address : 0x20001440
-I- Buffer size: 0x6A00 bytes
-I- Applet initialization done
-I- FLASH initialized
-I- Command line mode : Execute script file : C:/DOCUME~1/Jidder/LOKALA~1/Temp/temp.tcl
-I- GPNVM1 set
-E- Memory Overflow

=================================================================================
SAM-BA done - SUCCESSFUL
=================================================================================

/Hasse
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

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

Re: eepSKYe

Post by MikeB »

You have something wrong in the SAM-BA setup, you are loading the wrong applet(s):
-I- Loading applet applet-flash-atsam3s2.bin at address 0x20000800
This is for the smaller processor (3S2 not 3S4), and is probably why you get:
-E- Memory Overflow
at the end of the review output.
The firmware has got bigger and no longer fits in 128K (the size of the 3S2), until it got this big the '3S2 applets worked.

Here is a .zip of the applets you need in the c:/....../ATMEL\sam-ba_2.11\tcl_lib\at91sam3s4-9x directory.
at91sam3s4-9x.zip
(9.23 KiB) Downloaded 313 times
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

Now i get this:
=================================================================================
Started SAM-BA
C:/Program/ATMEL Corporation/sam-ba_2.11/sam-ba.exe \USBserial\COM10 at91sam3s4-9x C:/DOCUME~1/Jidder/LOKALA~1/Temp/temp.tcl
=================================================================================
-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.11 on : windows
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM10
-I- argv 1 : at91sam3s4-9x
-I- argv 2 : C:/DOCUME~1/Jidder/LOKALA~1/Temp/temp.tcl
-I- Connection : \USBserial\COM10 (target(comType) = 0)
-I- Board : at91sam3s4-9x
-I- Traces Level : 4
-I- target(handle) : 23023424
Read device Chip ID at 0x400e0640 --- get 0x00000000
Read device Chip ID at 0x400e0740 --- get 0x28a00960
-I- Found processor : at91sam3s4 (Chip ID : 0x28a00960)
sourcing device file C:/Program/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/devices/at91sam3s4.tcl
sourcing board description file C:/Program/ATMEL Corporation/sam-ba_2.11/sam-ba.exe/../tcl_lib/at91sam3s4-9x/at91sam3s4-9x.tcl
-I- Loading applet applet-lowlevelinit-atsam3s4.bin at address 0x20001000
-I- Memory Size : 0x0 bytes
-I- Buffer address : 0x4
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- Low level initialized
-I- Loading applet applet-flash-atsam3s4.bin at address 0x20001000
-I- Memory Size : 0x40000 bytes
-I- Buffer address : 0x20001C40
-I- Buffer size: 0xA200 bytes
-I- Applet initialization done
-I- FLASH initialized

=================================================================================
SAM-BA done - SUCCESSFUL
=================================================================================
First i got an error but when i closed that window it said samba finnished correctly.
I don´t get it.... :)
BTW:i got a SAM3S4C board in my transmitter.
//Hasse
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

Odd, before it said command line mode, now it doesn't.

Have you ever run SAM-BA directly, instead of using it from eepskye?
Worth a try to get the firmware loaded. If you load the latest firmware you will get the bootloader, which will mean you won't need to use SAM-BA again unless the board gets bricked for some reason and you have to do an erase on it.

Run SAM-BA, it should give you a connect dialog. Make sure the board is "at91sam3s4-9x" and the port is your "\USBserial\COM10".

Then just choose your file in the send file box and click the "SEND FILE" button.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

I removed Samba 2.11 and upgrades to 2.12.
Still no success.
If i connect directly to samba it reads and says:
Samba2.12.JPG
My brain is hurting , this is not for me....... :oops:
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

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

Re: eepSKYe

Post by jhsa »

MikeB wrote:Odd, before it said command line mode, now it doesn't.

Have you ever run SAM-BA directly, instead of using it from eepskye?
Worth a try to get the firmware loaded. If you load the latest firmware you will get the bootloader, which will mean you won't need to use SAM-BA again unless the board gets bricked for some reason and you have to do an erase on it.

Run SAM-BA, it should give you a connect dialog. Make sure the board is "at91sam3s4-9x" and the port is your "\USBserial\COM10".

Then just choose your file in the send file box and click the "SEND FILE" button.

Mike.
After you click "send" and the fw is flashed, another window will come up asking if you want to lock somethng. Can't remember what. But you must click "no"

Joao

Sent from my GT-I9195 using Tapatalk
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
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

Your absolutely right JHSA and as you can see
at the second line from the end it says:
Do not lock.
Hm so it´s not that either.....
Maybe time for a BEER!
:lol:
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

That seems to have written the firmware OK. I assume you are saying it doesn't run when you power on.
On the SAM-BA window, click on the Execute button beside the Boot from flash (GPNVM1) window, then see if the firmware runs.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Suncoaster
Posts: 313
Joined: Thu Dec 29, 2011 10:18 am
Country: Australia
Location: Cooloola Cove, Australia

Re: eepSKYe for Linux

Post by Suncoaster »

I have seen references for a version for Linux(Ubuntu) but I have not been able to find a site to download the .deb file. Can someone point me to this file please.

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

Re: eepSKYe

Post by MikeB »

Here:
http://code.google.com/p/eepe/source/br ... e-i386.deb
right click on "view raw file" and select "save as".

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
Suncoaster
Posts: 313
Joined: Thu Dec 29, 2011 10:18 am
Country: Australia
Location: Cooloola Cove, Australia

Re: eepSKYe

Post by Suncoaster »

Thanks for that Mike, much appreciated.

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

Re: eepSKYe

Post by skylark »

Mike,
eepskye seem to be throwing a tantrum again. On start-up error message says "unable to check for updates".
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.
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

"That seems to have written the firmware OK. I assume you are saying it doesn't run when you power on.
On the SAM-BA window, click on the Execute button beside the Boot from flash (GPNVM1) window, then see if the firmware runs."

Mike.

So sorry been away with my work for two weeks.
Now i will give it a new try.
I have done a factory reset , shorting out with jumpers.
When i try to load the new firmware nothing happens , it´s dead.
I´m trying with eepskye and directly with samba.
Samba Memory overflow.JPG
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

Stan: I've spotted that and have the fix.

Hasse: Check your ersky9x_rom.bin is correct (and not an HTML page for example). The latest file should be about 155K.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

It´s 153k
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

I'm guessing there is something wrong in your at91sam3S4-9x directory, particularly as you don't have the co-processor tab available.
Before, when you seem to have a successful flash, you had at91sam3S4-ek selected as the board type.

I suggest the following, in this order:
Use the erase again to start 'blank'.
Use SAM-BA with at91sam3S4-ek (that's ek NOT 9x).
Flash the firmware.
Run the GPNVM1 script.

See if it now boots. If it does, then you should be able to forget SAM-BA as you will have the bootloader.
Get eepskye.exe r392. This supports the bootloader. In menu burn|configure don't tick "use SAM-BA".

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
skylark
Posts: 197
Joined: Mon Jul 09, 2012 6:18 pm
Country: -
Location: Oxford, England

Re: eepSKYe

Post by skylark »

MikeB wrote:Stan: I've spotted that and have the fix.

Hasse: Check your ersky9x_rom.bin is correct (and not an HTML page for example). The latest file should be about 155K.

Mike.
Cheers Mike. As always you are on the ball. Great stuff.
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.
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

Yes finally it´s alive , thanks Mike....
But now it says ALERT update co-processor???
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

Ah! At the moment, the only way of updating that is to use SAM-BA, which will need the at91sam3S4-9X directory being correct.
I have it planned to add a method to update the co-processor from a file on the SD card from the main software, but I haven't had time to write it.

To sort SAM-BA, look at this post:viewtopic.php?f=7&t=545&start=1110#p65475.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

Hihi now i got Donald duck on my TX.
Voice working.
SVN: Ersky9x-r199
VERS: V.2657-mike
DATE: 25.01.2014
MOD: REV B
Co Proc 0101
This is what i have on my TX now And still the update coprocessor shows up.
I can´t get the clock to work neither , i cant set the clock it doesn´t store my values...
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

The clock is on the co-processor. The current revision for the co-processor is 0106. I'm afraid you will need to sort SAM-BA to updaet the co-processor until I get time to put that code into the firmware. The co-processor is a separate processor (ATTINY167) that needs its firmware updated.

It is possible to use a USBASP, connected to certain pins of the header that connects to the coprocessor. It is documented somewhere on the forum! (I'll look for it later if you want to try that, rather than getting SAM-BA working).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

But i have got samba working now thats why i got voice or am i wrong...
Ahh i don´t have the co processor tab in Samba.
I´ve looked through this:
http://openrcforums.com/wiki/index.php/ ... e_software
But i can´t see what i´m doing wrong???
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

When i go to C:\Program\Atmel\sam-ba_2.12\applets
I´v got:
applet-coprocessor-atsam3s4.bin
applet-flash-atsam3s4.bin
applet-lowlevelinit-atsam3s4.bin
applet-serialflash-atsam3s4.bin
Are they supposed to be somewhere else???
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

A few posts back there is a zip (at91sam3s4-9x.zip).
You need to unzip this in the tcl_lib directory of SAM-BA.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

That´s what i did that´s what´s got me going.
applets.JPG
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

Those files don't seem to be in the right place. You don't want them in the applets directory. In the zip they are in the at91sam3S4-9x directory, this is where they need to be. It is a sub-directory of the tcl_lib directory. The boards.tcl file also needs to be in the tcl_lib directory.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

I will try to rearrange samba when i get home this weekend. ;)
Another week away from home , working :mrgreen:
Best regards , Hasse.
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: eepSKYe

Post by MikeB »

With any luck, you can forget SAM-BA. I've added co-processor update to maintenance mode.
You need to flash the latest test version, see:
viewtopic.php?f=7&t=4676#p65894

While in bootloader mode, copy TinyApp.bin to the firmware sub-directory.

Now restart the Tx while holding both horizontal trims APART. You should now be in maintenance mode and have options to:
Update Bootloader
Update CoProcessor

Select "Update CoProcessor" with the DOWN key then the MENU key.
Now select "TinyApp.bin" and press MENU LONG, then confirm with MENU LONG.
Done.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: eepSKYe

Post by Hasse.69 »

Brilliant Mike as always.
Will try as soon as i´m home again.
Still out on work....
Best regards , Hasse.
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
skylark
Posts: 197
Joined: Mon Jul 09, 2012 6:18 pm
Country: -
Location: Oxford, England

Re: eepSKYe

Post by skylark »

Hi Mike,
I can tell you have had another glass of vino. Eepskye r393 is showing r397 ready.
It downloads a file and install it but r393 remains status quo. Just thought I'd report.
One more glass coming up. Cheers.
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.

Post Reply

Return to “eepSKYe”