Author Topic: PicKit3 Fun with MPLAB8 & MPLABX when reloading firmware to change device  (Read 1909 times)

0 Members and 1 Guest are viewing this topic.

Offline fourtytwo42Topic starter

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: gb
  • Interested in all things green/ECO NOT political
I apologize if this has already been covered here but I did look!
I don't use PICs heavily so I just stick to my old PicKit3 rather than buying anything new, I have a mixture of projects some still using MPLAB8 under windows and some later ones using MPLABX under Linux together with a mixture of targets including PIC16F, PIC18F & PIC24EP.
So recently I went to re-program a PIC24EP under MPLAB8/WIN and got the cryptic "programing failure" with no other message , of course I assumed it was hardware and set of to test everything but could find no fault. During testing I tried a PIC18F project again under MPLAB8/WIN and got the even more shocking, device id zero!! making it look even more like dead hardware.

To cut a long story short the problem was the use of MPLABX, it had changed something in the PicKit3 making it no longer compatible with the firmware used by MPLAB8 |O,
My work around for now is to reload the firmware when changing device using MPLABX even if programming with MPLAB8.

I cannot find out where X stores it's firmware files else it might be possible to import them into 8. Unfortunatly Microchip seem to have removed all PicKit3 firmware files from there site  :palm:

For reference the versions I am using are MPLAB8.92 with PicKit firmware 01.28.90 & MPLABX5.35 with PicKit firmware 01.56.07
MPLAB8.92 is I believe the last version & MPLABX5.35 is the last version I found supporting PicKit3 AND MPASM!

Hope this helps someone with the same problem  ;D
« Last Edit: January 07, 2024, 07:44:41 pm by fourtytwo42 »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 5906
  • Country: ca
you have some other pickit2 pickit3   software,  no need of mplab  ...  cant recall the thread,  but it doesnt cost a lot and receives updates
 
The following users thanked this post: fourtytwo42

Offline 8goran8

  • Contributor
  • Posts: 29
  • Country: cs
I am using PICKit3 and MPLAB Integrated Programming Environment (IPE) for Microchip PIC microcontrollers .

https://www.microchip.com/en-us/tools-resources/production/mplab-integrated-programming-environment
 
The following users thanked this post: fourtytwo42

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
If you really need you use MPLAB8, best to keep a PICkit3 specifically for that - cheap clones generally work fine.
It's not usually too hard to migrate to MPLABX. Pickit4 avoids the whole changing firmware for different devices thing, which is a PITA
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline fourtytwo42Topic starter

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: gb
  • Interested in all things green/ECO NOT political
I am using PICKit3 and MPLAB Integrated Programming Environment (IPE) for Microchip PIC microcontrollers .

https://www.microchip.com/en-us/tools-resources/production/mplab-integrated-programming-environment
Hi you did not quote the version of IPE but anyway I need a full IDE (debugging, compilation as well) not just a programmer.
 

Offline fourtytwo42Topic starter

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: gb
  • Interested in all things green/ECO NOT political
If you really need you use MPLAB8, best to keep a PICkit3 specifically for that - cheap clones generally work fine.
It's not usually too hard to migrate to MPLABX. Pickit4 avoids the whole changing firmware for different devices thing, which is a PITA
As much as I agree with you unfortunately MPLABX has already semi-bricked my PK3 but I want it to work on both MPLAB8 & MPLABX.
As far as PK4 is concerned it's sooooooooo overpriced I could not possibly justify it!
 

Offline fourtytwo42Topic starter

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: gb
  • Interested in all things green/ECO NOT political
you have some other pickit2 pickit3   software,  no need of mplab  ...  cant recall the thread,  but it doesnt cost a lot and receives updates
Are you talking about a clone ? if so link please.
 

Online jpanhalt

  • Super Contributor
  • ***
  • Posts: 3479
  • Country: us
Your comment about MPLabX bricking your PK3 brought back painful memories of something similar happening to my ICD3.  It was traced to an updated .jam file that I did not want.  I use MPLab 8.92.

I checked the PK3 .jam file in my system.  It is: PIC3FW_012890.jam with a date of 06/13/2013.  Check what you have.   If you want, I can  zip it and upload it here (I hope).  There is also a Microchip archive site where it might also be found.
 
The following users thanked this post: fourtytwo42

Offline Andy Chee

  • Frequent Contributor
  • **
  • Posts: 686
  • Country: au
I've been using X with Pckt3 for quite some time now and always wondered what that automatic firmware upgrade was all about.  Now I know.  And now I know not to interrupt it!
 
The following users thanked this post: fourtytwo42

Offline fourtytwo42Topic starter

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: gb
  • Interested in all things green/ECO NOT political
Your comment about MPLabX bricking your PK3 brought back painful memories of something similar happening to my ICD3.  It was traced to an updated .jam file that I did not want.  I use MPLab 8.92.

I checked the PK3 .jam file in my system.  It is: PIC3FW_012890.jam with a date of 06/13/2013.  Check what you have.   If you want, I can  zip it and upload it here (I hope).  There is also a Microchip archive site where it might also be found.
Thanks for the reply, mine is exactly the same BUT the problem is it no longer works after the PK3 has been used in conjunction with MPLABX as it changes some other piece of firmware that is not restored when you reload it using MPLAB, so be very careful if you ever decide to try MPLABX, don't be in a hurry to plug your PK3 in to it!!
 

Offline fourtytwo42Topic starter

  • Super Contributor
  • ***
  • Posts: 1185
  • Country: gb
  • Interested in all things green/ECO NOT political
Re: PicKit3 Fun with MPLAB8 & MPLABX when reloading firmware to change device
« Reply #10 on: January 08, 2024, 09:49:39 am »
I've been using X with Pckt3 for quite some time now and always wondered what that automatic firmware upgrade was all about.  Now I know.  And now I know not to interrupt it!
You are ok if you continue using just MPLABX BUT the PK3 will no longer work with firmware loaded by MPLAB  :(
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf