* is /MCLR really at high logic level?
* how is your BOD setting? And what's about supply voltage? (hint: under 4v AND BOD the device is kept in reset)
* how do you know that osc is running? tested the output?
Hope this helps.
Ale
On Sat, 8 Nov 2003, Angus Thomson wrote:
{Quote hidden}> Hello
>
> I am a new list member, so bear with me! I am trying to run code written
> in CCS's C compiler on a 16F876, using an ICD 1 and MPLAB. The code
> works fine when running in debug mode with the ICD connected (i.e. with
> the 'icd = true' and 'debug' options set) but when I try and run the
> code 'standalone' it does not work at all. As I know the code works, is
> there a reason why the PIC would not be running my code without the ICD
> connected? The MCLR line is not held in reset and the oscillator is
> running! I would really appreciate any advice!
>
> Thanks,
> Angus Thomson
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (
http://www.grisoft.com).
> Version: 6.0.525 / Virus Database: 322 - Release Date: 09/10/2003
>
> --
>
http://www.piclist.com hint: To leave the PICList
>
.....piclist-unsubscribe-requestKILLspam
@spam@mitvma.mit.edu
>
--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-request
KILLspammitvma.mit.edu