CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Problem running 12F629

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
edi



Joined: 22 Dec 2003
Posts: 82

View user's profile Send private message

Problem running 12F629
PostPosted: Wed Apr 21, 2004 3:39 pm     Reply with quote

I use PCW 3.184 and ICD-U40 latest version.
I program the device 12F629 but nothing happend.
I tried simple program - just to turn on a LED but nothing.
It is possible that I erase the calibration value, but does it cause that nothing will happened in the board?
I see all the time ~1MHz on pin 3, Why? and how can I stop it. cause I need this pin for my application

the definitions:
#include <12f629.h>
#fuses NOWDT,INTRC, NOCPD, NOPROTECT, MCLR, NOPUT, BROWNOUT
#use delay(clock=4000000)

Any suggestion?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Apr 21, 2004 4:35 pm     Reply with quote

Here is a demo program that I posted for the 12F629.
It just blinks two LEDs.
http://www.ccsinfo.com/forum/viewtopic.php?p=2862#2862
languer



Joined: 09 Jan 2004
Posts: 144
Location: USA

View user's profile Send private message

PostPosted: Wed Apr 21, 2004 6:21 pm     Reply with quote

In your #fuses statement you want to change:

#fuses NOWDT,INTRC, NOCPD, NOPROTECT, MCLR, NOPUT, BROWNOUT

to

#fuses NOWDT,INTRC_IO, NOCPD, NOPROTECT, MCLR, NOPUT, BROWNOUT

The change is in bold, this same thing hit me not so long ago (PITA).

Do you really need MCLR? You get one more input (no output though) if you declare NOMCLR.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group