I don't programming that 18F458 and 12F675

Started by cnt July 7, 2003
Hello, I've a problem with my programmer! I'm using a jdm programmer and ic-prog v1.05A. I can programming 16F84 and 16F877 without any problem. I try to programming 18F458 and 12F675 but I don't programming them :( could you tell me what I am doing now? thanks for your advices sory for my english CNT TEK.

____________________________________________________________________________
Tkiye'nin en samimi arkada arama servisi ile hayata renk kat! arkadasim.mynet.com



Message
>  I'm using a jdm programmer and ic-prog v1.05A.  
> I try to programming 18F458 and 12F675 but I don't programming them 
 
1. Does that version of ic-prog support the chip types you are trying to program? 
2. Do you pull the PGM pin low (assuming you use HVP)?
 

Wouter van Ooijen

-- -------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products
 



yes, that version is supported. I'll try to connect PGM pin ground. > 1. Does that version of ic-prog support the chip types you are trying to > program? > 2. Do you pull the PGM pin low (assuming you use HVP)? > > Wouter van Ooijen > > -- ------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > > > CNT TEK.

____________________________________________________________________________
Tkiye'nin en samimi arkada arama servisi ile hayata renk kat! arkadasim.mynet.com



I have been tring that pgm(rb5) pull down, but anything is changed. I put on PIC18F458 on my jdm programmer and open ic-prog v1.05A. I choose 18F458 on ic-prog. after that, if I don't change any setting and try to programming, the device successfully programming. but for example, I write a code in 0040H address and try to programming, the program alert me that "programming failed at code address 000040h!" it is possible that the ic-prog have a mistake? could you tell me please which software using you for 18F458 thanks >
> ----- g eti -----
> Kimden : "Wouter van Ooijen"
> Kime :
> Cc :
> Gderme tarihi : Mon, 7 Jul 2003 20:11:00 +0200
> Konu : RE: [piclist] I don't programming that 18F458 and 12F675
>
> > I'm using a jdm programmer and ic-prog v1.05A. > > I try to programming 18F458 and 12F675 but I don't programming them > > 1. Does that version of ic-prog support the chip types you are trying to > program? > 2. Do you pull the PGM pin low (assuming you use HVP)? > > Wouter van Ooijen > > -- ------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > > > CNT TEK.

__________________________
Tkiye'nin tercihi! Mynet Email



I have been tring that pgm(rb5) pull down, but anything is changed. I put on PIC18F458 on my jdm programmer and open ic-prog v1.05A. I choose 18F458 on ic-prog. after that, if I don't change any setting and try to programming, the device successfully programming. but for example, I write a code in 0040H address and try to programming, the program alert me that "programming failed at code address 000040h!" it is possible that the ic-prog have a mistake? could you tell me please which software using you for 18F458 thanks >
> ----- g eti -----
> Kimden : "Wouter van Ooijen"
> Kime :
> Cc :
> Gderme tarihi : Mon, 7 Jul 2003 20:11:00 +0200
> Konu : RE: [piclist] I don't programming that 18F458 and 12F675
>
> > I'm using a jdm programmer and ic-prog v1.05A. > > I try to programming 18F458 and 12F675 but I don't programming them > > 1. Does that version of ic-prog support the chip types you are trying to > program? > 2. Do you pull the PGM pin low (assuming you use HVP)? > > Wouter van Ooijen > > -- ------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > > > CNT TEK.

__________________________
Tkiye'nin tercihi! Mynet Email


Message
>  could you tell me please which software using you for 18F458 thanks 
 
http://www.voti.nl/wisp628
http://www.voti.nl/xwisp
 
But that won't help you much with your hardware...
 

Wouter van Ooijen

-- -------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products
 

 


Well the 12F6x chips require the MCLR to be held high prior to VCC
coming up, something that the JDM programmer doesn't do (it's powered
from the RS232 port, both the VCC and MCLR are hot when you plug in the
programmer). My guess is the 18F chip is similar. The 16F84 chip does
not make this requirement.

Now having said all that, I have been able to program the 12F6x chips
with the JDM style programmer (olimex) and ICProg software. The caveat
is don't use the internal oscillator (some one else suggested not tying
MCLR high internally allowing that pin to be I/O) on the chip. It
seems that when the chip is programmed to run on the internal
oscillator it starts running as soon as you plug the
chip/programmer/cable into the RS232 port and that prevents the chip
from being programmed.

Or at least that's my experience with the 12F6x chips. I have
successfully overrided this by putting a 9vdc on the MCLR prior to
pluggin the RS232 into the programmer, then unpluggin the 9vdc as soon
as I hit the program button, effectively reviving all of my chips.

Regards, John Remington.
--- cnt <> wrote:

---------------------------------
Hello,I've a problem with my programmer!I'm using a jdm programmer and
ic-prog v1.05A.I can programming 16F84 and 16F877 without any problem.
I try to programming 18F458 and 12F675 but I don't programming them
:(could you tell me what I am doing now?thanks for your advicessory for
my englishCNT TEK.
____________________________________________________________________________
Tkiye'nin en samimi arkada arama servisi ile hayata renk kat!
arkadasim.mynet.com
to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions

__________________________________




> Well the 12F6x chips require the MCLR to be held high prior to VCC
> coming up, ... My guess is the 18F chip is similar.

So far this is only required for chips that can configure the /MCLR pin
as input, and in my experience you can get away with the old
(Vcc-then-Vpp) sequence as long as you don't actually configure the
/MCLR pin as input.

> The caveat
> is don't use the internal oscillator ...

That points to another problem: the programmer does not rise /MCLR to
Vpp fast enough. As the rise time is specified in clock cycles this
won't be much of a problem when configured for a crystal and no crystal
is connected, but is becomes a problem whith either the internal osc or
when a crystal is connected. I remember that my first programmer (some
almost-no-parts serial port variant) could do ICSP, but only when I
removed the crystal during programming.

But of course the best advice is: get a real programmer... (My Wisp628
kit is less than $30 including S/H)

Wouter van Ooijen

-- -------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products