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

pickit2 as a debuger on 16F876

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



Joined: 12 Jul 2007
Posts: 15

View user's profile Send private message

pickit2 as a debuger on 16F876
PostPosted: Thu Jul 12, 2007 1:08 am     Reply with quote

Do anyone have any experience with PicKit2 as a debuger tool?

I have a simple led blinking program written in CCS (v4.038) for PIC16F876A which I programmed with PicKit2 from Mplab (v7.61a) and this works OK, but when I want to debug the program Mplab always returns an error "Unable to enter debug mode".

I have set the debug bit in config word with>
#fuses DEBUG
I have also 4K7 pulldown resistors on PGD and PGC line like Microchip suggest.
I have the latest firmware in PicKit2.
I also try to reserve the last 256 words in program memory with>
#org 0x1F00,0x1FFF {}

But still no luck with debug
Any idea?
Thanks!
Question
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