View previous topic :: View next topic |
Author |
Message |
rajabcomp2
Joined: 22 Mar 2010 Posts: 5
|
help in output file (.h) |
Posted: Tue Mar 23, 2010 11:49 pm |
|
|
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 |
|
|
robomaniac
Joined: 16 Jul 2009 Posts: 19 Location: Sherbrooke, Québec, Canada
|
|
Posted: Wed Mar 24, 2010 12:10 am |
|
|
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
|
|
Posted: Wed Mar 24, 2010 1:55 am |
|
|
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
|
help in output file (.h) |
Posted: Wed Mar 24, 2010 6:13 am |
|
|
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. |
|
|
|