Go to Post It’s possible to make friends without agreeing on everything. - Bill Gold [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-01-2005, 05:06 PM
nukemknight's Avatar
nukemknight nukemknight is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 531
nukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond repute
gyro help

Kevin Watson,

We used the new code, did the recomended checks at the end of the read me file. The program compiled with no errors, but when it downloaded to the RC, the program state led blinked red and the operator interface showed solid code error.

We are using the BEI gryo chip AQRS-00075-109.

No print statements are working in the user.c code.
  #2   Spotlight this post!  
Unread 02-01-2005, 07:20 PM
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,331
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: gyro help

Quote:
Originally Posted by nukemknight
Kevin Watson,

We used the new code, did the recomended checks at the end of the read me file. The program compiled with no errors, but when it downloaded to the RC, the program state led blinked red and the operator interface showed solid code error.

We are using the BEI gryo chip AQRS-00075-109.

No print statements are working in the user.c code.
Make sure that you're not calling printf() before initializing the serial port(s).

Edit: And just to make sure that I haven't done something knuckleheaded, I'll load up the code on my robot controller tonight and see if I can induce a red-light-of-death.

-Kevin
__________________
Kevin Watson
Engineering consultant to
Space Exploration Technologies (SpaceX) and
Google Advanced Technologies and Projects
http://kevin.org

Last edited by Kevin Watson : 02-01-2005 at 07:25 PM.
  #3   Spotlight this post!  
Unread 02-02-2005, 12:25 AM
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,331
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: gyro help

Quote:
Originally Posted by nukemknight
Kevin Watson,

We used the new code, did the recomended checks at the end of the read me file. The program compiled with no errors, but when it downloaded to the RC, the program state led blinked red and the operator interface showed solid code error.

We are using the BEI gryo chip AQRS-00075-109.

No print statements are working in the user.c code.
Kyle,

I loaded the gyro code into my full-size robot controller and it worked as advertised. Just out of curiosity, which version of the master processor firmware is running on your robot controller?

-Kevin
__________________
Kevin Watson
Engineering consultant to
Space Exploration Technologies (SpaceX) and
Google Advanced Technologies and Projects
http://kevin.org
  #4   Spotlight this post!  
Unread 02-02-2005, 10:07 AM
nukemknight's Avatar
nukemknight nukemknight is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 531
nukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond repute
Re: gyro help

We are running version 10 of the firmware and had the OI and RC tethered when it was loaded. When I get to school today I will check our print statements and make sure they are still in the right place.
  #5   Spotlight this post!  
Unread 02-02-2005, 03:51 PM
nukemknight's Avatar
nukemknight nukemknight is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 531
nukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond repute
Angry Re: gyro help

Quote:
Originally Posted by nukemknight
We are running version 10 of the firmware and had the OI and RC tethered when it was loaded. When I get to school today I will check our print statements and make sure they are still in the right place.
The print statements were still in right place, they were checked twice, and also the code was redownloaded from your website and we still get the same errors.
  #6   Spotlight this post!  
Unread 02-02-2005, 06:11 PM
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,331
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: gyro help

Quote:
Originally Posted by nukemknight
The print statements were still in right place, they were checked twice, and also the code was redownloaded from your website and we still get the same errors.
Hmm..., Don't know what to tell you, but it works fine for me and I haven't had complaints from anyone else. Did you load the .hex file included in the .zip or did you re-compile it and load it?

-Kevin
__________________
Kevin Watson
Engineering consultant to
Space Exploration Technologies (SpaceX) and
Google Advanced Technologies and Projects
http://kevin.org
  #7   Spotlight this post!  
Unread 02-03-2005, 06:56 AM
nukemknight's Avatar
nukemknight nukemknight is offline
Insert Clever Title Here
AKA: Kyle J.
FRC #1610 (BOT)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Virginia
Posts: 531
nukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond reputenukemknight has a reputation beyond repute
Re: gyro help

We had tried it every different way we could think of. Then finally we tried uninstalling MPLAB and IFI Loader and reinstalling them - after that both codes worked fine. I don't have a clue why this was the problem because it worked with the default code. Thanks for your help.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated: Example Gyro Interface Code Kevin Watson Programming 2 03-28-2005 03:36 AM
Example gyro code released. Kevin Watson Programming 60 03-17-2005 05:32 PM
Gyro Troubles SteveO Programming 13 01-30-2005 03:46 PM
No Signal From Gyro colt527 Programming 12 10-19-2004 06:30 AM
ADXRS150 gyro yaw rate sensor Brian M. Electrical 13 10-17-2004 01:28 AM


All times are GMT -5. The time now is 02:49 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi