View Single Post
  #1   Spotlight this post!  
Unread 18-01-2007, 18:45
josh291 josh291 is offline
Registered User
FRC #0291 (CIA)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Erie, Pennsylvania
Posts: 6
josh291 will become famous soon enoughjosh291 will become famous soon enough
Our two problems...

First and least important of all, is our problem with uploading the code. I've read through the entire thread on this problem and we're obviously not the only ones. =O

We use the IFI loader to upload the code as I am not very fond of easyC and every once and a while it would cease to upload and tell us that the controller is not there, whilst the function in the program that detects the controller says that it is there. It may be relevant that whenever we are having this problem the "Code Error" LED will light up and while the programming led will turn solid orange, it will stay that way forever as if the controller had locked up.

It works every once and a while on each and every computer then randomly stops. Since it occurs on every computer rather randomly I'm assuming it is a hardware/firmware problem. We've managed to get around this problem by switching between the 3 computers we have nearby whenever one stops, but it would eliminate a lot of stress if this problem could be solved.

======

Problem number two is far more important. The design team tells my fellow programmers and I that we need the camera this year. I've followed all the instructions for installing the camera, serial, and tracking code, however when we run the controller with all of the hardware attached correctly, the camera comes on, twitches, then stops. Last year our camera was tracking fine, although I did not do any of the programming and it was not included in our design.

We've tried inserting random printf statements to see where the code is and is not running and the window that pops up after loading the code prints the message. It is my understanding that when the Servo_Track() function is called it initializes the variables and then goes into the Tracking_Initialized if statement which sets the camera to its default position. We get the printf function from this section of the code but the servos till do not move.

Thanks in advance for any help, and sorry in advance for any conveniences this may cause during these very busy few weeks.