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

help in output file (.h)

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



Joined: 22 Mar 2010
Posts: 5

View user's profile Send private message

help in output file (.h)
PostPosted: Tue Mar 23, 2010 11:49 pm     Reply with quote

hi guys,

I am new in ccs c compiler, so that I would ask you when I build my program and it give me no error or warning.

That means the program doesn't have any error and I get the output, but my problem I couldn't find the hexadecimal file output.

You help in this please how can I get the hexadecimal file.

Thank you in advance Shocked Razz
robomaniac



Joined: 16 Jul 2009
Posts: 19
Location: Sherbrooke, Québec, Canada

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

PostPosted: Wed Mar 24, 2010 12:10 am     Reply with quote

In MPLAB IDE, when you can compile your code, the .hex file is generated directly in your project root directory. In the same place where your .c file is.

You can also use F3 in windows explorer and search for *.hex files.

When you have a error and your code does not compile, that will not create a .hex file. Not in your case.
_________________
Jérôme Demers
www.jeromedemers.com
rajabcomp2



Joined: 22 Mar 2010
Posts: 5

View user's profile Send private message

PostPosted: Wed Mar 24, 2010 1:55 am     Reply with quote

Ok, let me say that. I tried to do what you had mentioned above, but no way to get it !!!
I didn't get any error, and the message below after the build all program
Quote:

Memory usage: ROM=14% RAM=5% - 7%
0 Errors, 0 Warnings.

All what I got this as shown below
http://img339.imageshack.us/i/wallh.jpg/

and what is the benefit of *.list ???
Code:

CCS PCH C Compiler, Version 4.068, 2159               24-Mar-10 13:50

               Filename: wall.lst

               ROM used: 4332 bytes (14%)
                         Largest free fragment is 27600
               RAM used: 79 (5%) at main() level
                         114 (7%) worst case
               Stack:    5 worst case (4 in main + 1 for interrupts)

*
0000:  GOTO   08FA
*
0008:  MOVWF  05
000A:  MOVFF  FD8,06
000E:  MOVFF  FE0,07
0012:  MOVLB  0
0014:  MOVFF  FE9,0D
0018:  MOVFF  FEA,08
gil.fonea@sds-tech.com



Joined: 24 Mar 2010
Posts: 24

View user's profile Send private message Send e-mail

help in output file (.h)
PostPosted: Wed Mar 24, 2010 6:13 am     Reply with quote

I think it happened to me in the past. It means that your compiler did not even start executing a compilation. Check it.
_________________
Gil F.
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