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

.HEX files with comments

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



Joined: 14 May 2004
Posts: 330

View user's profile Send private message

.HEX files with comments
PostPosted: Wed Jun 09, 2004 7:08 am     Reply with quote

By default, CCS includes a last line with ";processor name"

With that line, I am having problems with a bootloader not recognizing a valid structure.

Is there a way to prevent the compiler from doing this?
Radix
Guest







PostPosted: Wed Jun 09, 2004 7:29 am     Reply with quote

I don't know if it the processor id line can be turned off. Your bootloader should support the Intel hex file format.

The line before the processor line is of type 01, and indicates the end of the file.

Code:

:00000001FF
;PIC16C72A


Hint: Write an application in Delphi that removes the last line, if your bootloader has problems with it? Rolling Eyes
future



Joined: 14 May 2004
Posts: 330

View user's profile Send private message

PostPosted: Wed Jun 09, 2004 8:03 am     Reply with quote

Even if I knew delphi it would be a lot of work, I prefer to edit manually and remove the line. Every time I compile a new code I would have to open the program or edit the file...

The bootloader comes from proton picbasic, it is very nice, has DTR/RTS cpu reset support, command line etc... I managed to work with a 18f452 40mhz.

No other bootloader I tried have these features.
Radix
Guest







PostPosted: Wed Jun 09, 2004 8:26 am     Reply with quote

Have you asked CCS?
future



Joined: 14 May 2004
Posts: 330

View user's profile Send private message

PostPosted: Wed Jun 09, 2004 8:50 am     Reply with quote

Directly not, but do they read their forum? Very Happy
Kasper



Joined: 14 Jan 2004
Posts: 88
Location: Aurora, Ontario, Canada

View user's profile Send private message Visit poster's website

PostPosted: Wed Jun 09, 2004 9:41 am     Reply with quote

I have the full source code for a simple Visual Basic boot loader ( works with CCS's loader.c)
http://www.ccsinfo.com/forum/viewtopic.php?t=19217
should be no problem to modify it to not send the last line.

Kasper
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