Extended mode turns on by itself every few builds

Discussion topics related to the 32-bit version of MPLAB IDE version 6.xx and later.

Extended mode turns on by itself every few builds

Postby Stri » Tue Jun 24, 2014 11:07 am

Hello. I have some legacy project for Mplab 8. This project consist few *.c files. In "init.c" file I have section with config bits:

Code: Select all
__CONFIG(1, XINSTDIS&WDTDIS&STVREN&DEBUGDIS&UNPROTECT);
__CONFIG(2, HS&FCMDIS&IESODIS&WDTPS32K);
__CONFIG(3, ETHLEDEN&ECCPRE&CCP2RC1);


Also I have flag "configuration bits set in code" checked in Mplab options.
The problem is, every few builds, Mplab starts to build my project in "extended mode" (and also RC oscillator instead of HS), although I didn't changed __CONFIG() settings in my code.So I have to go into options, uncheck "configuration bits set in code", set flags properly, check this box again, and then project starts to compile normally, for some time. Is this normal behavour?
My MCU is pic18f87j60, compiler is Hitech C 9.52, Mplab 8.88
Stri
Verified identity
 
Posts: 1
Joined: Tue May 27, 2014 11:35 am
PIC experience: Professional 5+ years with MCHP products

Re: Extended mode turns on by itself every few builds

Postby Ian.M » Tue Jun 24, 2014 4:39 pm

No. Possibly a corrupted workspace - MPLAB caches a lot of binary data in the workspace file.
Ian.M
Verified identity
 
Posts: 94
Joined: Wed May 28, 2014 12:47 am
PIC experience: Professional 1+ years with MCHP products


Return to MPLAB 8 IDE

Who is online

Users browsing this forum: No registered users and 1 guest

cron