What are the cc5x syntex for the following asm symbols.
__CONFIG
_CP_OFF&_CCP1_RB2&_DEBUG_OFF&_WRT_ENABLE_OFF&_CPD_OFF&_LVP_OFF&_BODEN_O
N&_MCLR_ON&_PWRTE_OFF&_WDT_OFF&_XT_OSC
thanks
bill
cc5x syntex config symbols
Started by ●May 13, 2005
Reply by ●May 13, 20052005-05-13
Page 46 of the PDF manual.
Mike --- In piclist@picl..., "wdavis364" <wdavis@t...> wrote:
> What are the cc5x syntex for the following asm symbols.
> __CONFIG
>
_CP_OFF&_CCP1_RB2&_DEBUG_OFF&_WRT_ENABLE_OFF&_CPD_OFF&_LVP_OFF&_BODEN_O
> N&_MCLR_ON&_PWRTE_OFF&_WDT_OFF&_XT_OSC
> thanks
> bill
Mike --- In piclist@picl..., "wdavis364" <wdavis@t...> wrote:
> What are the cc5x syntex for the following asm symbols.
> __CONFIG
>
_CP_OFF&_CCP1_RB2&_DEBUG_OFF&_WRT_ENABLE_OFF&_CPD_OFF&_LVP_OFF&_BODEN_O
> N&_MCLR_ON&_PWRTE_OFF&_WDT_OFF&_XT_OSC
> thanks
> bill
Reply by ●May 13, 20052005-05-13
Thanks for the reply, I've looked at page 46 and page 51. It seems the
only
that'll work for me is the command line in this format:
#pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for code
protect off.
thanks
bill
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 12:28 PM
Subject: [piclist] Re: cc5x syntex config symbols > Page 46 of the PDF manual.
>
> Mike > --- In piclist@picl..., "wdavis364" <wdavis@t...> wrote:
> > What are the cc5x syntex for the following asm symbols.
> > __CONFIG
> >
> _CP_OFF&_CCP1_RB2&_DEBUG_OFF&_WRT_ENABLE_OFF&_CPD_OFF&_LVP_OFF&_BODEN_O
> > N&_MCLR_ON&_PWRTE_OFF&_WDT_OFF&_XT_OSC
> > thanks
> > bill >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
that'll work for me is the command line in this format:
#pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for code
protect off.
thanks
bill
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 12:28 PM
Subject: [piclist] Re: cc5x syntex config symbols > Page 46 of the PDF manual.
>
> Mike > --- In piclist@picl..., "wdavis364" <wdavis@t...> wrote:
> > What are the cc5x syntex for the following asm symbols.
> > __CONFIG
> >
> _CP_OFF&_CCP1_RB2&_DEBUG_OFF&_WRT_ENABLE_OFF&_CPD_OFF&_LVP_OFF&_BODEN_O
> > N&_MCLR_ON&_PWRTE_OFF&_WDT_OFF&_XT_OSC
> > thanks
> > bill >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
Reply by ●May 13, 20052005-05-13
#define CP_off |= 0x3F30
#pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
Mike --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> Thanks for the reply, I've looked at page 46 and page 51. It seems
the only
> that'll work for me is the command line in this format:
> #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
code
> protect off.
> thanks
> bill
#pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
Mike --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> Thanks for the reply, I've looked at page 46 and page 51. It seems
the only
> that'll work for me is the command line in this format:
> #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
code
> protect off.
> thanks
> bill
Reply by ●May 13, 20052005-05-13
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 4:02 PM
Subject: [piclist] Re: cc5x syntex config symbols > #define CP_off |= 0x3F30
> #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
>
> Mike > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Thanks for the reply, I've looked at page 46 and page 51. It seems
> the only
> > that'll work for me is the command line in this format:
> > #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
> code
> > protect off.
> > thanks
> > bill > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
Reply by ●May 13, 20052005-05-13
thanks
bill
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 4:02 PM
Subject: [piclist] Re: cc5x syntex config symbols > #define CP_off |= 0x3F30
> #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
>
> Mike > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Thanks for the reply, I've looked at page 46 and page 51. It seems
> the only
> > that'll work for me is the command line in this format:
> > #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
> code
> > protect off.
> > thanks
> > bill > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
bill
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 4:02 PM
Subject: [piclist] Re: cc5x syntex config symbols > #define CP_off |= 0x3F30
> #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
>
> Mike > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Thanks for the reply, I've looked at page 46 and page 51. It seems
> the only
> > that'll work for me is the command line in this format:
> > #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
> code
> > protect off.
> > thanks
> > bill > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
Reply by ●May 15, 20052005-05-15
Mike, I did what you suggested the command lines:
#define CP_off |= 0x3F30
#pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
And it worked great on Pic 84A. Now I'm trying to set the config on Pic819s.
Using the same format along with others. I not having any luck. Looking at
the pages 27-34 819 datasheet it seems to me this would be handled by the
programmer. I'm using epic serial programmer and older melab programmer.
Both programmers worked well with other chips. Whenever I programmed the
chip I get error "Code programming error at 0000". What is needed here?
thanks
bill
----- Original Message -----
From: "Bill Davis" <wdavis@wdav...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 4:22 PM
Subject: Re: [piclist] Re: cc5x syntex config symbols > thanks
> bill
> ----- Original Message -----
> From: "upand_at_them" <upand_at_them@upan...>
> To: <piclist@picl...>
> Sent: Friday, May 13, 2005 4:02 PM
> Subject: [piclist] Re: cc5x syntex config symbols > > #define CP_off |= 0x3F30
> > #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> >
> > Mike
> >
> >
> > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > > Thanks for the reply, I've looked at page 46 and page 51. It seems
> > the only
> > > that'll work for me is the command line in this format:
> > > #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
> > code
> > > protect off.
> > > thanks
> > > bill
> >
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
#define CP_off |= 0x3F30
#pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
And it worked great on Pic 84A. Now I'm trying to set the config on Pic819s.
Using the same format along with others. I not having any luck. Looking at
the pages 27-34 819 datasheet it seems to me this would be handled by the
programmer. I'm using epic serial programmer and older melab programmer.
Both programmers worked well with other chips. Whenever I programmed the
chip I get error "Code programming error at 0000". What is needed here?
thanks
bill
----- Original Message -----
From: "Bill Davis" <wdavis@wdav...>
To: <piclist@picl...>
Sent: Friday, May 13, 2005 4:22 PM
Subject: Re: [piclist] Re: cc5x syntex config symbols > thanks
> bill
> ----- Original Message -----
> From: "upand_at_them" <upand_at_them@upan...>
> To: <piclist@picl...>
> Sent: Friday, May 13, 2005 4:02 PM
> Subject: [piclist] Re: cc5x syntex config symbols > > #define CP_off |= 0x3F30
> > #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> >
> > Mike
> >
> >
> > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > > Thanks for the reply, I've looked at page 46 and page 51. It seems
> > the only
> > > that'll work for me is the command line in this format:
> > > #pragma config WDTE=off, PWRTE=off, FOSC=XT. I need the syntax for
> > code
> > > protect off.
> > > thanks
> > > bill
> >
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
Reply by ●May 15, 20052005-05-15
Check to make sure you don't have the COM port open from another
application. Close all apps except the programmer software. You
might even have to reboot.
Failing that, you've got a problem with the programmer software or
hardware. I just successfully programmed a 16F819 with that config.
Mike --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> Mike, I did what you suggested the command lines:
> #define CP_off |= 0x3F30
> #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> And it worked great on Pic 84A. Now I'm trying to set the config on
Pic819s.
> Using the same format along with others. I not having any luck.
Looking at
> the pages 27-34 819 datasheet it seems to me this would be handled
by the
> programmer. I'm using epic serial programmer and older melab
programmer.
> Both programmers worked well with other chips. Whenever I
programmed the
> chip I get error "Code programming error at 0000". What is needed
here?
> thanks
> bill
application. Close all apps except the programmer software. You
might even have to reboot.
Failing that, you've got a problem with the programmer software or
hardware. I just successfully programmed a 16F819 with that config.
Mike --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> Mike, I did what you suggested the command lines:
> #define CP_off |= 0x3F30
> #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> And it worked great on Pic 84A. Now I'm trying to set the config on
Pic819s.
> Using the same format along with others. I not having any luck.
Looking at
> the pages 27-34 819 datasheet it seems to me this would be handled
by the
> programmer. I'm using epic serial programmer and older melab
programmer.
> Both programmers worked well with other chips. Whenever I
programmed the
> chip I get error "Code programming error at 0000". What is needed
here?
> thanks
> bill
Reply by ●May 15, 20052005-05-15
Thanks Mike, I don't think its the com port(I've been programming
other
chips along with trying to program the 819s. Its odd the programmer software
problem would be in both programmer. I'll check with Melabs support and see.
thanks
bill
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Sunday, May 15, 2005 2:38 PM
Subject: [piclist] Re: cc5x syntex config symbols > Check to make sure you don't have the COM port open from another
> application. Close all apps except the programmer software. You
> might even have to reboot.
>
> Failing that, you've got a problem with the programmer software or
> hardware. I just successfully programmed a 16F819 with that config.
>
> Mike > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Mike, I did what you suggested the command lines:
> > #define CP_off |= 0x3F30
> > #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> > And it worked great on Pic 84A. Now I'm trying to set the config on
> Pic819s.
> > Using the same format along with others. I not having any luck.
> Looking at
> > the pages 27-34 819 datasheet it seems to me this would be handled
> by the
> > programmer. I'm using epic serial programmer and older melab
> programmer.
> > Both programmers worked well with other chips. Whenever I
> programmed the
> > chip I get error "Code programming error at 0000". What is needed
> here?
> > thanks
> > bill > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
chips along with trying to program the 819s. Its odd the programmer software
problem would be in both programmer. I'll check with Melabs support and see.
thanks
bill
----- Original Message -----
From: "upand_at_them" <upand_at_them@upan...>
To: <piclist@picl...>
Sent: Sunday, May 15, 2005 2:38 PM
Subject: [piclist] Re: cc5x syntex config symbols > Check to make sure you don't have the COM port open from another
> application. Close all apps except the programmer software. You
> might even have to reboot.
>
> Failing that, you've got a problem with the programmer software or
> hardware. I just successfully programmed a 16F819 with that config.
>
> Mike > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Mike, I did what you suggested the command lines:
> > #define CP_off |= 0x3F30
> > #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> > And it worked great on Pic 84A. Now I'm trying to set the config on
> Pic819s.
> > Using the same format along with others. I not having any luck.
> Looking at
> > the pages 27-34 819 datasheet it seems to me this would be handled
> by the
> > programmer. I'm using epic serial programmer and older melab
> programmer.
> > Both programmers worked well with other chips. Whenever I
> programmed the
> > chip I get error "Code programming error at 0000". What is needed
> here?
> > thanks
> > bill > to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links
Reply by ●May 15, 20052005-05-15
Bill,
Are you getting bit by the Low Voltage Programming issue? Pin 9 of
the chip must be grounded during programming and some programmers
are too old to know about such modern conveniences.
In fact, I gave up on all my other programmers and bought a PicStart
PLUS figuring that if anybody knows how to program these things, it
is Microchip.
Richard
--- In piclist@picl..., "upand_at_them" <upand_at_them@y...>
wrote:
> Check to make sure you don't have the COM port open from another
> application. Close all apps except the programmer software. You
> might even have to reboot.
>
> Failing that, you've got a problem with the programmer software or
> hardware. I just successfully programmed a 16F819 with that
config.
>
> Mike > --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Mike, I did what you suggested the command lines:
> > #define CP_off |= 0x3F30
> > #pragma config CP_off,PWRTE=on,WDTE=off,FOSC=HS,BODEN=on
> > And it worked great on Pic 84A. Now I'm trying to set the config
on
> Pic819s.
> > Using the same format along with others. I not having any luck.
> Looking at
> > the pages 27-34 819 datasheet it seems to me this would be
handled
> by the
> > programmer. I'm using epic serial programmer and older melab
> programmer.
> > Both programmers worked well with other chips. Whenever I
> programmed the
> > chip I get error "Code programming error at 0000". What is
needed
> here?
> > thanks
> > bill