View Single Post
  #10   Spotlight this post!  
Unread 28-01-2008, 17:02
iPilipino's Avatar
iPilipino iPilipino is offline
Registered User
FRC #2347 (C-Bots)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Copiague, NY
Posts: 24
iPilipino is an unknown quantity at this point
Re: Code Error when I try to program it

Quote:
Originally Posted by adamm View Post
The Code error Light on the Operator interface is supposed to turn red when you are in program mode.

Now, if the robot automaticly sets the Program State light to orange when it gets power, you still have to press it down for 4-5 seconds.

There are a few things to check, first make sure everything is wired and working properly; you could have a faulty DB9 Cable. Make sure you are plugged into the program port all the way. Now, if you are using a Serial to USB, Make sure you have the correct COM port. The Adapter will sometimes pick a different com port each time you plug it in (Ours will change COM ports randomly, I'm really not sure why).

You can check for the COM port in device manager. to get to Device manager, right click on My Computer, then click properties. I can't remember on which tab device manager is (I have vista), so click throught them to find it. in Device Manager, you should see an entry for Printer and COM ports (Or something similar to that). Open the List. You should see you adapter listed with the COM port listed after it.

the COM port isnt a problem because I figured that i have to use a certain COM port. So I got that working.

Going to the device manager is a problem because I am using a school computer to program it and it has SO MANY restrictions.

Maybe we do have a faulty DB9 because when Mark McLeod went to my school to help us with programming, he used his own laptop that doesnt need a DB9 to connect. It had its own built-in port. So maybe the DB9 is the problem. Im not 100% sure about that though, so if you guys got other ideas to help me upload the program in the controller, then please just let me know. I tried every single thing that you guys said and it still didnt work. Maybe it is the DB9 because thats the only thing we havent tried (I mean using a different one).
__________________
"The things that come to those who wait may be the things left by those that got there first."