Go to Post Instead of prototyping with plywood and machining metal for the final version, they make their prototypes out of sheet metal and machine the final robot out of wood. :) - Chris is me [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 28-01-2008, 21:45
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
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.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
 


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
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


All times are GMT -5. The time now is 19:09.

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