Thanks for reply Mack,
In a perfect world where we live now, perfect programming is a must
I made typing mistake in my program, I wrote high portb.5 instead of porta.5 ( there are no portb on 12f683 )
The program works now .
Thanks for reply Mack,
In a perfect world where we live now, perfect programming is a must
I made typing mistake in my program, I wrote high portb.5 instead of porta.5 ( there are no portb on 12f683 )
The program works now .
Last edited by Johan; - 17th August 2007 at 16:21. Reason: problem is gone
If you're using MPASM error 219 is shown in the MPASM assembler help file;
You might have a bad P12F683.INC file. Updating to the latest/greatest version of MPLAB219 Invalid RAM location specified.
If the __maxram and __badram directives are used, this warning flags use of any RAM locations declared as invalid by these directives. Note that the provided header files include __maxram and __badram for each processor.
with the newest .INC files might cure it.
If you switch to the PM asembler, and the warning goes away, it seems the problem would
be the Mchip header file, but it's hard to say without seeing the offending code.
Bookmarks