Newby can't make hex file in MPLAB 8.5 with blink8x.bas program


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Mehran's Avatar
    Mehran Guest


    Did you find this post helpful? Yes | No

    Default Re: Newby can't make hex file in MPLAB 8.5 with blink8x.bas program

    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??!!! ((

  2. #2
    Join Date
    Apr 2010
    Location
    Walnut Creek, CA
    Posts
    17


    Did you find this post helpful? Yes | No

    Default Re: Newby can't make hex file in MPLAB 8.5 with blink8x.bas program

    What, for a Hi-Tech C compiler? Sorry Mehran, this forum is for the Micro Engineering Labs (or Melabs.com) PICBASIC PRO compiler, not for the Hi-Tech C compiler. You should post your question to the Hi-Tech users forum.

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts