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

#DEVICE ICD=TRUE problem

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



Joined: 05 Aug 2014
Posts: 24

View user's profile Send private message

#DEVICE ICD=TRUE
PostPosted: Thu Aug 01, 2024 1:56 pm     Reply with quote

HI
I need some help here
Ive written some code and tested it using the ICD .
Had the ICD = True through out development.
Going into production I want to turn this off but finding it affects my code IE having some slower RS232 response in the production code.

Checked the list file with ICD = True
Configuration Fuses:
Word 1: 1F8C NOEXTOSC RSTOSC_HFINTRC NOCLKOUT CKS NOFCMEN
Word 2: 1F3F MCLR NOPUT NOLPBOR NOBROWNOUT BORV24 ZCDDIS PPS1WAY STVREN DEBUG
Word 3: 3F9F WDTSW NOWDT WDTWIN_SW WDTCLK_SW
Word 4: 1FFF NOWRT SCANE NOLVP
Word 5: 3FFF NOPROTECT NOCPD

And with //#DEVICE ICD= commented out
Configuration Fuses:
Word 1: 3F8C NOEXTOSC RSTOSC_HFINTRC NOCLKOUT CKS FCMEN
Word 2: 3FFD MCLR PUT NOLPBOR BROWNOUT BORV24 ZCDDIS PPS1WAY STVREN NODEBUG
Word 3: 3F9F WDTSW NOWDT WDTWIN_SW WDTCLK_SW
Word 4: 1FFF NOWRT SCANE NOLVP
Word 5: 3FFE PROTECT NOCPD



my fuses are:
//#device adc=16
//#DEVICE ICD=
//#FUSES WDT65536
#FUSES NOWDT //No Watch Dog Timer
//#FUSES XT
#FUSES RSTOSC_HFINTRC //On Power-up clock running from HFINTRC
#FUSES BROWNOUT //No brownout reset
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O
#FUSES PUT
#FUSES MCLR
#FUSES PROTECT

Checksum is the same in both compiles
Any ideas?

Thanks
_________________
Neville
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Aug 01, 2024 2:01 pm     Reply with quote

You posted this on a "solved" (closed) thread.
You need to start a new thread for this.
_________________
Google and Forum Search are some of your best tools!!!!
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Fri Aug 02, 2024 8:18 am     Reply with quote

I've split this off Jay. Smile

The checksum is of the code, not the fuses. Hence no change.

However turning off the ICD should most definately not cause a slow down.
My guess would be that it is being caused by some other physical issue.
For example the ICD provides a ground, and when this is turned off
and the cable detached, this changes the behaviour. Also remember
that when the ICD is attached it pulls up the MCLR pin. Is this possibly
floating?.
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