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

ICD-U64 break log monitor not working with PIC16F1939

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



Joined: 07 Sep 2006
Posts: 7
Location: Munich, Germany

View user's profile Send private message

ICD-U64 break log monitor not working with PIC16F1939
PostPosted: Mon Oct 08, 2012 5:26 am     Reply with quote

Hi all,

I did use this program to test the debugger break log function:

Code:

#undef PIC16F877
#ifdef PIC16F877
 #include <16f877A.h>
 #device ICD=TRUE
 #fuses HS,NOLVP,NOWDT
 #use delay (clock=20 MHz)
#else
 #include <16F1939.h>
 #device ICD=TRUE
 #fuses ECH, CLKOUT, NOIESO, NOFCMEN, PLL_SW, NOBROWNOUT, MCLR, NOLVP, NOWDT, NOSTVREN, PUT, NOPROTECT, NOCPD
 #use delay(clock=25MHz)
#endif

void main(){
int8 number;

   while(1){
   
      number = number + 1;
   }
}


The PCM compiler version is 4.135.
The ICD firmware version is 2.95.
The ICD hardware revision is 2.

When I am compiling the program for the PIC16F877A and testing the debug log with a breakpoint at the line "number = number +1" the debugger is working as expected and logging the number each time when the line with the breakpoint is hit.

But when I am compiling the program for the PIC16F1939, then the debug log stops each time when the breakpoint line is hit and does no logging. It behaves as if the checkbox for LOG is ignored by the program although it is checked.

Does anybody have an idea what can be the reason?

And I have another two questions:

1. When I uncheck the LOG checkbox during the test with the PIC16F877A I actually would expect that the number is logged in the monitor window each time when i click GO and the debugger stops at the breakpoint. But the monitor window remains empty. What is the sense then of the LOG checkbox when it is unchecked?

2. What are valid expressions which can be typed into the "Expression" textbox? Or where can I find any description ?
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