EmbeddedRelated.com
Forums
Memfault Beyond the Launch

cc5x syntex config symbols

Started by wdavis364 May 13, 2005
Richard, good to hear from again, according to the melab serial programmer
help section all F81s, F87As, and f87/88s should have Portb3 grounded. I've
recently bought a Melab serial programmer and had to use my old 22pin zif
with it. I can't tell if the Port3 is grounded or not. I've ordered a 8-40
pin zif and maybe the port3 is ground on it. Maybe, mabe not. I'll try it in
circuit with the pin grounded and see what happens.
thanks
bill
----- Original Message -----
From: "rtstofer" <rstofer@rsto...>
To: <piclist@picl...>
Sent: Sunday, May 15, 2005 3:43 PM
Subject: [piclist] Re: cc5x syntex config symbols >
> 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 >
>
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
> Yahoo! Groups Links



Bill,

As it turns out, I was just working on a 16F819 project. So I tried
my melabs serial programmer a couple of minutes ago and it worked
fine. I have the 8-40 ZIF adapter and nothing else is required.

Not true when I was using a 16F57 - I had to buy a special dongle
for that chip.

FWIW, I have never been able to get the programming software to run
on Windows XP. I know it should but it doesn't work for me. I run
it on my old Win98 SE machine - works fine.

Richard

--- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> Richard, good to hear from again, according to the melab serial
programmer
> help section all F81s, F87As, and f87/88s should have Portb3
grounded. I've
> recently bought a Melab serial programmer and had to use my old
22pin zif
> with it. I can't tell if the Port3 is grounded or not. I've
ordered a 8-40
> pin zif and maybe the port3 is ground on it. Maybe, mabe not. I'll
try it in
> circuit with the pin grounded and see what happens.
> thanks
> bill
> ----- Original Message -----
> From: "rtstofer" <rstofer@p...>
> To: <piclist@picl...>
> Sent: Sunday, May 15, 2005 3:43 PM
> Subject: [piclist] Re: cc5x syntex config symbols > >
> > 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
> >
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >


I'm glad to hear that. I should getting mine in a day or so.
bill
----- Original Message -----
From: "rtstofer" <rstofer@rsto...>
To: <piclist@picl...>
Sent: Sunday, May 15, 2005 4:30 PM
Subject: [piclist] Re: cc5x syntex config symbols >
> Bill,
>
> As it turns out, I was just working on a 16F819 project. So I tried
> my melabs serial programmer a couple of minutes ago and it worked
> fine. I have the 8-40 ZIF adapter and nothing else is required.
>
> Not true when I was using a 16F57 - I had to buy a special dongle
> for that chip.
>
> FWIW, I have never been able to get the programming software to run
> on Windows XP. I know it should but it doesn't work for me. I run
> it on my old Win98 SE machine - works fine.
>
> Richard
>
> --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Richard, good to hear from again, according to the melab serial
> programmer
> > help section all F81s, F87As, and f87/88s should have Portb3
> grounded. I've
> > recently bought a Melab serial programmer and had to use my old
> 22pin zif
> > with it. I can't tell if the Port3 is grounded or not. I've
> ordered a 8-40
> > pin zif and maybe the port3 is ground on it. Maybe, mabe not. I'll
> try it in
> > circuit with the pin grounded and see what happens.
> > thanks
> > bill
> > ----- Original Message -----
> > From: "rtstofer" <rstofer@p...>
> > To: <piclist@picl...>
> > Sent: Sunday, May 15, 2005 3:43 PM
> > Subject: [piclist] Re: cc5x syntex config symbols
> >
> >
> > >
> > > 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
> > >
> > >
> > >
> > >
> > > 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


Code programming error is MELabs way of saying somthing is wrong with
the target - usually no Vdd or low Vpp but it could be anything, its a
pretty generic error message. I believe it specifically means that
the programmer couldn't gain control of the PIC but it runs in my mind
it also happens on a validation error in some circumstances. Check
to make sure you've got voltage to the chip - I've seen it there
(programmer is powered, icsp target is not).

Phil

--- In piclist@picl..., "rtstofer" <rstofer@p...> wrote:
>
> Bill,
>
> As it turns out, I was just working on a 16F819 project. So I tried
> my melabs serial programmer a couple of minutes ago and it worked
> fine. I have the 8-40 ZIF adapter and nothing else is required.
>
> Not true when I was using a 16F57 - I had to buy a special dongle
> for that chip.
>
> FWIW, I have never been able to get the programming software to run
> on Windows XP. I know it should but it doesn't work for me. I run
> it on my old Win98 SE machine - works fine.
>
> Richard
>
> --- In piclist@picl..., "Bill Davis" <wdavis@t...> wrote:
> > Richard, good to hear from again, according to the melab serial
> programmer
> > help section all F81s, F87As, and f87/88s should have Portb3
> grounded. I've
> > recently bought a Melab serial programmer and had to use my old
> 22pin zif
> > with it. I can't tell if the Po

t3 is grounded or not. I've
> ordered a 8-40
> > pin zif and maybe the port3 is ground on it. Maybe, mabe not. I'll
> try it in
> > circuit with the pin grounded and see what happens.
> > thanks
> > bill
> > ----- Original Message -----
> > From: "rtstofer" <rstofer@p...>
> > To: <piclist@picl...>
> > Sent: Sunday, May 15, 2005 3:43 PM
> > Subject: [piclist] Re: cc5x syntex config symbols
> >
> >
> > >
> > > 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
> > >
> > >
> > >
> > >
> > > to unsubscribe, go to http://www.yahoogroups.com and follow the
> > instructions
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >



Memfault Beyond the Launch