• AVR Freaks

Helpful ReplyHot!PICKIT4 holds MCLR after power-on or when unpowered

Page: 12 > Showing page 1 of 2
Author
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
2018/11/07 00:03:29 (permalink)
0

PICKIT4 holds MCLR after power-on or when unpowered

I noticed following difference of the PICKIT4 compared to the RealICE:
 
RealICE: - releases MCLR after power-on
             - releases MCLR when unpowered (USB disconnected)
 
PICKIT4: - holds MCLR after power-on
              - holds MCLR when unpowered (USB disconnected)
 
Did anybody experience the same?
 
picy2620
#1
qhb
Superb Member
  • Total Posts : 9999
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/07 00:26:28 (permalink)
0
It's already been complained about, and a fix promised.
 
See: https://www.microchip.com/forums/m1050560.aspx
which was only a few topics below yours.
 
post edited by qhb - 2018/11/07 00:32:00

Nearly there...
#2
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/07 03:33:21 (permalink)
0
No, in that thread, the behavior after programming is decribed. This seems to be fixed and works fine.
I talk about power-on or when unpowered.
 
greetings
 
picy2620
#3
DevMod1
Administrator
  • Total Posts : 532
  • Reward points : 0
  • Joined: 2009/02/10 09:34:30
  • Location: 0
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/08 10:13:21 (permalink)
0
You should not leave the PICkit 4 connected to your target without the USB cable connected.  The PICKit 4 is designed to be powered from the target for Programmer To Go (support will be in early-mid 2019) 
 
So you are actually powering the PICKit 4 when you do that so the operation is the same as if you had the USB cable connected.
 
 

_____________________________

Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.
#4
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/09 00:26:03 (permalink)
0
Understood. But even if the USB is connected to the PC, after switching on PC and the target board, PICKIT4 hold MCLR low until I programm it or toggle the "Hold in reset / Release from reset" button in MPLABX two times. (first time, it holds the reset, the second time, it releases from reset)
 
With RealICE, MCLR is not pulled down when starting PC and target board.
 
picy2620
#5
DevMod1
Administrator
  • Total Posts : 532
  • Reward points : 0
  • Joined: 2009/02/10 09:34:30
  • Location: 0
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/14 14:58:25 (permalink)
0
Please try MPLAB X v5.10 which is on the web now, this issue should have been fixed in that release.

_____________________________

Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.
#6
qhb
Superb Member
  • Total Posts : 9999
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/14 15:10:29 (permalink)
0
DevMod1
Please try MPLAB X v5.10 which is on the web now, this issue should have been fixed in that release.

As this is presumably controlled by the firmware inside the PK4, will you need to force a firmware download after updating MPLAB? (Assuming you don't do anything, like changing part families, that would do it anyway.)
 

Nearly there...
#7
RISC
Super Member
  • Total Posts : 5776
  • Reward points : 0
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/14 15:43:26 (permalink)
0
Hi,
AFAIK firmware is automatically updated in the programming/debug tools once they are connected to MPLAB X.
(you can see this when you install a new MPLAB X version of when you revert a tool to a previous MPLAB X version)
Regards
#8
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/15 01:34:49 (permalink)
0
I did try with MPLABX 5.10 and it´s still the same as before.
#9
qhb
Superb Member
  • Total Posts : 9999
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/15 02:19:59 (permalink)
0
How exactly did you test it?
 

Nearly there...
#10
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/15 05:30:38 (permalink)
0
After every (re)start of the PC, the PICKIT4 holds down MCLR which REALICE does not.
#11
qhb
Superb Member
  • Total Posts : 9999
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/15 05:41:23 (permalink)
0
Have you done a programming cycle with the PK4, to make sure the PK4 firmware got updated?
 

Nearly there...
#12
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/15 08:11:52 (permalink)
0
Sure, it automatically updated the firmware before programming the first time after updating to 5.10. I can
tell the versions if needed.
#13
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2018/11/15 10:17:15 (permalink)
0
here the current versions:
 

Connecting to MPLAB PICkit 4...
Currently loaded versions:
Application version............00.04.03
Boot version...................01.00.00
Script version.................00.02.65
Script build number............69cc1f643c
Target voltage detected
Target device PIC24FV32KA302 found.
Device Revision Id  = 0x6
 
picy2620
#14
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2019/05/16 09:30:31 (permalink)
0
I did try with MPLABX 5.20 and it´s still the same as before.
 
picy2620
#15
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2019/05/16 09:33:26 (permalink)
0
here the current versions: (MPLABX 5.20)
 
Connecting to MPLAB PICkit 4...
Currently loaded versions:
Application version............00.04.15
Boot version...................01.00.00
Script version.................00.02.97
Script build number............117b21ad10
Target voltage detected
Target device dsPIC33CK256MP205 found.
Device Revision Id  = 0x1
#16
picy2620
Super Member
  • Total Posts : 138
  • Reward points : 0
  • Joined: 2009/11/13 08:12:47
  • Location: Germany
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2019/10/30 01:47:21 (permalink)
4 (1)
Finally, this bug is fixed in MPLABX 5.30! (about one year after reporting)

6       Repairs and Enhancements Made in v5.30

PK4-55
MPLAB PICkit 4 no longer holds MCLR low at power up. Signal will be tri-stated.
#17
domble
Super Member
  • Total Posts : 151
  • Reward points : 0
  • Joined: 2007/01/25 04:11:53
  • Location: 0
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2019/11/04 10:02:07 (permalink)
0
PICkit 3, I had noticed recently (so I don't know if it was a new 'feature', certainly when I was using 5.25) was holding MCLR low on power up.  Worried me several times, powering up of a morning, my code wasn't starting up...
 
Anyway - with 5.30, MPLAB upated the PICkit 3 firmware (no note of bugfixes in the release notes) and I think they've fixed it on PICKit3 as well.  At least, after USB replug, the PICkit3 starts with MCLR low but releases it as soon as it is up and running. 
 
Looks like the 'power target circuit from PICkit3' setting is fixed as well.  Also not in PICkit3 release note.
 
Thanks for the sneaky fixes Microchip! :-)
 
dom.
#18
jobo89
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2020/01/15 02:31:39
  • Location: 0
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2020/08/03 06:08:12 (permalink)
0
I am using a PICkit 4 with MPLAB X IPE v5.40 and still have this issue. I am able to send the program to the PIC16 but I need the startup script to run for production which does not work with MCLR still active. If I power cycle the PICkit it will release but this is another step I would like to avoid. Is there a setting or something I am missing?
 
-Josh
#19
ric
Super Member
  • Total Posts : 28378
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: PICKIT4 holds MCLR after power-on or when unpowered 2020/08/03 13:29:48 (permalink) ☄ Helpfulby jobo89 2020/08/07 10:28:41
0
There is a button in the programmer toolbar labelled "Hold in reset".
Is that engaged?
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#20
Page: 12 > Showing page 1 of 2
Jump to:
© 2020 APG vNext Commercial Version 4.5