PDA

View Full Version : Warning Message[221]



markcadcam
- 15th September 2008, 22:25
When I compile my project I'm getting the 'WARNING[221] c:\pbp\18f452.inc 18 : Invalid message number (231)'

Does anyone know what this message is about? Is it anything I should be concerned with?

Thanks,
Mark

Bruce
- 15th September 2008, 23:55
Look at line 18 in your c:\pbp\18f452.inc file.

LIST p = 18F452, r = dec, w = -311, w = -230, f = inhx32

Kind of sounds like you might have 231 VS 230 in the line above?

230 supresses the aggravating message about __CONFIG has been
deprecated for PIC18 devices.

markcadcam
- 16th September 2008, 00:27
Hi Bruce,

That appears not to be the problem. I have checked my .inc file and that line looks like this - LIST p = 18F452, r = dec, w = -311, w = -230, f = inhx32

Mark

mackrackit
- 16th September 2008, 07:21
Post your code and all of the inc file.

If I remember correctly there is not an error code 231. We will need to see what is being compiled to figure this out.

Bruce
- 16th September 2008, 07:45
Which version of MPASM are you using?

markcadcam
- 16th September 2008, 15:01
Bruce,

That was the problem, I was using an older version. Works fine now with the new version.

Thanks,
Mark