Go to Post Give us six more motors in the kit, and we'll try and come up with something... - Karthik [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
  #1   Spotlight this post!  
Unread 20-02-2006, 10:49
iplayfast iplayfast is offline
Registered User
None #1901
 
Join Date: Feb 2006
Location: St. Marys On,Canada
Posts: 4
iplayfast is an unknown quantity at this point
Code Error after reset

When we download the code, it runs perfectly. After pushing the reset switch, it gets a code error. Of course we can't debug it, cause we just reset it.

What we've done is add Kevin's Camera and Serial Code and tracking code with changes added to the tracking code.

We've also taken out the original serial code (as per instructions) and initialized the new serial code.

I'm suspecting the serial code (which is interrupt driven) is not being initialized properly and is causing our headaches.

Has anyone else come across this? Is there a way to debug this?
  #2   Spotlight this post!  
Unread 20-02-2006, 12:34
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
Re: Code Error after reset

Have you tried commenting out the existing interrupts?
I found that when I added the serial code interrupts I needed to remove the default ones for it to work.
  #3   Spotlight this post!  
Unread 20-02-2006, 12:35
iplayfast iplayfast is offline
Registered User
None #1901
 
Join Date: Feb 2006
Location: St. Marys On,Canada
Posts: 4
iplayfast is an unknown quantity at this point
Re: Code Error after reset

Quote:
Originally Posted by JonathanLKS
Have you tried commenting out the existing interrupts?
I found that when I added the serial code interrupts I needed to remove the default ones for it to work.
Yes, that was done.
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
Code malfunction after robot reset? jgannon Programming 6 01-03-2006 14:42
Problem with idata_user_routines.o? Adrien Programming 3 12-02-2006 01:33
Code runs only once, fails on reset roknjohn Programming 7 21-02-2005 20:24
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 05:53.

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