Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Code Error after reset (http://www.chiefdelphi.com/forums/showthread.php?t=44389)

iplayfast 20-02-2006 10:49

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?

JonathanLKS 20-02-2006 12:34

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.

iplayfast 20-02-2006 12:35

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.


All times are GMT -5. The time now is 01:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi