|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Code Error when I try to program it
Quote:
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. |
|
#2
|
||||
|
||||
|
Re: Code Error when I try to program it
Quote:
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). |
|
#3
|
|||
|
|||
|
Re: Code Error when I try to program it
If you can, find another laptop with regular serial ports. It doesn't have to be powerful, we used a PII our first couple years. Make sure you use the new black cables in the KOP. Run IFI loader 1.10 *.hex files using a Flash Stick to verify correct operation.
It may be the restrictions the school district is placing on your user account. Industry and schools get a little carried away with security because some hackers love a challenge. Restricting serial ports is not unheard of. It might also be interrupt errors within the laptop your using. Sometimes other devices use the same interrupts. This problem existed more with Win98, WinME, and some Win2K installations. XP doesn't care. Also check the settings of the serial port. I think the settings are 115K baud, 8 data bits, 0 stop bits, no parity. Check the IFI Programming tips manual to be sure. Download into the robot the default.hex file from FIRST. This should ALWAYS work if no changes have been made to it. If the above does work, then you have a program error in your code. That Dreaded red light of death ( or orange in your case because it happened so fast) does appear quick if there is a While loop error in Initialization. I hope this helps. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error in code light on, trouble finding error | Bryan Herbst | Programming | 16 | 12-10-2007 21:59 |
| Error when compiling | paulcd2000 | Programming | 2 | 21-01-2007 14:05 |
| Code error on RC after downloading "bells and whistles" version of Kevins camera code | DanDon | Programming | 6 | 10-01-2006 18:07 |
| InterruptVectorLow error when we compile | Redneck | Programming | 5 | 02-02-2005 22:57 |
| Error when tried to delete thread... | Matt Attallah | CD Forum Support | 4 | 18-01-2004 21:37 |