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

16F690 port problem & simple program
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jan 27, 2011 2:22 pm     Reply with quote

I wonder if CCS posted two versions of 4.118 ? (On different days).
It's not the first time this has happened.

The version that I downloaded on Jan 22, 2011 has this .LST file code here:
Code:
....................    setup_adc_ports(NO_ANALOGS); 
001F:  BSF    03.6
0020:  BCF    1F.0   // ANSELH.0 = 0
0021:  BCF    1F.1   // etc.
0022:  BCF    1F.2
0023:  BCF    1F.3
0024:  BCF    03.6
0025:  BCF    1F.6
0026:  MOVLW  00
0027:  BSF    03.6
0028:  MOVWF  1E
....................    ANSEL = 0; 
0029:  CLRF   1E


Whereas your posted code has this:
Quote:

.................... setup_adc_ports(NO_ANALOGS);
0014: BSF 03.6
0015: MOVF 1E,W
0016: ANDLW C0
0017: MOVWF 1E
.................... ANSEL = 0;
0018: CLRF 1E

So I think the unfortunate "silent revision-within-a-revision" has occurred here.
pmuldoon



Joined: 26 Sep 2003
Posts: 218
Location: Northern Indiana

View user's profile Send private message

PostPosted: Thu Jan 27, 2011 2:42 pm     Reply with quote

awesome detective work!

I guess I didn't get the silent revision notice.

I've been using CCS for a very long time, and it seems to me that working stuff is getting 'broken' more often in the PCM/PCH than it used to. Seems to correlate to when they started working on PCD. I remember PCM/PCH always being very solid for me. Granted my programming has never been very sophisticated...

I hope they are trying to address this issue.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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