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 support@ccsinfo.com

Work debugging and without not

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



Joined: 17 Nov 2004
Posts: 26
Location: University of Cantabria -SPAIN

View user's profile Send private message Send e-mail MSN Messenger

Work debugging and without not
PostPosted: Mon Apr 25, 2005 5:35 am     Reply with quote

CCS v3.223
ICD v2.29

I have working my program with debug but when I program with ICD the pic don't work.

#use delay(clock=4000000)
#fuses NOWDT,WDT128,XT, NOPROTECT, NOOSCSEN, BROWNOUT, BORV20, NOPUT, STVREN, NODEBUG, LVP, NOWRT, NOWRTD, NOWRTB, NOWRTC, NOCPD, NOCPB, NOEBTR, NOEBTRB

//#device ICD=true
Guest








PostPosted: Mon Apr 25, 2005 6:56 am     Reply with quote

Can you post your fuse line for debugging.
drolleman
Guest







PostPosted: Mon Apr 25, 2005 7:44 am     Reply with quote

Make sure you set the the debuging off and dont program with debug but program mode.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Mon Apr 25, 2005 10:31 am     Reply with quote

And remember to remove the programming/debugging header. It might be keeping the device in reset. There is a button on the programming toolbar in MPLAB to release from reset if you don't want to disconnect the programming header.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Apr 25, 2005 11:21 am     Reply with quote

And remember if your doing serial com to you PC. You may need a ground wire connecting the two. If you don't have a common reference, serial comm might not work well. You see with the ICD in place, it is providing that common gound. When you remove ICD the serial comm stops working.
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