Go to Post our electronics boards had begun to look like we'd planted a wire bush and it grew - daltore [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 02-03-2004, 10:28
InnovationFirst's Avatar
InnovationFirst InnovationFirst is offline
Official FIRST Supplier
no team
 
Join Date: Nov 2002
Location: Greenville, Tx
Posts: 28
InnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond repute
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Since nobody else has mentioned it on this thread, we would like to remind you that whenever you get a flashing red Program State LED indicating a code error, you can find out more information by using the Dashboard Viewer.

Make sure your OI and RC are linked via tether or radio, connect your PC's serial port to the DASHBOARD port on your OI, make sure the OI/RC jumper is set to "RC", and you will see details about the type of error which caused the flashing red LED at the bottom of the Dashboard Viewer window.

This is how we diagnosed Astronouth's problem, and it may also help you, Kesich.

Regards,
The Firmware Team
Innovation First, Inc.
  #17   Spotlight this post!  
Unread 02-03-2004, 14:00
bigqueue bigqueue is offline
Registered User
#0811 (A.R.C.)
 
Join Date: Dec 2001
Location: Nashua, NH
Posts: 231
bigqueue will become famous soon enough
Send a message via AIM to bigqueue Send a message via Yahoo to bigqueue
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by ToMMan b182
try updating the firmware.. or if you already did try hitting it with a hammer until it works

We tried covering ours with Loctite, and it made all our code problems go away. (Actually, it made all the plastic sides of the robot controller go away, and the code would no longer run.....)

VIOLA...no more nasty code bugs!

-Quentin
__________________
Team 4987: Megarams
  #18   Spotlight this post!  
Unread 02-03-2004, 20:30
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by InnovationFirst
Since nobody else has mentioned it on this thread, we would like to remind you that whenever you get a flashing red Program State LED indicating a code error, you can find out more information by using the Dashboard Viewer.

Make sure your OI and RC are linked via tether or radio, connect your PC's serial port to the DASHBOARD port on your OI, make sure the OI/RC jumper is set to "RC", and you will see details about the type of error which caused the flashing red LED at the bottom of the Dashboard Viewer window.

This is how we diagnosed Astronouth's problem, and it may also help you, Kesich.

Regards,
The Firmware Team
Innovation First, Inc.
Cool. Didn't know it did that.
__________________

  #19   Spotlight this post!  
Unread 04-03-2004, 09:04
JBabbie's Avatar
JBabbie JBabbie is offline
Registered User
#0201
 
Join Date: Mar 2004
Location: Michigan
Posts: 10
JBabbie is on a distinguished road
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Im having the same problem at the moment with my program ... heh , I think I might re-write the whole code, have you tried re-writing your program in the newest version of FR_code ?
__________________
SCREAMTEAM-CLICKY!
  #20   Spotlight this post!  
Unread 06-03-2004, 21:44
JBabbie's Avatar
JBabbie JBabbie is offline
Registered User
#0201
 
Join Date: Mar 2004
Location: Michigan
Posts: 10
JBabbie is on a distinguished road
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

I was having the same problem until I did the following

1) update your firm ware

2) translate all your code from the older default to the newest , dont just put your files in their , copy and paste everything you need

3) keep the back up battery plugged in

I hope that helps you, that what fixed the problem with my RC
__________________
SCREAMTEAM-CLICKY!
  #21   Spotlight this post!  
Unread 06-03-2004, 23:20
Daniel Daniel is offline
Daniel Katanski
#0240
Team Role: Mentor
 
Join Date: Feb 2004
Location: Monroe, MI
Posts: 32
Daniel is on a distinguished road
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Someone mentioned printf working strangely...

I put printf statements through out my program to trace and debug it.

But the program's output has been appearing erratically all of a sudden! That is sometime it just doesn't perform the printf or skips a function call. Has anyone heard of this before? Any solutions?

So much great code, and so little time to debug it!
  #22   Spotlight this post!  
Unread 07-03-2004, 07:04
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

We started getting a similar error. We then spent 3 hours removing parts of our code until we got all the way down to an empty main function with no interrupts. Then we rebuilt main using only the necessary functions to establish communication between the master and the user. Then we readded all our previous code, and it worked. Then we compared the version that worked with the version that didn't work.

Apparently, if you put a printf in your code anywhere before you call Initialize_Serial_Comms(), your program will enter a state where the program state led is flashing red/green and not even turning the robot off and back on will fix it. And it doesn't do it the first time you run the code. It only enters that state once you download the code then reset the robot, and once it enters that state it never leaves until you redownload code (not even the special prog/reset button routine fixes it).
  #23   Spotlight this post!  
Unread 07-03-2004, 08:42
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by Daniel
Someone mentioned printf working strangely...

I put printf statements through out my program to trace and debug it.

But the program's output has been appearing erratically all of a sudden! That is sometime it just doesn't perform the printf or skips a function call. Has anyone heard of this before? Any solutions?

So much great code, and so little time to debug it!
The printf() is buffered, so it might just not be sending back the data right away. That should mean that you still get everything, just not right away, but it may be weird and do something like over writing what is already in the buffer if what is being written and what is already there is larger than the buffer can hold. Something like that. Or it may be that something changed in you code and it really is skipping those functions that you think are being called. Weird error.
__________________

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
DC Motor running as a Generator IrisLab Motors 16 12-01-2004 12:23
A vampire running for office MissInformation Chit-Chat 2 30-08-2003 14:36
auton mode running motors incorrectly BK36 Programming 2 12-03-2003 02:43
The WebCam is Up and running archiver 2001 0 23-06-2002 23:08
Was anyone else thinking about running off with a segway? Elyse Holguin Dean Kamen's Inventions 5 14-05-2002 22:54


All times are GMT -5. The time now is 13:11.

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


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