PDA

View Full Version : @ device options



Peter1960
- 13th March 2006, 04:17
Hi,
Is ther a complete list of the @ device option,

ie
@ DEVICE pic16F628, INTRC_OSC_NOCLKOUT
' System Clock Options

I'm trying to set the XT osc on

Thnks

Peter

DynamoBen
- 13th March 2006, 04:46
This should do it:

@ DEVICE pic16F628, XT_OSC ' System clock Options

Peter1960
- 13th March 2006, 05:04
thnks dynamo ben.

Peter

mister_e
- 13th March 2006, 14:29
Presetting Configuration Fuses (PIC Defines) into your Program (http://www.picbasic.co.uk/forum/showthread.php?t=543&highlight=configuration+fuse)

Ruben Pena
- 23rd March 2006, 22:34
The Melanie comments on configuration fuses are dated in july 2003.
Are there changes when using MPASM ?
I am still receiving warnings "__CONFIG has been deprecated for 18F devices.
Use directive CONFIG."
Please help...
Greetings...
Ruben de la Pena

Darrel Taylor
- 23rd March 2006, 22:46
Here's a previous answer from Bruce.

http://www.picbasic.co.uk/forum/showthread.php?p=13087
<br>

Ruben Pena
- 24th March 2006, 06:42
Thanks Darrell, but that response is also outdated,I think.
I am using the MPLAB 7.3 and I still get the error messages.
I did take the fuse from the Microchip INC file for the 18F2620:
CONFIG OSC = HSPLL and the PBP 2.46 gives me a Syntax error.
Any suggestion ?
Thanks in advance...
Ruben de la Pena

Darrel Taylor
- 24th March 2006, 07:36
If PBP is giving the error, then you probably need to put an @ in front of it.

Also, comment out the __CONFIG lines in the 18f2620.inc file in the PBP folder too since they are still the old style.

DT

mister_e
- 24th March 2006, 13:36
http://www.picbasic.co.uk/forum/showthread.php?t=543&page=5&highlight=configuration+fuse

Read from post 'till the end. It works.

For now we don't have any other choice. Melabs know that and implement something for the next release.

Thanks Microchips to reinvent the wheel daily!