18f4431 problems

83 views
Skip to first unread message

jos smans

unread,
Nov 5, 2023, 9:36:01 AM11/5/23
to jallib
Hello, I have a problem by programming a pic 18f4431. When i make a verry simple  program blink a led ,jaledit accept the HEX program, but ,when i put it in pic, error occurs on my pickit3"Programming failed at Program Memory 0x000000"
I also I attempt a sample from jalib directory"18f4431_blink_HS.jal"with the same error.
Can i have a litlle help?
Thanks

Evan Venn

unread,
Nov 5, 2023, 11:03:06 AM11/5/23
to jal...@googlegroups.com
Can you share what programming software you are using with your PK3?  

I am the developer of PICKitPlus and we have tested this chip family. 

Evan


From: jal...@googlegroups.com <jal...@googlegroups.com> on behalf of jos smans <sman...@gmail.com>
Sent: 05 November 2023 13:06
To: jallib <jal...@googlegroups.com>
Subject: [jallib] 18f4431 problems
 
--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/77b05aac-91b9-4246-abd1-04bf83fffc56n%40googlegroups.com.

jos smans

unread,
Nov 5, 2023, 1:37:42 PM11/5/23
to jallib
hi EvanVenn
I use  software Pickit 3V 3.10 , and also jaleditV2. If PickitPlus is  a newer and better program, were can i download it?
Jos.

Op zondag 5 november 2023 om 17:03:06 UTC+1 schreef Evan Venn:

Rob CJ

unread,
Nov 6, 2023, 3:25:07 AM11/6/23
to jal...@googlegroups.com
Hi Jos,

The PICKitplus software is software you need to purchase. If you use a newer PIC you need it. Your PIC is not so new so it should be possible to program it with the old PICKit software.

Even with PICKitplus I got sometimes the same error that you mentioned. I have two Chinese copies of the PICKit3 and one often gives this error and the other does not.

There are some options you can try that worked for me:
  1. Put decoupling capacitors close to your PIC.
  2. Use IPE from MPLABX. For some reason that also solved the problem (maybe they use another programming algorithm).  Note that you  need to switch your PICKit3 then to MPLABX mode.
Kind regards,

Rob


Van: jal...@googlegroups.com <jal...@googlegroups.com> namens jos smans <sman...@gmail.com>
Verzonden: zondag 5 november 2023 19:37
Aan: jallib <jal...@googlegroups.com>
Onderwerp: Re: [jallib] 18f4431 problems
 

Evan Venn

unread,
Nov 6, 2023, 3:40:15 AM11/6/23
to jal...@googlegroups.com

Re getting errors from specific clone programmers.  If we can isolate or reproduce these errors then we can resolve - at the moment we cannot reproduce. 

Evan

Evan

Sent: Sunday, November 5, 2023 7:37:41 PM
To: jallib <jal...@googlegroups.com>
Subject: Re: [jallib] 18f4431 problems
 

Zet Weeh

unread,
Nov 6, 2023, 4:08:43 AM11/6/23
to jallib
Hi Jos

I think it isn't a microprocessor problem.
Did you use a new PICKit3 or use it with MPlab?
Because you can't load a program and seeing the code of the error-message I think the PICKit3 has the firmware for MPlab
and you wanna use the stand-alone version.

Do this to load the stand-alone firmware:
1 Start the PICKit3
2 Open 'Tools' - Download PICKit Operating system'
3 Now 'Open PK 3 OS file'
4 Go to C:\Program files\Microchip|PICKit3
5 Click: 'PK30SVO200005.hex' 
6 Click 'Open'
7 Follow the screen
8 When PICKit3 is ready: close and restart

Succes
Peter

Op zondag 5 november 2023 om 15:36:01 UTC+1 schreef jos smans:

Rob CJ

unread,
Nov 6, 2023, 5:30:32 AM11/6/23
to jal...@googlegroups.com
Hi Peter,

If you use the Pickit3 software when the pickit programmer is in mplax mode, it will mention that.

As far as I know it will not give the programming error that was described by Jos.

Met vriendelijke groet,
Rob Jansen

From: jal...@googlegroups.com <jal...@googlegroups.com> on behalf of Zet Weeh <zet....@gmail.com>
Sent: Monday, November 6, 2023 10:08:42 AM
To: jallib <jal...@googlegroups.com>
Subject: [jallib] Re: 18f4431 problems
 
--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.

Evan Venn

unread,
Nov 6, 2023, 5:36:46 AM11/6/23
to jal...@googlegroups.com
Agree.  I know low level details of the software and the programming process. At the moment we have no open support tickets. 

Evan

From: jal...@googlegroups.com <jal...@googlegroups.com> on behalf of Rob CJ <rob...@hotmail.com>
Sent: Monday, November 6, 2023 11:30:27 AM
To: jal...@googlegroups.com <jal...@googlegroups.com>
Subject: Re: [jallib] Re: 18f4431 problems
 

vsurducan

unread,
Nov 6, 2023, 6:14:56 AM11/6/23
to jal...@googlegroups.com
It might be a hardware problem. Have you checked twice the connectoin between programmer and pic? Short cable length (20-30cm). GND cables between clock and data signals.Do you have correct programming and supply voltage? Use HV programming mode not LVP. 

--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.

jos smans

unread,
Nov 6, 2023, 6:47:34 AM11/6/23
to jallib
Hello everyone,
I have programmed the same "blink a led" with Pic18f4455. By 18f4455 it works completely. so i think it isn't the power, gnd .Maybe a software problem?
Jos

Op maandag 6 november 2023 om 12:14:56 UTC+1 schreef vsurducan:

rob...@hotmail.com

unread,
Nov 6, 2023, 12:33:01 PM11/6/23
to jallib
Hi Jos,

It may still be a power problem since not all PICs are the same. Did you try using IPE from MLPABX?

Kind regards,

Rob


Op maandag 6 november 2023 om 12:47:34 UTC+1 schreef sman...@gmail.com:

Zet Weeh

unread,
Nov 6, 2023, 5:07:11 PM11/6/23
to jallib
Hi Jos

Forget my advice about the firmware because the PICKit3 works with 18F4455.

Are you sure that 'Hold in reset' is disabled (you find it in one of the tabs of the menu).

And control the connections of the resistor and capacitor for pin 1. 
When pin1 has the wrong voltage you can't load the hex-file.

Bye Peter

Op maandag 6 november 2023 om 18:33:01 UTC+1 schreef rob...@hotmail.com:

jos smans

unread,
Nov 9, 2023, 8:58:29 AM11/9/23
to jallib
hi everyone ,
I have programmed pic 18f4431 successfully . I bought a new breadboard ,but not a good one. after measuring the power on MCLR ,i found the power was too  litle. (a bad Breadboard) After programming with my old breadboard ,everyting was ok.
Thanks everyone for suggestions and help
Jos
Op maandag 6 november 2023 om 23:07:11 UTC+1 schreef Zet Weeh:
Reply all
Reply to author
Forward
0 new messages