PDA

View Full Version : error in pbppic14.lib after re-installing xp



comwarrior
- 26th November 2009, 22:06
i've re-installed xp after a crash that caused windows not to boot...

i've set PBP 2.47, MCS and MPLAB back up and come to do some programming...
I alterd the start value for one var and it's now giving me the following error...


D:\Projects\Bedini\PIC code\bedini 2\Driver>c:\pbp244\pbpw -p16f877A 1.bas -v -ampasmwin
PICBASIC PRO(TM) Compiler 2.47, (c) 1998, 2006 microEngineering Labs, Inc.
All Rights Reserved.
Pass 1:
Pass 2:
Code Gen:
Macro Pass:
mpasmwin "D:\Projects\Bedini\PIC code\bedini 2\Driver\1.ASM"
Error[124] C:\PBP244\PBPPIC14.LIB 204 : Illegal argument
Error[124] C:\PBP244\PBPPIC14.LIB 204 : Illegal argument
Error[124] C:\PBP244\PBPPIC14.LIB 204 : Illegal argument
Error[128] C:\PBP244\PBPPIC14.LIB 7454 : Missing argument(s)
Error[128] C:\PBP244\PBPPIC14.LIB 7457 : Missing argument(s)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 122 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 128 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 134 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 140 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 146 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 152 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 158 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 164 : Overwriting previous address contents (2007)
Error[118] D:\PROJECTS\BEDINI\PIC CODE\BEDINI 2\DRIVER\1.ASM 170 : Overwriting previous address contents (2007)

I've looked at PBPPIC14.LIB and i can't see the problem. I've verifyed my PBP directory againsed a backup made about a month ago and all the files are thesame...

PBPPIC14.LIB line 204 is...


if (((HSER_TXSTA) & 04h) == 0)
Line 7454 & 7457 refers to hser_txsta and i think they are the same problem.

the error[118] i fixed months ago but i can't remember what i did... if i remember right it's because I'm re-defining the fuses again. can someone remind me of the fix for it again, i don't seem to be able to find it...

Also, i'm also using the latest DT inst int's...

Thanks

Darrel Taylor
- 27th November 2009, 01:13
Do you have HSER Defines in your program?

Check the syntax of the DEFINE HSER_TXSTA statement.
The number should be ASM compatible.
You can't use %00100100 or $24. It should be 24h or 0x24.

For the Overwriting address 2007 error ...

What to do if i get "overwriting previous address content" error message?
http://www.picbasic.co.uk/forum/showthread.php?p=6775#post6775
<br>