I have been using a pickit3 for many years. For me the most convenient method is by using the PK3CMD.EXE command line programming tool (that comes with MPLABXipe).
The command line tool can be incorporated into the GCBASIC IDE batch program so you can just click on make HEX and Flash. The PK3CMD supports every PIC I've tried.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Isn't that what gcb does in pic programming tools? What am I missing?
REM Call pk3cmd.exe WITH RELEASE FROM RESET - DO NOT PROGRAM EEPROM
REM if exist "MPLAB_IPE\PK3cmd.exe" "MPLAB_IPE\PK3cmd.exe" -P%2 -F%1 -L -M PICB
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes Stan it is very similar. I was just a bit worried that the "sticky" above was suggesting a much more convoluted approach which may have misled people just starting with PICKIT3.
I had to change the command line to include voltage as I am often using chips that work best a 3.3V.
cd\ {insert directory where pk3cmd is installed}
pk3cmd -p%2 -e -f%1 -m -V3.300
Last edit: David Stephenson 2018-03-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
News: I have completed a new build of the PicKit2 and PicKit3 software. You can now program 'modern' microcontrollers like the 16f18313, 16f18326, 16f18855 etc. etc.
This does not use MPLAB-IPE and uses the familar Windows GUI application.
I am willing to provide on test to a few. I need to issue a certificate for the new application and I therefore wil create a small funding mechanism for this specific reason - creating an application certificate.
Anyone interested? I will post a YouTube video in a moment showing the PicKit2 and the PicKit3 programming a few micontrollers that previously needed MPLAB-IPE or an alternative programmmer.
Last edit: Anobium 2018-03-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not fully up to date as to costs and of it is an annual fee, but everyone that I knew that had certification have long since cancelled it, citing escalating costs and no tangible benefit.
It looks like it has become just one more way for Microsoft to extract revenue for developers.
Failing to install uncertified software would have been classed as extortion not so long ago.
It is easy enough for the user to agree to install uncertified drivers and if they are doing so to install a hardware programmer then they are most certainly knowledgeable enough to determine if GCBASIC can be trusted.
Personally the more Microsoft try to tell me what I can and can’t install on my PC the less I use Microsoft and the more I use Linux.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to sort Application Code Signing to resolve alerts from the Windows operating system.
So, we can test the new code but those who test will have to suffer the Windows operating system alert until I have the certificate / code signing sorted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Guys. This is NOT about installing device drivers. This a totally new PICKit * PLUS Application that means you can use the Windows applications on the newer chips.
You have read it here first. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Glad to see the PICKit 2 and 3 GUIs still receiving some love, PK2 still my favorite alltime. Since Williams update there has been no reason to use MPLAB IPE. Consider that MCHP is now onto PICKit 4, phooey.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some people use 32 bit win 10. Mine were win 10 auto upgrades from win 7 32bit.
My win desktop now says I'm administrator when I sign in but I still get the admin error closing pk3. shift/ctrl and right click then run as admin makes pk3 close properly.
'
Does gcb hex files for new pics flash with pk3 ide as old ones do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Where are we going with this? We are trying to programme PICs with the pickit3. Microchip already provides a command line utility that can be integrated with the IDE so why do we want to contribute $337 for another piece of software?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The new software will support the newer microprocessors using a PICKit2 or PICKit3.
The new software is faster and you do not need to install MPLAB-X or MPLAB-IPE. We have a new command line utility under development also - this will integrate with the IDE and will also support the newer microprocessors.
The changes are as follows:
1. Updated PICKit2 and PICKIt3 GUI software to support the new programming protocols required to support the newer microprocessors.
2. Update database of microprocessors. This new database is not suppported by any previous version of the PICKit2 and PICKIt3 GUI software as the old versions of PICKit2 and PICKIt3 GUI software do not know how to handle the newer microprocessors.
3. Update programming macros to support newer microprocessors.
The certificate is proove this is not malware. I need the same certificate for the Great Cow BASIC installer and we have many other uses for the certificate.
So, this 'ask' to provide support for the purchase of an Code Signing Certificate - this will be used to sign that the new executeables are valid. The same Code Signing Certificate will be used for the Installer, IDE.EXE etc. etc.
Using a Code Signing Certificate does not impact what operating systems we support is ensures the code is valid and from the the development team.
This is not another piece of software.
Last edit: Anobium 2018-03-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anobium
I only use MPLAB-IPE so this probably doesn't apply to me, but I would like to kick in $25 to support this, if it is still an ongoing project.
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been using a pickit3 for many years. For me the most convenient method is by using the PK3CMD.EXE command line programming tool (that comes with MPLABXipe).
The command line tool can be incorporated into the GCBASIC IDE batch program so you can just click on make HEX and Flash. The PK3CMD supports every PIC I've tried.
Isn't that what gcb does in pic programming tools? What am I missing?
REM Call pk3cmd.exe WITH RELEASE FROM RESET - DO NOT PROGRAM EEPROM
REM if exist "MPLAB_IPE\PK3cmd.exe" "MPLAB_IPE\PK3cmd.exe" -P%2 -F%1 -L -M PICB
Watch for news on PicKit3 programming!!
Yes Stan it is very similar. I was just a bit worried that the "sticky" above was suggesting a much more convoluted approach which may have misled people just starting with PICKIT3.
I had to change the command line to include voltage as I am often using chips that work best a 3.3V.
cd\ {insert directory where pk3cmd is installed}
pk3cmd -p%2 -e -f%1 -m -V3.300
Last edit: David Stephenson 2018-03-15
News: I have completed a new build of the PicKit2 and PicKit3 software. You can now program 'modern' microcontrollers like the 16f18313, 16f18326, 16f18855 etc. etc.
This does not use MPLAB-IPE and uses the familar Windows GUI application.
I am willing to provide on test to a few. I need to issue a certificate for the new application and I therefore wil create a small funding mechanism for this specific reason - creating an application certificate.
Anyone interested? I will post a YouTube video in a moment showing the PicKit2 and the PicKit3 programming a few micontrollers that previously needed MPLAB-IPE or an alternative programmmer.
Last edit: Anobium 2018-03-19
Is Certification actually worth it?
I am not fully up to date as to costs and of it is an annual fee, but everyone that I knew that had certification have long since cancelled it, citing escalating costs and no tangible benefit.
It looks like it has become just one more way for Microsoft to extract revenue for developers.
Failing to install uncertified software would have been classed as extortion not so long ago.
It is easy enough for the user to agree to install uncertified drivers and if they are doing so to install a hardware programmer then they are most certainly knowledgeable enough to determine if GCBASIC can be trusted.
Personally the more Microsoft try to tell me what I can and can’t install on my PC the less I use Microsoft and the more I use Linux.
I need to sort Application Code Signing to resolve alerts from the Windows operating system.
So, we can test the new code but those who test will have to suffer the Windows operating system alert until I have the certificate / code signing sorted.
About installing an unsigned driver.
https://docs.microsoft.com/en-us/windows-hardware/drivers/install/installing-an-unsigned-driver-during-development-and-test
https://www.howtogeek.com/167723/how-to-disable-driver-signature-verification-on-64-bit-windows-8.1-so-that-you-can-install-unsigned-drivers/
Good, I second that.
@Guys. This is NOT about installing device drivers. This a totally new PICKit * PLUS Application that means you can use the Windows applications on the newer chips.
You have read it here first. :-)
Glad to see the PICKit 2 and 3 GUIs still receiving some love, PK2 still my favorite alltime. Since Williams update there has been no reason to use MPLAB IPE. Consider that MCHP is now onto PICKit 4, phooey.
Some people use 32 bit win 10. Mine were win 10 auto upgrades from win 7 32bit.
My win desktop now says I'm administrator when I sign in but I still get the admin error closing pk3. shift/ctrl and right click then run as admin makes pk3 close properly.
'
Does gcb hex files for new pics flash with pk3 ide as old ones do?
Anyone willing to contribute towards the code signing of the new Pickit software? I need to raise 377USD for 3 year cert usage licence.
I setup an account in the next few days, or, you can use PayPal
Send me a personal message if you are willing to contribute. I will post more on this plea tomorrow..
Where are we going with this? We are trying to programme PICs with the pickit3. Microchip already provides a command line utility that can be integrated with the IDE so why do we want to contribute $337 for another piece of software?
The new software will support the newer microprocessors using a PICKit2 or PICKit3.
The new software is faster and you do not need to install MPLAB-X or MPLAB-IPE. We have a new command line utility under development also - this will integrate with the IDE and will also support the newer microprocessors.
The changes are as follows:
1. Updated PICKit2 and PICKIt3 GUI software to support the new programming protocols required to support the newer microprocessors.
2. Update database of microprocessors. This new database is not suppported by any previous version of the PICKit2 and PICKIt3 GUI software as the old versions of PICKit2 and PICKIt3 GUI software do not know how to handle the newer microprocessors.
3. Update programming macros to support newer microprocessors.
The certificate is proove this is not malware. I need the same certificate for the Great Cow BASIC installer and we have many other uses for the certificate.
So, this 'ask' to provide support for the purchase of an Code Signing Certificate - this will be used to sign that the new executeables are valid. The same Code Signing Certificate will be used for the Installer, IDE.EXE etc. etc.
Using a Code Signing Certificate does not impact what operating systems we support is ensures the code is valid and from the the development team.
This is not another piece of software.
Last edit: Anobium 2018-03-20
CONTRIBUTIONS TO DATE
So far. I have commitments of 75 USD from two supporters.
Last edit: Anobium 2018-03-20
CONTRIBUTIONS TO DATE
So far. I have commitments of 75 USD from two supporters
One other support has made an unspecified commitment.
I will not request the contributions until I have published the details of the Certificate procurement process.
Anobium
Anobium
I only use MPLAB-IPE so this probably doesn't apply to me, but I would like to kick in $25 to support this, if it is still an ongoing project.
Paul
Thank you. I have sent you a personal message on the donation process but essentially all donations are via PayPal.
So, grateful.