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

Which file to load in microcontroller

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



Joined: 14 Dec 2020
Posts: 3

View user's profile Send private message

Which file to load in microcontroller
PostPosted: Mon Dec 14, 2020 9:01 am     Reply with quote

Hi guys
I want to know if i write a program and want to give a file to other user to load it into microcontroller, then which file i should give to him so that he have not the source code but only hex file ?

After compile the program following files appears in folder:
C source file (6KB)
C object file (28KB)
ERR File (1KB)
ESYM File (12KB)
C object file (3KB)
C Output file (20KB)
C Output file (2KB)
C Output file (3KB)
C Output file (2KB)

Thanks
temtronic



Joined: 01 Jul 2010
Posts: 9113
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Dec 14, 2020 10:48 am     Reply with quote

programname.hex
silent_killer



Joined: 14 Dec 2020
Posts: 3

View user's profile Send private message

PostPosted: Mon Dec 14, 2020 11:40 am     Reply with quote

temtronic there is no file with .hex extension
Ttelmah



Joined: 11 Mar 2010
Posts: 19224

View user's profile Send private message

PostPosted: Mon Dec 14, 2020 12:18 pm     Reply with quote

You have probably got your explorer set to not display extensions....
Right click on each of the ones described as 'C output file'. Select 'Properties'.
It'll then give the path and full filename actually involved.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 14, 2020 2:04 pm     Reply with quote

You have no .LST file and no .HEX file. This means you have errors in
your program and it didn't do a successful build. Fix all the errors and
recompile. Then you will see the .HEX file.
silent_killer



Joined: 14 Dec 2020
Posts: 3

View user's profile Send private message

PostPosted: Wed Dec 16, 2020 3:02 am     Reply with quote

Thanks Ttelmah i checked each C output File and hex file was in one of them.

PCM Programmer there was no error in the code. only format of the files was not showing.

Thanks alot
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