Coprocessor option for sky9x

Support & Help for the sky9x upgrade board
Post Reply
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Coprocessor option for sky9x

Post by Rob Thomson »

So... Everyone is seeming to be doing the coprocessor update.

Now what does this give me that makes it worth doing? What extra features :)


Sent from my iPhone using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!

User avatar
Crucial
Posts: 581
Joined: Tue Dec 27, 2011 6:56 pm
Country: -
Location: SE WI, USA

Re: Coprocessor option for sky9x

Post by Crucial »

Time and date so you can use it as an alarm clock?
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Coprocessor option for sky9x

Post by Rob Thomson »

That it?


Sent from my iPhone using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
SkyNorth
Posts: 958
Joined: Tue Dec 27, 2011 11:40 am
Country: -
Location: Mansfield , Ontario

Re: Coprocessor option for sky9x

Post by SkyNorth »

If you load the current ATTINY APP code and supply a battery for backup power , then you will have a RTC (real time clock)
that keeps its time / date settings with main power off.
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Coprocessor option for sky9x

Post by Rob Thomson »

Ok... Not sure I will bother to do the update :).

Well... Not yet! Have opened my tx too much recently with all the sdcard testing!

Rob


Sent from my iPhone using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!

Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Coprocessor option for sky9x

Post by Romolo »

Good reasons to perform the update:
Telemetry logs: you can have proper time stamps
Temperature: the arm temperature sensor has proven to be completely wrong, using attiny one you can calibrate the arm one efficiently.

Things to know before performing the update:
You may be in the following condition:

You are one of the first beta tester: your coprocessor has for sure no bootloader and you need to flash one using an ISP programmer, see the following part of the post.
You purchased a later board: your coprocessor has already the bootloader but you need to load an application on it.
To know if your coprocessor has a bootloader or the proper version of the app you can use the radio:
In ersky9x:
You press [UP] LONG
screenshot-1.png
screenshot-1.png (1.46 KiB) Viewed 20700 times
If Co Proc line indicates:
0181 coprocessor has the boot loader
0102 coprocessor has the boot loader and TinyApp version 2 (RTC only)
0103 coprocessor has the boot loader and TinyApp version 3 RTC and temperature

In Open9x:
You press [LEFT] and you in general views till you get:
screenshot-2.png
screenshot-2.png (1.44 KiB) Viewed 20700 times
If CoPr line indicates:
81 coprocessor has the boot loader
2 coprocessor has the boot loader and TinyApp version 2 (RTC only)
3 coprocessor has the boot loader and TinyApp version 3 RTC and temperature

To get the RTC work properly you need to fit a backup battery (3V or about) inside the radio.

If your attiny has no bootloader:
you can follow my instructions here: viewtopic.php?f=7&t=40&start=270#p24945
if your USBASP programmer is not 3.3V capable you should follow this cabling schema:
viewtopic.php?f=7&t=4&start=720#p25145

The avrdude actually (v1.01) supplied with companion9x does not support attiny167, next version will include the mods in the avrdude.conf
If you need the file you can get from here: http://companion9x.googlecode.com/svn/t ... rdude.conf

Your attiny167 has a boot loader and coproc info is either 0181 (ersky9x) or 81 (open9x):
No tinyapp has been loaded.

Your attiny167 has a boot loader and coproc info is either 0102 (ersky9x) or 2 (open9x):
RTC will be working but temperature no.
In both cases you need to install/upgrade tinyapp following this instructions:
http://openrcforums.com/wiki/index.php/ ... tion_guide
User avatar
Crucial
Posts: 581
Joined: Tue Dec 27, 2011 6:56 pm
Country: -
Location: SE WI, USA

Re: Coprocessor option for sky9x

Post by Crucial »

My earlier post was not really serious in case there is confusion. I appreciate everything the developers are doing and don't want to say something that is taken the wrong way.
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Coprocessor option for sky9x

Post by Romolo »

Crucial wrote:My earlier post was not really serious in case there is confusion. I appreciate everything the developers are doing and don't want to say something that is taken the wrong way.
Don't worry.... but you suggested a new feature... (that btw will never be implemented :mrgreen: )
Time to go home function, the preferred one by modellers' wives. :D
User avatar
Crucial
Posts: 581
Joined: Tue Dec 27, 2011 6:56 pm
Country: -
Location: SE WI, USA

Re: Coprocessor option for sky9x

Post by Crucial »

LOL This reminds me of the cell phones that go off at the park. We always know it's a wife calling to ask when they are coming home.
Irish Steve
Posts: 149
Joined: Thu Dec 29, 2011 10:04 pm
Country: -
Location: Ashbourne Co Meath

Re: Coprocessor option for sky9x

Post by Irish Steve »

Romolo wrote:Don't worry.... but you suggested a new feature... (that btw will never be implemented :mrgreen: )
Time to go home function, the preferred one by modellers' wives. :D
The Time to go home function is the one that's needed when the system detects that the vertical speed was higher than a set value and the altitude was less than 10 Ft. We did something similar on the PC based flight simulator system years ago when EGPWS (ground proximity warning) was first implemented. Instead of "whoop whoop Pull up", it started with "30 seconds to impact", then counted down at 10 second intervals, and at 1 second, a plantive female voice played "Goodbye". The first time it made a "public" appearance, it was a while before we were able to continue the presentation, the place fell about laughing. Never say never. :mrgreen:
Irish Steve

If it was easy, shure, would't we all be doin it?

_
RJM
Posts: 23
Joined: Fri Aug 17, 2012 10:27 pm
Country: -
Location: Burlington, Ontario

Re: Coprocessor option for sky9x

Post by RJM »

I've load version 1464 of Open9x and showing "---" for CoPr: instead of any #s. Does this mean I do not have the TINY167 boottloader?
Romolo
9x Developer
Posts: 1109
Joined: Sat Dec 31, 2011 12:11 am
Country: -
Location: Massa (MS), Tuscany, Italy

Re: Coprocessor option for sky9x

Post by Romolo »

RJM wrote:I've load version 1464 of Open9x and showing "---" for CoPr: instead of any #s. Does this mean I do not have the TINY167 boottloader?
There is a mistake related to coproc in 1464; your coprocessor already has the bootloader.
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: Coprocessor option for sky9x

Post by ShowMaster »

I just upgraded to ersky9x r167 and I get a warning to update my Co-Processor.
On the version page the Co-Proc = 0102 and this is a ver B board.
My clock works from a past update.

I know we've been through this many times but please walk me through it again.
Primarily I need to know that the tiny app I'm to use is the latest on wiki. I'm not sure of the version # of various links I'm finding.
Then if its just as before I can reread if necessary the posted operations required. I also have a ver c board that's probably going to need the same tiny app update when I upgrade the FW to r167.
Thanks
SM


Sent from my iPod touch using Tapatalk.
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Coprocessor option for sky9x

Post by MikeB »

The TinyApp is on the ersky9x googlecode repository:
http://code.google.com/p/ersky9x/source ... inyapp.bin
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!
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: Coprocessor option for sky9x

Post by ShowMaster »

I'll give it a try.
SM




Sent from my iPod touch using Tapatalk.
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: Coprocessor option for sky9x

Post by ShowMaster »

Dumb me!
Help.
SamBa doesn't show a CoProc tab. Am I missing a step or an app?
This is my xp netbook that's not been used for a tiny app upgrade before.
It does work for programming FW and model memories.
So close ....
SM


Sent from my iPod touch using Tapatalk.
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Coprocessor option for sky9x

Post by MikeB »

erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: Coprocessor option for sky9x

Post by ShowMaster »

Thanks again mike.
I read all that and I do have the files loaded but I used a download I had that worked last October thinking I'd be ok.
What's strange is everything is there except the CoProc tab?
I'll do it all again using the links and start over.
I do have a samba.zip file Brent sent me that I know had the CoProc last October I just found on my thumb drive.
Just for learning purposes, is there a CoProc script file or what ever its called, I can look for in samba to know that I should have it when I run samba?
Is the CoProc tab option a normal tab in samba or is it added as part of the -9x file we're adding to the lib files?

Can the tiny app be on my thumb drive or must it live in the samba folder?
I have 4 sky boards to update the tiny app on, 2 for me, 2 for local club members. I need to teach them how to program FW and hopefully all future updates so the teacher has to get his programs working first. I'm good except no CoProc tab so far.
SM




Sent from my iPod touch using Tapatalk.
User avatar
MikeB
9x Developer
Posts: 17979
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Coprocessor option for sky9x

Post by MikeB »

The libraries download looks to be correct.
The Co-Proc tab is added as part of the -9x file being added, it's in at91sam3s4-9x.tcl.
The TinyApp can be anywhere you like, just specify the file in SAM-BA.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: Coprocessor option for sky9x

Post by ShowMaster »

This is what I see in samba?
No CoProc tab. Still it works with c9x and eepeskye to upload and download files?
I'll start over tonight when I have time but I just don't know what's missing to not show the CoProc tab?
Thanks for your suggestions.
ImageUploadedByTapatalk1369762772.123674.jpg

Sent from my iPod touch using Tapatalk.
User avatar
gohsthb
Posts: 1412
Joined: Wed Dec 28, 2011 2:32 pm
Country: -
Location: Naperville, IL

Re: Coprocessor option for sky9x

Post by gohsthb »

Showmaster, I used the version from the sky9x mainboard upgrade page, and have had no problems. Maybe you need to remove your samba installation and reinstall. This time using this extra file download link. Samba v2.11 is still available on the google code page also -> samba v2.11
Make sure when you copy the files from the SAM-BA.zip file that you copy the 2 folders at91sam... and common, plus the boards.tcl file into the directory Program File\Atmel Corporation\sab-ba_v2.11\tcl-lib. It is possible that you created a SAM-BA folder there instead if you only unzipped the file to that location.
-Gohst
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: Coprocessor option for sky9x

Post by ShowMaster »

I'll give it a try tonight when I get home.
It is strange that the one tab is missing.
As you said, I must be modding s file so a uninstall and a reinstall per your and posted instructions should do it.
I'll report back with my success!
SM



Sent from my iPod touch using Tapatalk.
User avatar
Hasse.69
Posts: 143
Joined: Fri Dec 30, 2011 8:59 pm
Country: -
Location: Ostergotland Sweden

Re: Coprocessor option for sky9x

Post by Hasse.69 »

So how did you do it i´m in the exact spot where you left..... :)
My co-processor tab is missing to Samba 2.12.
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

Post Reply

Return to “sky9x upgrade board”