HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jul 23, 2012, 04:51 PM
Registered User
Joined Mar 2010
22 Posts
Ok, thanks for the fuses/crystal

Yup, forgot about the power problem. What if the prog box has plug which you connect to transmitter via existing extension lead and the gain plug goes to prog box?
andrejsstrumfs is offline Find More Posts by andrejsstrumfs
Reply With Quote
Sign up now
to remove ads between posts
Old Jul 23, 2012, 05:25 PM
OlliW
Joined Sep 2009
1,580 Posts
Quote:
What if the prog box has plug which you connect to transmitter via existing extension lead and the gain plug goes to prog box?
this would technically solve the power supply issue... if it's convenient any one has to decide for her/himself.

This brings up the next issue, namely that all the code with all the features has to fit into 8kB flash... it was in fact one of the main challenges to develop a prog box ability which doesn't consume much memory. At the moment there is only few 100 byte flash left...

the best thing would be if ASSAN would have used a larger ATmega and if they would have had a dedicated programming port... then a lot cool features would be possible and many things would be much easier... but they don't... (yet it's by far the best hardware item for our purposes I know about )
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Jul 23, 2012, 05:59 PM
Registered User
Joined Mar 2010
22 Posts
Duh...
Ok, i see that everything is thought out already
andrejsstrumfs is offline Find More Posts by andrejsstrumfs
Reply With Quote
Old Jul 23, 2012, 06:38 PM
OlliW
Joined Sep 2009
1,580 Posts
Quote:
everything is thought out already
no, I wouldn't say that, but it's thought out at least to some significant degree
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Aug 08, 2012, 04:42 PM
Registered User
United States, CO, Caon City
Joined Aug 2012
1 Posts
Obtaining Firmware V016

This question is related to the link Olliw posted on the first page of this thread to obtain the most current firmware:

Has anyone else had trouble with registration on the olliw.eu site and downloading the new v016 firmware? I have tried multiple PC's, different browsers, and tried registering multiple times and keep getting security related error messages that prevent me from downloading the firmware. I have completed the load of the bootloader on the gyro, but I need the new .zip package for the new firmware to load it on my GA250's. Does anyone have any suggestions or a way that I can get the zip file for the most recent firmware package?

Any help would be MUCH appreciated. Thank you all in advance!!
dspctech is offline Find More Posts by dspctech
Reply With Quote
Old Aug 08, 2012, 04:57 PM
Registered User
Steve Joblin's Avatar
Blue Bell, PA USA
Joined Sep 2008
912 Posts
I was asked by OlliW to not send out his software... if you want version 16, please contact OlliW directly.

Thanks,

Steve
Steve Joblin is offline Find More Posts by Steve Joblin
Last edited by Steve Joblin; Sep 04, 2012 at 02:02 PM.
Reply With Quote
Old Aug 10, 2012, 01:04 AM
Registered User
Joined Oct 2010
2 Posts
hi everyone. first I have to say thank you to Olliw for sharing this fw. BTW, I'm using a DIY adapter ( CH340 serial adapter and a circuit from the idiot guide). BTW, the 2.7k ohm resistor didn't work and I increased the value step by step and finally found 5.8k ohm started to work(not stable, loss connection immediately after connected). Now, I'm using 8.2k ohm. I was so excited to get the gyro connected. However, I couldn't flash the fw, neither v0.14 or v0.15. Here is the log:

10.08.12-15:09:20-114 > Connecting on port COM2...
10.08.12-15:09:20-117 > Timeout.Connect = 50 ms
10.08.12-15:09:20-119 > Timeout.Base = 50 ms
10.08.12-15:09:20-121 > Timeout.Erase = 10 ms
10.08.12-15:09:20-131 > Timeout.Flash = 15 ms
10.08.12-15:09:20-134 > Timeout.Eeprom = 10 ms
10.08.12-15:09:20-135 > Timeout.Buffer = 1 ms
10.08.12-15:09:20-137 > Timeout.AppCmd = 0 ms
10.08.12-15:09:20-139 > Timeout.KeepAlive = 250 ms
10.08.12-15:09:20-142 > Timeout.RTSPulse = 0
10.08.12-15:09:20-143 > Timeout.RTSInterval = 0
10.08.12-15:09:20-146 > Timeout.ConnectTrials = -1
10.08.12-15:09:20-148 > Timeout.MaxPacketSize = 0
10.08.12-15:09:20-153 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:20-372 > received data $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52 3E 1E
10.08.12-15:09:20-375 > Switch to 1-Wire mode
10.08.12-15:09:20-378 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:20-595 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:20-814 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:21-033 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:21-252 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:21-457 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:21-674 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:21-892 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:22-115 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:22-331 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:22-550 > send ident $00 00 00 00 00 00 00 00 00 0D 42 4F 4F 54 4C 4F 41 44 45 52
10.08.12-15:09:22-774 > received data $93 07 06 08 30
10.08.12-15:09:22-831 > Timer created
10.08.12-15:09:22-833 > Device connected
10.08.12-15:09:23-076 > send keepalive
10.08.12-15:09:23-321 > send keepalive
10.08.12-15:09:23-584 > send keepalive
10.08.12-15:09:23-849 > send keepalive
10.08.12-15:09:24-103 > send keepalive
10.08.12-15:09:24-364 > send keepalive
10.08.12-15:09:24-637 > send keepalive
10.08.12-15:09:24-887 > send keepalive
10.08.12-15:09:25-144 > send keepalive
10.08.12-15:09:25-409 > send keepalive
10.08.12-15:09:25-659 > send keepalive
10.08.12-15:09:25-924 > send keepalive
10.08.12-15:09:25-967 > Timer released
10.08.12-15:09:25-970 > Program...
10.08.12-15:09:25-981 > execute compiled data
10.08.12-15:09:25-984 > selected options in compiled file:
10.08.12-15:09:25-988 > - programming FLASH
10.08.12-15:09:26-458 > Cmd.SetBuffer.WriteData() ICOM: write error.
10.08.12-15:09:26-598 > Timer created
10.08.12-15:09:26-860 > send keepalive
10.08.12-15:09:26-877 > Timer released
10.08.12-15:09:26-892 > keepalive failed, terminate connection
10.08.12-15:09:26-913 > Device disconnected
kenw92 is offline Find More Posts by kenw92
Reply With Quote
Old Aug 11, 2012, 05:37 AM
Registered User
Joined Mar 2010
22 Posts
Quote:
Originally Posted by OlliW View Post
no, I wouldn't say that, but it's thought out at least to some significant degree
Hi again!

Now i made diy program box on prototype board, using atmega8 and your custom firmware. The box itself works, and is displaying the text, but i cannot get the gyro connected - it just says that device is not connected. Any ideas on this?
andrejsstrumfs is offline Find More Posts by andrejsstrumfs
Reply With Quote
Old Aug 13, 2012, 04:30 AM
Registered User
MGeo's Avatar
New York
Joined Nov 2003
509 Posts
Quote:
Alles was an Software/Firmware ntig ist hier zusammen als zip File:
GA250 gyro firmware & software v016 [.zip] (Bitte Geduld, dein Account ist fr Zugriffe noch nicht freigegeben)
Hello OlliW,

Would you please be so kind as to approve my application.

Best Regards,
George
MGeo is online now Find More Posts by MGeo
Reply With Quote
Old Aug 13, 2012, 07:35 AM
Registered User
Steve Joblin's Avatar
Blue Bell, PA USA
Joined Sep 2008
912 Posts
I was asked by OlliW to not send out his software... if you want version 16, please contact OlliW directly.

Thanks,

Steve
Steve Joblin is offline Find More Posts by Steve Joblin
Last edited by Steve Joblin; Sep 04, 2012 at 02:03 PM.
Reply With Quote
Old Aug 13, 2012, 05:55 PM
OlliW
Joined Sep 2009
1,580 Posts
@dspctech:
please see PM

@kenw92:
the DIY adapter can be a pain to get it working, often it does but sometimes it doesn't. I didn't got how you confirmed that with 8.2k it is working... I mean, since the flash doesn't work it seems that the connection is not yet stable... I can't really give any advice, sicne, as I said, teh DIY adapter is tricky and every single item needs it's individual solution. The only advice I can give is to use the FTDI adapter. Form HK it's cheap now.

@andrejsstrumfs:
The programing box firmware is for the atmega88 or atmega88pa, but not the atmega8. The m8 and m88 are not fully compatible. Please use the m88/m88pa.

@MGeo:
check webpage again

@ALL:
although not really relevant to most readers here, but Mick Steidl has made the heroic effort to translate to German and extend the manuals by Holger and myself. See the project webpage http://www.olliw.eu/2011/ga250-gyro-firmware/#manuals. THANKS, Holger and Mick, for your hard work to support this project!
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Aug 14, 2012, 01:19 AM
Registered User
Joined Mar 2010
22 Posts
Quote:
Originally Posted by OlliW View Post

@andrejsstrumfs:
The programing box firmware is for the atmega88 or atmega88pa, but not the atmega8. The m8 and m88 are not fully compatible. Please use the m88/m88pa.

Hi!

I use the firmware you made specially for atmega8, which was posted earlier in this thread. Or is it not going to work with v016 gyro firmware?
andrejsstrumfs is offline Find More Posts by andrejsstrumfs
Reply With Quote
Old Aug 14, 2012, 04:02 AM
Registered User
MGeo's Avatar
New York
Joined Nov 2003
509 Posts
Got it. I'll get on to programming.

Thank you OlliW, and thank you for your offer Steve.

George
MGeo is online now Find More Posts by MGeo
Reply With Quote
Old Aug 14, 2012, 04:03 AM
OlliW
Joined Sep 2009
1,580 Posts
hahaha... I totally forgot about that

I have remodelled my DIY boc for another purpose, so I can't double check what I did, but, yes, you're right, the firmware should be working. However, my response to your question about the fuses was then INCORRECT, since also the fuses are different for m8 and m88(pa)... sorry for that. For the DIY box with ATmega8 I have this comment in my source file:

DIY: atmgea8
- SUT1:0= 11, CKSEL3:0= 1111, BODEN=0, BODLVL=1, Bootloader @ PD1/TXD with key, Fuses BOOTSZ1:0= 10, BOOTRST= 0
- low fuse: 0xBF, high fuse: 0xDC

I don't know whether you are using a bootloader. I guess not (since I seem not to have posted it for the DIY box), in that case the bootfuses should not be set. So, low fuse: 0xBF, high fuse: 0xD9. I don't know though whether the different fuses would affect the connectability between progbox and GA250. Maybe Hyvok can jump in and tell what he used.

If the fuses are not the issue and hardware wise everything else is double checked then you have to tell/show us a bit more about your box... I mean , the evil could sit everywhere. You're sure your ATmega8 is running at 8MHz from a crystal/ceramic? Could you describe how you tried to connect to the GA250? A (good) photo of your setup (showing the details)? I notice that in contrast to Hyvok scheme I did not use the 100Ohm resistor in the Rx/Tx line (R2 in Hyvok's scheme), not sure what this does.

I am connvinced that it is just a "little" thing which prevents correct operation, it might be just hard to find it... so, don't give up...

Olli
OlliW is offline Find More Posts by OlliW
Reply With Quote
Old Aug 14, 2012, 04:34 AM
Registered User
MGeo's Avatar
New York
Joined Nov 2003
509 Posts
OlliW,

Thank you for your awesome work.

I am trying to replicate your analyses from (http://www.rcgroups.com/forums/showthread.php?t=1538273) to gain a greater understanding of how the gyro works.

Would you be willing to share the Xcos model files from reply #5 (http://www.rcgroups.com/forums/showp...59&postcount=5) in the post above? I would like to exercise them in Scilab/Xcos. I've downloaded and installed Scilab/Xcos (can't believe it is free!). I'm still climbing the learning curve to build and run models, source files would get me to there much with less chance for errors.

Best Regards,
George
MGeo is online now Find More Posts by MGeo
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion A Free firmware project for the GA250 Gyro cruzado Mini Helis 344 Apr 29, 2014 04:19 AM
Discussion GA250 gyro issues rangamatchstic Electric Heli Talk 29 Jan 20, 2012 09:33 PM
Sold Assan MEMS GA250 gyro Jonathan Ott Aircraft - Electric - Helis (FS/W) 0 Jan 12, 2012 07:21 AM
Sold assan ga250 mems gyro $15 shipped ohsnap Aircraft - Electric - Helis (FS/W) 2 Oct 27, 2011 09:57 AM
Found ga250 gyro tcb22185 Aircraft - Electric - Helis (FS/W) 1 Sep 21, 2011 06:44 PM