Hello!
I am using MPLAB IDE 8.53 and using a Hi-Tech compiler. I have written my code in C. I am using a PIC16f877. My code gets compiled, but i cannot see any hex file in my project folder, nor does it mention it anywhere while building it. This is what i get in the ouput window when I have Re-Build the code.
Build C:\Charge_controller\charger for device 16F877
Using driver C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe
Make: The target "C:\Charge_controller\charger.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" --pass1 "F:\PWM Charge Controller\charger.c" -q --chip=16F877 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe" -ocharger.cof -mcharger.map --summary=default --output=default charger.p1 --chip=16F877 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.70
Copyright (C) 2009 Microchip Technology Inc.
Memory Summary:
Program space used 490h ( 1168) of 2000h words ( 14.3%)
Data space used 70h ( 112) of 170h bytes ( 30.4%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 0h ( 0) of 1h word ( 0.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
Running this compiler in PRO mode, with Omniscient Code Generation enabled,
produces code which is typically 40% smaller than in Lite mode.
The HI-TECH C PRO compiler output for this code could be 467 words smaller.
See http://microchip.htsoft.com/portal/pic_pro for more information.
Loaded C:\Charge_controller\charger.cof.
********** Build successful! **********
Desperately need some help. I am new to programming a PIC and also first to use MPLAB and Hi-Tech. How do i generate a HEX file??!!!((
Bookmarks