Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   gyro help (http://www.chiefdelphi.com/forums/showthread.php?t=33791)

kjohnson 01-02-2005 18:06

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.

Kevin Watson 01-02-2005 20:20

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 02-02-2005 01:25

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

kjohnson 02-02-2005 11:07

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.

kjohnson 02-02-2005 16:51

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.

Kevin Watson 02-02-2005 19:11

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

kjohnson 03-02-2005 07:56

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.


All times are GMT -5. The time now is 08:56.

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