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

PIC18F4550: ICD0083 Unable to enter debug mode

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



Joined: 08 Sep 2006
Posts: 182

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

PIC18F4550: ICD0083 Unable to enter debug mode
PostPosted: Tue Sep 04, 2012 9:18 am     Reply with quote

Hello,

What I have:
Build mine board. ICD2 header. 20Mhz oscilator and a PIC18F4550.
Programming goes well. Entering debug mode is not working....

BUT!!!: When I put a PIC18F4620 in the board and compile the same program everthing is going perfect...

Is the somewhere somebody who has this pic working in debug mode?? and if so what are the fuse settings....

Regards,
Jody
Code:

#include <18F4550.h>
#device adc=8
#FUSES HS            //Internal External Switch Over mode enabled
#FUSES PLL5                     //Divide By 5(20MHz oscillator input)
#FUSES CPUDIV2                 //System Clock by 2
#FUSES NOVREGEN                   //USB voltage regulator enabled
#FUSES NOPUT                    //No Power Up Timer
#FUSES MCLR                     //Master Clear pin enabled
#FUSES PBADEN                    //PORTB pins are configured as digital I/O on RESET
#FUSES NOXINST                  //Extended set extension and Indexed Addressing mode disabled (Legacy mode)
#FUSES NODEBUG                    //Debug mode for use with ICD
#FUSES NOWDT                    //No Watch Dog Timer
#FUSES NOLVP                    //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES WDT128                   //Watch Dog Timer uses 1:128 Postscale
#FUSES NOPROTECT                //Code not protected from reading
#FUSES NOBROWNOUT               //No brownout reset
#FUSES BORV20                   //Brownout reset at 2.0V
#FUSES NOCPD                    //No EE protection
#FUSES STVREN                   //Stack full/underflow will cause reset
#FUSES NOWRT                    //Program memory not write protected
#FUSES NOWRTD                   //Data EEPROM not write protected
#FUSES FCMEN                    //Fail-safe clock monitor enabled
#FUSES NOWRTC                   //configuration not registers write protected
#FUSES NOWRTB                   //Boot block not write protected
#FUSES NOEBTR                   //Memory not protected from table reads
#FUSES NOEBTRB                  //Boot block not protected from table reads
#FUSES NOCPB                    //No Boot Block code protection
#FUSES NOLPT1OSC                  //Timer1 configured for low-power operation
#FUSES USBDIV                   //USB clock source comes from PLL divide by 2
//#FUSES NOICPRT                    //ICPRT enabled
#use delay(clock=20000000)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Sep 04, 2012 1:25 pm     Reply with quote

You asked this same question back in May 10, 2011 and were answered
by turok near the end of the thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=45383
Jody



Joined: 08 Sep 2006
Posts: 182

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

PostPosted: Tue Sep 04, 2012 3:19 pm     Reply with quote

Yes I saw that this evening....
How stupid!! I fell in the same pithole.. :oops:

Why didn't I learn from earlier mistakes...??

Well sorry for the trouble.....

Regards,

Jody
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