I have one program that will not run on it's own unless I keep the DEBUG and ICD=TRUE statements alive when compiling. I have other programs where I take those two statements out (change DEBUG to NODEBUG) and they work great solo. This an 18F252 chip program.
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Fri Nov 12, 2004 7:27 pm
What software and hardware are you using for programming your target?
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
Posted: Sat Nov 13, 2004 1:16 pm
What clock setup are you running? Are you using 4xPLL?
ljbeng
Joined: 10 Feb 2004 Posts: 205
Posted: Mon Nov 15, 2004 8:19 am
I have compiled it on many version but my latest is 3.212 It doesn't matter if I use the CCS ICD or QuickWriter, the chip will not start up unless I keep both lines in there. I have tried to narrow it down to one line or the other but it takes both. I am using a 20MHz crystal and an 18F252.
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Mon Nov 15, 2004 4:08 pm
Watchdog! On some chips having DEVICE ICD=TRUE automatically disables the watchdog. Maybe that is your problem?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum