hi, I'm using Gcb latest version and I have a small problem. When I compile and flash my programs does not start Pickit2. If you start Pickit2 by clicking directly on the executable contained in PickiGUI, pickit2 starts regularly and clicking Auto Import + write device everything works.!
)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now I'm using PIC only for hobbies / curiosities and the current version is more than enough, but when I have a deeper knowledge of GcBasic I will definitely switch to PckitPlus.
Thank you again!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, I'm using Gcb latest version and I have a small problem. When I compile and flash my programs does not start Pickit2. If you start Pickit2 by clicking directly on the executable contained in PickiGUI, pickit2 starts regularly and clicking Auto Import + write device everything works.!
Last edit: renzo zorzi 2019-01-16
https://postimg.cc/BXcBrDCx
You seem to have changed the commandline from the default.... to the GUI exe... does not work like that.
%instdir%\..\pickit2\pk2cmd.exe
Change back to the command shown above.
Anobium
Last edit: Anobium 2019-01-16
useINI
Great Cow BASIC Pre-processing (Copyright 2007..2018)
Make Hex and Program
Great Cow BASIC (0.98.04 2018-10-20 (Windows 32 bit))
Compiling C:\Users\zorzi\OneDrive\desktop\Glcd 18F45K22\voltmetro 18F45k22.gcb ...
Done
Assembling program ...
Program assembled successfully!
Downloading program ...
A warning has been generated:
Warning: The chip may not have programmed properly. Programmer returned
status (-1)
The message has been logged to the file Errors.txt.
The configuration looks fine, I am attaching the settings image.
Last edit: renzo zorzi 2019-01-16
The configuration in your original JPG was not correct. It now is. Has this resolved the issue?
My guess it has not. What part are you programming?
I'm trying the following code. It is working on pic 18F45K 22
The default config of 'Use if' is set to
ChipConfigWords = 2 or ChipConfigWords = 1 or ProgrammerPK2
Which means the part you have select does not meet that constraint. You part have 7 configwords and does not have the constant
ProgrammerPK2
So, either remove the 'Useif' or add
#define ProgrammerPK2
I had the doubt that it was an incompatibility with my SO (Win10 64bit)
I deleted the "use IF" now it seems OK!
foINI
Great Cow BASIC Pre-processing (Copyright 2007..2018)
Search for existing hexFile, compile if hexFile is not found, then program.
Great Cow BASIC (0.98.04 2018-10-20 (Windows 32 bit))
Compiling C: \ Users \ zorzi \ Downloads \ voltmeter 18F45k22.gcb ...
Done
Assembling program ...
Program assembled successfully!
Downloading program ...
PICkit 2 Program Report
16-Jan-2019, 13:48:54
Device Type: PIC18F45K22
Program Succeeded.
Operation Succeeded
thank you so much
Excellent to have you up and running.
Think of upgrading to PICKitPlus!
:-)
I was thinking about it, but my foldeer in GCB @ Syn \ PICKitPlus is empty, and I do not know how to do it.
See http://www.pickitplus.co.uk/
Now I'm using PIC only for hobbies / curiosities and the current version is more than enough, but when I have a deeper knowledge of GcBasic I will definitely switch to PckitPlus.
Thank you again!
hello guys,
I'm new to GCB and im rinning to this issue.
ant help is greatly appreciated.
charlie.
Hello Charlie,
I will need a lot more information.
Which chip are you using? and, a screen shot of your issue.