Re: problem facing in compiling PIC16F87 device .

From: Anthony Fremont (spam_at_anywhere.com)
Date: 06/02/04


Date: Wed, 02 Jun 2004 12:48:52 GMT


"Kumar" <yatiks@yahoo.com> wrote in message
news:b479edf8.0406020218.30af5f72@posting.google.com...

> I have written a program for the pic microcontroller Pic16F876 . It
> worked fine . Then changed my device to pic16f87 , the program is not
> compiling can anyone help me to solve the problem .
>
> The error message is given below
>
> Error[126] C:\PROGRAM FILES\MPLAB
> IDE\RF_PIC_87\VER_0\PROR6-DEMO-22ND.ASM 13 : Argument out of range
> (not a valid config register address)
> Halting build on first failure as requested.

Are you compiling, or are you assembling the program? It would be much
more helpful for you to actually post the code that is in error. Did
you change your LIST and INCLUDE pseudo-ops to match the new chip in the
.ASM file? You also need to set the target chip type in MPLAB by
clicking on Configure and then Select Device.



Relevant Pages

  • Re: Get Error
    ... It is unfortunate that the error message is not very ... Modell that the Option "Evaluate parameter to reduce ... COMPILING Simulink_Test.c ...
    (comp.soft-sys.matlab)
  • Re: Multiple INCLUDE Vs multiple USE
    ... Problems without explicit error meaasges and explicit code producing the ... error message tend to do no good as the error will most likely be elsewhere. ... multiple times is - just like compiling any other program unit multiple ...
    (comp.lang.fortran)
  • Re: How can I build a 2.4 kernel on a 2.6 System
    ... but I have a problem with the compiling. ... I get the following error message: ... OK, first it's an RHEL3 kernel, not a mainline one. ... # make oldconfig ARCH=i386 ...
    (Linux-Kernel)
  • Running Out Of Dynamic/Static Space?
    ... seeing problems between Compiling and Emulating/Debugging ... I went to make an EXE and got an error message "Out of Dynamic Memory" (or ... However, in the IDE, if I run the program once it's fine, but if I try to ... FWIW I believe that when the program exits itunloads all forms, ...
    (comp.lang.basic.visual.misc)
  • newbie: j2me & isWhiteSpace
    ... When compiling the code below I get this error message: ... String result = new String; ...
    (comp.lang.java.programmer)