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

Problem with HEX file

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



Joined: 14 Feb 2006
Posts: 3

View user's profile Send private message

Problem with HEX file
PostPosted: Tue Feb 14, 2006 3:50 am     Reply with quote

I have a problem when generating a HEX file. when i compile a program, the PIC C Compiler appends the line ";PIC16F876" to the HEX text.
However, the PIC burner i'm using doesnt like that line, and i have to delete it everytime i want to burn the PIC.
Is there some kind of setting in the compiler to prevent this from happening?
Ttelmah
Guest







PostPosted: Tue Feb 14, 2006 5:40 am     Reply with quote

I'm afraid not.
The line is legitimate Intel Hex (the format originally defined that any line _not_ beginning with a ':', should be ignored - unfortunately, many of the abridged 'defintions' on the web, miss this bit, and quite a few programmers based on these will then complain). There was a long thread about this quite a while ago, and I'd suspect the easiest solution might be a little program to strip any line that doesn't start with a :....

Best Wishes
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