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

icd2 programming the PIC18f8720

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







icd2 programming the PIC18f8720
PostPosted: Mon Nov 25, 2002 8:13 pm     Reply with quote

We are able to get a connection via USB under MPlab 6.01
between the icd2 and the pic18f8720; it appears to program,
with the background debug mode turned off. We are putting
in hex code compiled in picc. The program doesn't run. So
we tried turning on the config bit for background debug.
Again, it appears to program, but then an error comes up,
saying the chip is not in debug mode.

Can someone advise as to what may be wrong, please?
Thanks!
___________________________
This message was ported from CCS's old forum
Original Post ID: 9421
RobertH
Guest







Re: icd2 programming the PIC18f8720
PostPosted: Wed Nov 27, 2002 6:43 am     Reply with quote

I don't know if this could help you and how much you have played with the ICD2.

After you have programmed the chip without the "DEBUG-mode" you haveto disconnect the ICD2 from the chip, else it can't run the program.

In Rev. A3 Silicon/DATA Sheet Errataon, page 4 it is a note:

"When preforming in-circuit serial programming, verify that power is connected to all VDD and AVDD pins of the microcontroller, and that all Vss ond AVss pins are grounded."







:=We are able to get a connection via USB under MPlab 6.01
:=between the icd2 and the pic18f8720; it appears to program,
:=with the background debug mode turned off. We are putting
:=in hex code compiled in picc. The program doesn't run. So
:=we tried turning on the config bit for background debug.
:=Again, it appears to program, but then an error comes up,
:=saying the chip is not in debug mode.
:=
:=Can someone advise as to what may be wrong, please?
:=Thanks!
___________________________
This message was ported from CCS's old forum
Original Post ID: 9503
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