PDA

View Full Version : Config 18F6722



nobner
- 6th June 2010, 19:55
Hello,
i'm using the PIC18F6722 the first time.
MP LAB IDE V8.33 is installed.
When I add this config line in MicroCode Studio (PBPRO):

@ __CONFIG _CONFIG1H, _OSC_HS_1H

i receive an assembler error 118: Overwriting previous adress contents.

I checked this with a new program-file, programtext is only this line and the "end" statement.

The statement
@ __CONFIG _CONFIG3H, _MCLRE_OFF_3H
works and returns no errors.

What am i doing wrong?

Thanks in advance!

mackrackit
- 6th June 2010, 20:23
You need to comment out the config lines in the *.inc file.
http://www.picbasic.co.uk/forum/showthread.php?t=543

nobner
- 7th June 2010, 08:22
Works fine now!
Thanks a lot!