Re add CLC icon by Chris Roper -
;
First download the icon image, “clc.png” that is attached to this post and save it into the C:\GCB@Syn\CLCDesigner
Directory, assuming you used the default install path.===== OK, done.
Now lets add that to the GCBasic Tool Bar.
Right Click on the PPS Icon and select -> Customize toolbar...====Where is the PPS icon?
...
Last edit: Chris Roper 2018-05-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked and ... need new reading glasses.
My other excuse is I fixed the monitor with this pc and didn't get resolution right.
3 caps gone in monitor psu made win10 say no operating system found.
I click add attatchments and goes to top of topics?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After emails from Evan seems my posts about Nextion got over looked.
The first code example Anobium posted here used glcdnexion 320x480.h and glcdprintnexion240x320.
In RC5 there were glcdnexion 320x480.h and glcdnexion 240x320.h
and glcdnextion.h . Note the spelling....I did post about it
These glcdnexion files are in 98.02 but as long as you don't reference them do no harm..just waste space.
It might be easier for Anobium to edit the forum references to nextion/nexion.
Last edit: stan cartwright 2018-05-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have setup a usb bootloader and edited flashthis.bat to call it and flash the program to the pic via usb. I cant give you screenshots since the only error is "pic kit 2 not found" witch means flashthis.bat is not being run.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It saves the hes file as wrtemp.hex, then changes it into the dfu standard and calls the dfu util to flash the pic. I put the dfu files in the root of GCB@SYN so as to to have to bother with directories too much
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@echooffecho***flashPIC.bat***echo.REMv0.98.01-AddedchipcheckingforPicKit2REMThisbatchfileiscalledfromG+Stool.exeifanPIC-chipmodelisdetectedandREMno"FlashThis.bat"ispresentinthesourcefile-folder.REMYoucanadaptthisfiletoyourneeds.REM%1isreplacedwiththehexfileindoublequotesi.e."C:\My Folder\nice file.hex"REM%2isreplacedwiththechipmodeli.e.16F688REMG+Stool.exealwaysmakestheGCB@Synroot-folderthecurrentfolder.REM---Yourcodehere:---------------------------------------REMCallXpressLoaderfortheXpressEvaluationBoardREMAtooldevelopedaspartofGreatCowBASICrem"XpressLoader\XpressLoader.exe"%1REMCalluploaderforTinyBootLoader+bootloader:rem"TinyBootLoader\TinyMultiBootloader+.exe "%1exitREMCallPICpgm-programmingsoftware:rem"PICPgm\picpgm.exe"-p%1rem"PICPgm\picpgm.exe"-delay1-if"5PiP"-portCOM1-picPIC%2-p%1rem"PICPgm\picpgm.exe"-delay1-if"JDM Programmer"-portCOM1-picPIC%2-p%1rem"PICPgm\picpgm.exe"-delay1-if"FT232Board-Programmer"-portUSB-picPIC%2-p%1rem"PICPgm\picpgm.exe"-delay1-if"FT232Adapter-Programmer"-portUSB-picPIC%2-p%1REMPicKitDeviceCheckREMRemovetherem's from the next indented section to add PICKIT2 chip test check. Lines 27 thru 35.rem"PicKit2\pk2cmd.exe"-I-b"PicKit2"-pPIC%2>"PicKit2\pictest.txt"remfindstr/C:"Device Name = PIC%2""PicKit2\pictest.txt"remIFERRORLEVEL1gotoIncorrectChipremgotoOKChipTest1rem:IncorrectChipremechoIncorrectChipFound:Nota%2withparameters%1%2%3%4%5%6%7%8%9>"G+Stools\FlashError.txt"remechoIncorrectChipFound:Nota%2withparameters%1%2%3%4%5%6%7%8%9remgotoENDrem:OKChipTest1REMCallPicKit2command-lineprogrammingSoftwareleavingpoweronthechipREMandalwaysexitwithMCLRon.Optionallyremove-rforMCLRoffRem"PicKit2\pk2cmd.exe"-b"PicKit2"-pPIC%2-f%1-m-j-t-rREMCallPicKit2command-lineprogrammingSoftwarewithoutleavingthepoweronthechipREMandalwaysexitwithMCLRon.Optionallyremove-rforMCLRoffrem"PicKit2\pk2cmd.exe"-b"PicKit2"-pPIC%2-f%1-m-rREMCallpk3cmd.exeWITHRELEASEFROMRESETremifexist"MPLAB_IPE\PK3cmd.exe"cdMPLAB_IPE&"PK3cmd.exe"-P%2-F%1-LREMCallpk3cmd.exeWITHRELEASEFROMRESETremifexist"MPLAB_IPE\IPEcmd.exe"cdMPLAB_IPE&"IPEcmd.exe"-TPPK3-P%2-M-F%1-OL-ZREMCallpk3cmd.exeWITHRELEASEFROMRESET-DONOTPROGRAMEEPROMREMifexist"MPLAB_IPE\PK3cmd.exe""MPLAB_IPE\PK3cmd.exe"-P%2-F%1-L-MPICBREMCallPicKit3command-lineprogrammingsoftware:REMnote,thattheJavaRuntimeEnvironment(jre)hastobeinstalled!remjava-jar"C:\Program Files\Microchip\IPE\ipecmd.jar"-TPPK3-P%2-M-F%1REMUsePicKit3IntegratedProgrammingEnvironmentGUI(IPE):REMnote,thatIPEmustrunandaprogrammerandaPICisconnected!rem"PicKit3\IPE-Pusher.exe"%10REMCalluploaderfordiolanbootloader:rem"Bootloader\picboot"-r%1REMCallmikroProgSuitePIC-programmingsoftware:rem"C:\WinSpr\mikroProgSuitePIC\mikroProg Suite for PIC.exe"-q-w-pPIC%2-v-f%1REMCallMicroBrnK150programmingsoftware:rem"K150\microbrn.exe"%1%2/f/Q1REM---Endofyourcode.-------------------------------------remPushd%~p1rempath"%Great Cow BASIC\toolsdfu\"copy%1"wrtemp.hex""change.exe"wrtemp.hexwrtemp.dfu"dfu-util.exe"-Dwrtemp.dfurem"Great Cow BASIC\toolsdfu\change.exe"%~n1%~x1write.dfuREMCreating"G+Stools\FlashError.txt"makesG+Stooltoleavethemessage-windowopen:ifnoterrorlevel1gotoENDechoERRORrunning:%0withparameters%1%2%3%4%5%6%7%8%9>"G+Stools\FlashError.txt"echoERRORrunning:%0withparameters%1%2%3%4%5%6%7%8%9:END
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you can give me the procedure or method to do what I need then I will rename and swop and change as needed. Just have to be pointed in the right direction. So dont worry about names and such teach me how to get-R-done. lol
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Re add CLC icon by Chris Roper -
;
First download the icon image, “clc.png” that is attached to this post and save it into the C:\GCB@Syn\CLCDesigner
Directory, assuming you used the default install path.===== OK, done.
Now lets add that to the GCBasic Tool Bar.
Right Click on the PPS Icon and select -> Customize toolbar...====Where is the PPS icon?
...
Last edit: Chris Roper 2018-05-13
It is the icon on the toolbar that says PPS on it.
I looked and ... need new reading glasses.
My other excuse is I fixed the monitor with this pc and didn't get resolution right.
3 caps gone in monitor psu made win10 say no operating system found.
I click add attatchments and goes to top of topics?
After emails from Evan seems my posts about Nextion got over looked.
The first code example Anobium posted here used glcdnexion 320x480.h and glcdprintnexion240x320.
In RC5 there were glcdnexion 320x480.h and glcdnexion 240x320.h
and glcdnextion.h . Note the spelling....I did post about it
These glcdnexion files are in 98.02 but as long as you don't reference them do no harm..just waste space.
It might be easier for Anobium to edit the forum references to nextion/nexion.
Last edit: stan cartwright 2018-05-13
The errant files will be deleted. As they form no function these should not be included in any program, in any way.
These will be around until the next release.
I couldn't add this to a reply to Chris Roper.
Yes it works and sorry for my prescription glasses.
Not sure if I am hijacking this thread but having issues starting my own:
Ver 0.98.02 totally ignores "flashthis.bat". is ther a setting I must change?
Can you please describe what you are doing? Are you using the GCB@SYN IDE? We have a fully integrated programmer interface from this release.
Screen shots will help.
I have setup a usb bootloader and edited flashthis.bat to call it and flash the program to the pic via usb. I cant give you screenshots since the only error is "pic kit 2 not found" witch means flashthis.bat is not being run.
Did you do a full installation?
We are replacing
flashthis.bat
with the new programmer UI. Have you edited Programmer Preferences Tool?oh, and yes. it is windows 7, gcb@syn. standard instalation
Last edit: Gert vd Walt 2018-05-16
Can you tell me what USB bootloader please? what are the parameters you had in
flashthisbat
. Should be very easy to create a new entry in the PPTool.It is this DFU bootloader:
https://github.com/majbthrd/PIC16F1-USB-DFU-Bootloader
I compiled the flash code and put this in flashthis.bat
copy %1 "wrtemp.hex"
"change.exe" wrtemp.hex wrtemp.dfu
"dfu-util.exe" -D wrtemp.dfu
It saves the hes file as wrtemp.hex, then changes it into the dfu standard and calls the dfu util to flash the pic. I put the dfu files in the root of GCB@SYN so as to to have to bother with directories too much
Can you share you old flashthis.bat please?
Exactly which folder did the "dfu-util.exe" reside in?
%Great Cow BASIC\toolsdfu\ ?
Or elsewhere?
And, where is the change.exe residing? which folder?
They are both in GCB@SYN so I dont have to worry too much about working directories and such
as you might see I put a REM in fromt of the path
OK. Can you ZIP these utilities for me and attach as a ZIP? This means I can sort in a few moments.
This should work for you,
Create a new entry in the PPTool. The parameters are very simple.
Last edit: Anobium 2018-05-16
You can also have a look at this video to see how it was implemented:
https://www.youtube.com/watch?v=VrHj6z72PK4
The great cow stuff is about half way through.
Thanks for your time thus far
Very interesting vidoes!! Good job sir!!
Is Half-a-Bot an important piece to restain? Or, would DFU be ok?
If you can give me the procedure or method to do what I need then I will rename and swop and change as needed. Just have to be pointed in the right direction. So dont worry about names and such teach me how to get-R-done. lol