Page 1 of 1

Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 7:11 pm
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

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 7:15 pm
by Crucial
Time and date so you can use it as an alarm clock?

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 7:18 pm
by Rob Thomson
That it?


Sent from my iPhone using Tapatalk

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 7:24 pm
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.

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 7:31 pm
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

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 9:30 pm
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 21969 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 21969 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

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 10:24 pm
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.

Re: Coprocessor option for sky9x

Posted: Thu Oct 04, 2012 10:37 pm
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

Re: Coprocessor option for sky9x

Posted: Fri Oct 05, 2012 1:16 am
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.

Re: Coprocessor option for sky9x

Posted: Fri Oct 05, 2012 8:57 am
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:

Re: Coprocessor option for sky9x

Posted: Mon Oct 08, 2012 1:23 am
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?

Re: Coprocessor option for sky9x

Posted: Mon Oct 08, 2012 12:14 pm
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.

Re: Coprocessor option for sky9x

Posted: Mon May 27, 2013 10:38 pm
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.

Re: Coprocessor option for sky9x

Posted: Mon May 27, 2013 10:53 pm
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.

Re: Coprocessor option for sky9x

Posted: Mon May 27, 2013 11:04 pm
by ShowMaster
I'll give it a try.
SM




Sent from my iPod touch using Tapatalk.

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 12:01 am
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.

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 9:52 am
by MikeB

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 2:34 pm
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.

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 3:59 pm
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.

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 5:39 pm
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.

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 6:32 pm
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

Re: Coprocessor option for sky9x

Posted: Tue May 28, 2013 7:07 pm
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.

Re: Coprocessor option for sky9x

Posted: Sun Feb 16, 2014 3:48 pm
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.