Non working MPLAM since reinstall

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Hi,
Have reinstalled my Windows.
Now the MPLAB 8.88 will not build the HEX file correct.
Have NOT changed anything in the source code.
It writes this when Building
Rich (BB code):
Memory Summary:
    Program space        used  14DFh (  5343) of  2000h words   ( 65.2%)
    Data space           used    BCh (   188) of   200h bytes   ( 36.7%)
    EEPROM space         None available
    Configuration bits   used     1h (     1) of     2h words   ( 50.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 Free mode.
The MPLAB XC8 PRO compiler output for this code could be 2022 words smaller.
See http://microchip.com for more information.
As u can see, the config bit is just one, it needs one,
Have i installed something wrong or some setting ??
 
Last edited:

tshuck

Joined Oct 18, 2012
3,534
Hi,
Have reinstalled my Windows.
Now the MPLAB 8.88 will not build the HEX file correct.
Have NOT changed anything in the source code.
It writes this when Building
Rich (BB code):
Memory Summary:
    Program space        used  14DFh (  5343) of  2000h words   ( 65.2%)
    Data space           used    BCh (   188) of   200h bytes   ( 36.7%)
    EEPROM space         None available
    Configuration bits   used     1h (     1) of     2h words   ( 50.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 Free mode.
The MPLAB XC8 PRO compiler output for this code could be 2022 words smaller.
See http://microchip.com for more information.
As u can see, the config bit is just one, it needs one,
Have i installed something wrong or some setting ??
It is just saying you have only configured one of the two contain words fir the device you are using. what device would that be? Does the datasheet list two configuration words?
 

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
It is just saying you have only configured one of the two contain words fir the device you are using. what device would that be? Does the datasheet list two configuration words?
yes the datasheet have 2 configs.
and it Works now, when i installed and older compiler, the XC version did not Work, så i found HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.83
just forgot that was the one i used before.
 

tshuck

Joined Oct 18, 2012
3,534
Using XC8, did you specify the configuration using pragmas?
i.e.
Rich (BB code):
#pragma config WDTE=OFF
#pragma config FOSC=INTOSC
or were you using the older, HiTech syntax?
Rich (BB code):
__CONFIG(WDTDIS & INTOSC)
 

ErnieM

Joined Apr 24, 2011
8,377
When MPLAB build a project it builds all the dot-c files listed as source files.

If your source code is not selected into the project MPLAB will not build it.

(Note dot h files get referenced inside dot c files and the project does not need any dot h files to be referenced. The only reason to do so is to include them in text searches.)
 
Top