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

Quirks in the compiler?

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



Joined: 27 Jan 2006
Posts: 69
Location: Manchester, England

View user's profile Send private message

Quirks in the compiler?
PostPosted: Sat Mar 28, 2009 12:22 am     Reply with quote

Hi There,
I am using IDE,PCB,PCM and PCH version 4.071 and have been noticing something strange.
There is a set of code I am doing for work, based on the PIC18F2580. and it appears that when I compile and flash the code it works and sometimes if I re-compile and re-flash it doesn't act correctly, and this is even without changing the code.
I have a button input that makes the 2580 send a CAN message out (3 actually, 2 for backup) and some times when its been flashed it sends them out immediately every time, and then when its compiled and flashed another time it sometimes sends a message and sometimes thats delayed a couple of seconds.
Anyone experience this quirk with this version?

I would include my code to show what I have done, but I have been requested not to by management.

note, I am using the CCS ICD-U40 to program my PICs
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Mar 28, 2009 12:33 am     Reply with quote

Open a DOS window and compare the hex files with the File Compare
command:
Quote:
fc /b test1.hex test2.hex

Or use some other utility. If the two versions act differently but the HEX
files are identical, the problem is somewhere else.
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