Hello (again) still having trouble getting all 3 to play nice. I deleted the previous Pickit3 program. reinstalled the version In the directory Pickit3 programmer in GCB. It now says " The Pickit 3 has no operating system. Use the Tools menu to download an OS" Where do I go from here?
Also have gone into GCbasic drop down menu and edit PIC programmer batchfile. I gather these are the lines i need to delete the REM?
Use PicKit3 Integrated Programming Environment GUI (IPE):
note, that IPE must run and a programmer and a PIC is connected!
"PicKit3\IPE-Pusher.exe" %1 0
Thanks.
Marz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you look at the YouTUbe video? I would recommend the PK3 GUI either manually loading the HEX or using the Automatic function, see https://www.youtube.com/watch?v=O9lrQ5Bzc8U. The IPE-Pusher requires you to install MP-LAB X IDE.
If the PK3 has no operating system then use TOOLS/DOWNLOAD PiCkit Operating System then select the PK3OSV020005.HEX file. This will update the PK3 to the latest operating system.
Last edit: Anobium 2018-02-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked at the video. Do I HAVE to install java?
Please watch this video of pickit3 on my pc...not closeing. https://youtu.be/6UcV36fPV6g
I can live with using pk3 that way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Stan. I am guessing again. Please try to state the context of the questions.
I looked at the video. Do I HAVE to install java?
I am guessing that you are refering to "PicKit3\IPE-Pusher.exe" . If so, yes.
But, in the context that I keep saying 1) use the manual file load or 2) the automatic load method as shown in the video https://www.youtube.com/watch?v=O9lrQ5Bzc8U.
Please watch this video of pickit3 on my pc...not closeing. https://youtu.be/6UcV36fPV6g
Watched the video.
I am guessing. As you do not state the Operating System. I am guessing this is Windows 10. And, I am guessing you are the Administrator. If so, run the PicKit3 as Administrator by changing the properties of the shortcut. Does that fix it?
I can live with using pk3 that way.
Not sure what this means. Is this a question?
Last edit: Anobium 2018-02-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can live with flashing a hex file from gcb with pk3 gui...not one click but a few more. no prob.
It was pk3 and win10 thread so posted here. This is win 10 and pk3
I can't find java on any pc I have and for the sake of a few clicks won't bother. And for the same reason xlab. Couldn't it be just an exe in xlab not the whole thing? Like mpasm.exe and not the whole thing like long ago.
GCB would make a hex file for new 16f ppi pics and I can use pk3 to flash them seems ok. Have I got that? Not using the hex flash button and flashing hex is the same..yes?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did changing the properties of the PK3 GUI application when using Windows 10 resolve the issue?
I have no idea about Java on your computer. I advise that you look.
GCB would make a hex file for new 16f ppi pics and I can use pk3 to flash them seems ok. Have I got that? Not using the hex flash button and flashing hex is the same..yes?
This looks like a question but I cannot guess what 'hex flash button' and 'flashing hex' means.
There will be some great news on programming using the PicKit2 and PicKit3 very soon - meanwhile.
PK2 - use the software installed with Great Cow BASIC the GUI and the command line utility from within the IDE.
PK3 - use the software installed with Great Cow BASIC. Add update the chip database manually after you have installed the GUI software. Use the GUI software to l1) oad a hex and program and/or use the GUI software to automatically program.
Feels
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The route to pickit 2 V2.2 in c:\ programs\ under properties\advanced is greyed out ie use as administrator but the c:\gcb@syn\ pickit2gui\pickit2 v2.2.exe works.
It's the only pickit2 on the drive. What's happening?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Stan. Just use the version of the PicKit2 installed with your Great Cow BASIC installation. Remove the other. The Great Cow BASIC version is a later version with more chips supported.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All good so far. I can flash an LED if I use the" auto import hex" function
Thanks for the replies. I really appreciate the help.
To recap:
Installed GCB on Win 10 machine.
Installed Pickit3 software that is in the GCB@Syn directory.
Installed Pickit3 Hex file, found at C:\ Program files (x86)\Microchip\Pickit3 v3
(on my machine it didnt show the hex files until I changed the drop down box above the open button from" Pickit3 OS" to "all files").
Changed Properties on startup of Pickit3 software to "Run as administrator".
Removed the REM statement on these 3 lines in the gcbasic dropdown menu -> edit PIC programmer batchfile :
Use PicKit3 Integrated Programming Environment GUI (IPE):
note, that IPE must run and a programmer and a PIC is connected!
"PicKit3\IPE-Pusher.exe" %1 0
The IPE Pusher is the only thing I dont understand. Is that to enable the "Hex Flash button" and not use the autoload hex function?
Marz.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Removed the REM statement on these 3 lines in the gcbasic dropdown menu -> edit PIC programmer batchfile :
Use PicKit3 Integrated Programming Environment GUI (IPE):
note, that IPE must run and a programmer and a PIC is connected!
"PicKit3\IPE-Pusher.exe" %1 0
The IPE Pusher is the only thing I dont understand. Is that to enable the "Hex Flash button" and not use the autoload hex function?
Regarding this... please do not use/ you cannot use without installing MPLAB-IPE (part of the MPLAB-IDE Java Application).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Annobium, all good I can program now using the autoload hex. Not sure how mplab fits into the equation. The way i understand things working is GCB sorts out what it has to and hands it on to the Pickit3 which programs the chip in a language it understands . Is this what happens in simple terms? Where does mplab fit in?
Marz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MPLAB is the Microchip development environment. At the moment if you want to program specfici chips then you may need to use the MPLAB-X programmer software called MPLAB-IPE. This MPLAB-IPE supports the newer chips. There are other ways of programming these newer chips, see http://gcbasic.sourceforge.net/Typesetter/index.php/News/22_Northern_Software_Programmer_in_action%21 and as I am hinting we will be releasing a major upgrade to the PicKit programming software very shortly to hopefully resolve the dependency on MPLAB-IPE.
The way i understand things working is GCB sorts out what it has to and hands it on to the Pickit3 which programs the chip in a language it understands .
Correct. The requires the HEX file. The hex file is chip specific. This is different from Picaxe which essentially passed code tokens to the embedded Pixace interpreter. Your code generates portable ASM and then the HEX file. Great Cow BASIC is therefore your compiler and your assembler.
Where does MPLAB fit in?
Only when needed. :-) You just need to ensure the chips you purchase are support by the PicKit3 software, at the moment. I will post a list of supported chip to another thread.
Hopefully, this all makes sense.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Annobium (and everyone else for that matter) Sorry I ask so many questions. Anything I do, I like to understand whats going on, not just blindly cut pasting until things work. The answers given here will probably help a lot of other people, who like me have given up on trying to write code because they never had good people like yourselves explain it in no nonsense language. Thanks again Everyone.
Marz.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As a start I will post a totally new installer today. This will resolve one major issue with the Pickit software by increasing the number of chips supported. This also is not related to the news.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get this error closing pk3 System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Microchip\PICkit 3 v3\PICkit3.ini' is denied.
Under the icon's properties advanced run as administrator is greyed out. I can't change it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I someone has 5 mins.. can someone collate all these insights into one post? Why? We have all experienced these issues and we should create a lovely publication of all this.
Installed the new pickit3. My antivirus detected it as a rare file. Sent it off to Avast. Came back clean. Then windows Defender wouldnt install it unless you used the install anyway option. But it did install using that option.
Marz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello (again) still having trouble getting all 3 to play nice. I deleted the previous Pickit3 program. reinstalled the version In the directory Pickit3 programmer in GCB. It now says " The Pickit 3 has no operating system. Use the Tools menu to download an OS" Where do I go from here?
Also have gone into GCbasic drop down menu and edit PIC programmer batchfile. I gather these are the lines i need to delete the REM?
Use PicKit3 Integrated Programming Environment GUI (IPE):
note, that IPE must run and a programmer and a PIC is connected!
"PicKit3\IPE-Pusher.exe" %1 0
Thanks.
Marz
Did you look at the YouTUbe video? I would recommend the PK3 GUI either manually loading the HEX or using the Automatic function, see https://www.youtube.com/watch?v=O9lrQ5Bzc8U. The IPE-Pusher requires you to install MP-LAB X IDE.
If the PK3 has no operating system then use TOOLS/DOWNLOAD PiCkit Operating System then select the PK3OSV020005.HEX file. This will update the PK3 to the latest operating system.
Last edit: Anobium 2018-02-27
I looked at the video. Do I HAVE to install java?
Please watch this video of pickit3 on my pc...not closeing. https://youtu.be/6UcV36fPV6g
I can live with using pk3 that way.
@ stan, I have thae same thing when I close the program.
Marz.
@Stan. I am guessing again. Please try to state the context of the questions.
Last edit: Anobium 2018-02-27
@Anobium. Bang on with the run as administrator. Fixed it :) Thank you.
Marz
I can live with flashing a hex file from gcb with pk3 gui...not one click but a few more. no prob.
It was pk3 and win10 thread so posted here. This is win 10 and pk3
I can't find java on any pc I have and for the sake of a few clicks won't bother. And for the same reason xlab. Couldn't it be just an exe in xlab not the whole thing? Like mpasm.exe and not the whole thing like long ago.
GCB would make a hex file for new 16f ppi pics and I can use pk3 to flash them seems ok. Have I got that? Not using the hex flash button and flashing hex is the same..yes?
@Stan. How about responding so other can learn.
Did changing the properties of the PK3 GUI application when using Windows 10 resolve the issue?
I have no idea about Java on your computer. I advise that you look.
There will be some great news on programming using the PicKit2 and PicKit3 very soon - meanwhile.
PK2 - use the software installed with Great Cow BASIC the GUI and the command line utility from within the IDE.
PK3 - use the software installed with Great Cow BASIC. Add update the chip database manually after you have installed the GUI software. Use the GUI software to l1) oad a hex and program and/or use the GUI software to automatically program.
The route to pickit 2 V2.2 in c:\ programs\ under properties\advanced is greyed out ie use as administrator but the c:\gcb@syn\ pickit2gui\pickit2 v2.2.exe works.
It's the only pickit2 on the drive. What's happening?
@Stan. Just use the version of the PicKit2 installed with your Great Cow BASIC installation. Remove the other. The Great Cow BASIC version is a later version with more chips supported.
All good so far. I can flash an LED if I use the" auto import hex" function
Thanks for the replies. I really appreciate the help.
To recap:
Installed GCB on Win 10 machine.
Installed Pickit3 software that is in the GCB@Syn directory.
Installed Pickit3 Hex file, found at C:\ Program files (x86)\Microchip\Pickit3 v3
(on my machine it didnt show the hex files until I changed the drop down box above the open button from" Pickit3 OS" to "all files").
Changed Properties on startup of Pickit3 software to "Run as administrator".
Removed the REM statement on these 3 lines in the gcbasic dropdown menu -> edit PIC programmer batchfile :
Use PicKit3 Integrated Programming Environment GUI (IPE):
note, that IPE must run and a programmer and a PIC is connected!
"PicKit3\IPE-Pusher.exe" %1 0
The IPE Pusher is the only thing I dont understand. Is that to enable the "Hex Flash button" and not use the autoload hex function?
Marz.
Regarding this... please do not use/ you cannot use without installing MPLAB-IPE (part of the MPLAB-IDE Java Application).
@Annobium, all good I can program now using the autoload hex. Not sure how mplab fits into the equation. The way i understand things working is GCB sorts out what it has to and hands it on to the Pickit3 which programs the chip in a language it understands . Is this what happens in simple terms? Where does mplab fit in?
Marz
@Mario.
Excelent news on autoload hex.
MPLAB is the Microchip development environment. At the moment if you want to program specfici chips then you may need to use the MPLAB-X programmer software called MPLAB-IPE. This MPLAB-IPE supports the newer chips. There are other ways of programming these newer chips, see http://gcbasic.sourceforge.net/Typesetter/index.php/News/22_Northern_Software_Programmer_in_action%21 and as I am hinting we will be releasing a major upgrade to the PicKit programming software very shortly to hopefully resolve the dependency on MPLAB-IPE.
Hopefully, this all makes sense.
@Annobium (and everyone else for that matter) Sorry I ask so many questions. Anything I do, I like to understand whats going on, not just blindly cut pasting until things work. The answers given here will probably help a lot of other people, who like me have given up on trying to write code because they never had good people like yourselves explain it in no nonsense language. Thanks again Everyone.
Marz.
Is script going to control pickit3 instead of mplab? http://microchipdeveloper.com/pickit3:scripttool
Nothing to do with.
As a start I will post a totally new installer today. This will resolve one major issue with the Pickit software by increasing the number of chips supported. This also is not related to the news.
I get this error closing pk3 System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Microchip\PICkit 3 v3\PICkit3.ini' is denied.
Under the icon's properties advanced run as administrator is greyed out. I can't change it.
@Stan. Fixed it yet? Sometimes you post then you fix. No point in me posting when you have fixed it already.
@Stan. Maybe you need to change the type of user account you re using. Try doing what they say in this link:
https://www.windowscentral.com/how-change-user-account-type-windows-10
I someone has 5 mins.. can someone collate all these insights into one post? Why? We have all experienced these issues and we should create a lovely publication of all this.
Plus, do not miss. https://sourceforge.net/p/gcbasic/discussion/projects%26guides/thread/ce3c8083/#ba0d This first repackage may not be perfect but I can update to address the Win10 issues by checking permissions etc. I need folks to take a few minutes to test and report back.
Installed the new pickit3. My antivirus detected it as a rare file. Sent it off to Avast. Came back clean. Then windows Defender wouldnt install it unless you used the install anyway option. But it did install using that option.
Marz
Did the icon work - launch the application? Did you get a nice icon?
What are the properties set to?
I pressed shift and ctrl and right clicked pk3 icon and run as administrator appeared and clicking that then pk3 closed properly.