Hi Hans,

I cannot send a batch file since it is blocked by Outlook. Create a batchfile 
e.g. called pic_program.bat with the following content:

Echo off
REM PICkit3 batch file for programming from JALEdit.
Echo Programming Device %1 from file %2 ...
"C:\Program Files\Microchip\MPLABX\v6.00\mplab_platform\mplab_ipe\pk3cmd.exe" 
-P%1 -F%2 -MPIC


On JALEdit you have to set the following for the programmer:
[cid:ccc56f47-b7fb-450d-a15e-a0b9b30a26a2]

If you program it from JALEdit you will see this:

[cid:ba22ba0b-ec16-4be2-baf7-7c29a0cc1c2b]

Good Luck!

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: zaterdag 30 juli 2022 15:54
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] Wisp648

Hello,
  I still haven't managed to control the Pickit3 with that batch file.
I have now gone back to the old way, loading the old ones with the Wisp648 and 
the newer one the hex with Pickit3.
  If I've done something wrong, I'd like to hear about it.
Thank you
regards
Hans

Op vrijdag 29 juli 2022 om 19:14:49 UTC+2 schreef [email protected]:
Yes, we have completed that integration work.  We support all the programmers 
that we have always supported. We can share how we did this.

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: [email protected] <[email protected]> on behalf of Rob CJ 
<[email protected]>
Sent: Friday, July 29, 2022 7:07:07 PM

To: [email protected] <[email protected]>
Subject: Re: [jallib] Wisp648
Hi Evan,

Thanks for the info. I do not know GCSTUDIO so not sure how to apply it to the 
question I had.

I was just wondering if there where people that have tried some kind of 
integration using Visual Studio Code with a programmer.

I know that Sunish made a field for it but I never tried it. Maybe I should do 
that first.

Kind regards,

Rob

________________________________
Van: 'Evan Venn' via jallib <[email protected]>
Verzonden: donderdag 28 juli 2022 20:02
Aan: [email protected] <[email protected]>
Onderwerp: Re: [jallib] Wisp648

Rob,

We can share our work with VSCode to create GCSTUDIO. We have written the 
scripting interface and should you decide to leverage our work then this may 
save months of work.  Our development of GCSTUDIO started in January and we are 
just completing (scripts, helpers, snippets,  autocomplete etc etc)

Your call, of course.

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: [email protected] <[email protected]> on behalf of Rob CJ 
<[email protected]>
Sent: Thursday, July 28, 2022 7:20:15 PM
To: [email protected] <[email protected]>
Subject: Re: [jallib] Wisp648

Hi all,

I have two related questions to this subject. Sunish has made this beautiful 
JAL extension for Visual Studio Code which I nowadays use for all my JAL 
developments. There have been some recent updates of Visual Studio Code that 
eases programming by for example detecting and indicating missing closing 
brackets.

Did anybody of you ever tried to use Visual Studio Code in combination with a 
programmer using a commandl ine or script for the PICKit3?

Normally I create my program in Visual Studio Code and compile it from within 
Visual Studio code using ctrl-shift-b and I use the PICkit3 standalone software 
in the 'auto reload/program' mode so that when a new hexfile is generated it 
automatically reprograms my PIC.  This works very fast.

I do believe that if I would use a command line interface and start the 
programmer from Visual Studio Code that it will be slower since it needs to 
restart the programmer software each time I want to use it. Or is there another 
way to do that?

Thanks

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: donderdag 28 juli 2022 15:56
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] Wisp648

Have tested if it works from mplab as i have done until now : (start mplab, 
load hex file and program,) works perfect

Op donderdag 28 juli 2022 om 15:50:34 UTC+2 schreef hans:
Tested from  jaledit , it opened the batch  and teh same eror message :
C:\Users\Gebruiker\Desktop>"C:\Program 
Files\Microchip\MPLABX\v5.45\mplab_platform\mplab_ipe\pk3cmd.exe"  -TPPK3 
-Pport -MPIC -Fcom5 -OL

Illegal command line parameter T
Press any key to continue . . .

Op donderdag 28 juli 2022 om 13:12:20 UTC+2 schreef vasile:
"Gefeliciteerd"
seems ok for me. :)

BTW, if you use pickit4, you will need anyway to install the IPE to change the 
supply voltage, then to plug and unplug and plug again the pickit until IPE 
sees it...then fortunately to program something.  Never leave it in the USB 
when you start the computer if you do not want to send it to Microchip irish 
office for reflashing the Atmel inside or exchanging with a new one... Pickit4 
needs to behave with it as you'll do with eggs. On the opposite of Pickit2/3 
which can be reflashed at home...
best wishes


On Thu, Jul 28, 2022 at 8:56 AM hans <[email protected]> wrote:
Hi Sunish,
I have made my first batch:

@ECHO OFF
Echo Gefeliciteerd
PAUSE

"C:\Program Files\Microchip\MPLABX\v5.45\mplab_platform\mplab_ipe\pk3cmd.exe" 
-TPPK3 -P%1 -MPIC -F%2 -OL
@if ERRORLEVEL 1 pause

It works but gives an error message ;

Gefeliciteerd
Press any key to continue . . .
Illegal command line parameter T
Press any key to continue . . .
Op woensdag 27 juli 2022 om 17:16:30 UTC+2 schreef hans:
Hi Sunish,
This sounds great ! I have never made a batch file and use the Pickit not for 
providing 5 Volt\
The IPE is in the regular program file, not in (86), i have foud the same files 
you mentioned.
. Please give me an example how to make the batch file.
Thanks
Hans

Op woensdag 27 juli 2022 om 14:24:59 UTC+2 schreef [email protected]:
Jaledit can program using Pickit 2 and 3. You will need to install IPE.

Create a batch file and paste the code - Change the path to reflect your 
computer's IPE installation
"C:\Program Files 
(x86)\Microchip\MPLABX\v5.20\mplab_platform\mplab_ipe\pk3cmd.exe"  -TPPK3 -P%1 
-MPIC -F%2 -OL
@if ERRORLEVEL 1 pause


In jaledit you will have to set the path to the batch file and pass %D %F   for 
the PIC name and file name respectively.
the /V5 is to force Pickit to provide 5V supply

[image.png]



 Regards,
Sunish


--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/f295ac0d-880c-48b4-a78d-18fc674db5cdn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/f295ac0d-880c-48b4-a78d-18fc674db5cdn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/0a9783db-3aca-4c6c-8d85-128ffc9589c6n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/0a9783db-3aca-4c6c-8d85-128ffc9589c6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB1637A41DDE1CD616338AA9DEE6969%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/jallib/GVXP195MB1637A41DDE1CD616338AA9DEE6969%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CWXP265MB25186A8708F26595B33ABDAAF9969%40CWXP265MB2518.GBRP265.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/jallib/CWXP265MB25186A8708F26595B33ABDAAF9969%40CWXP265MB2518.GBRP265.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB163705DDB23E9EB880FB46E5E6999%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/jallib/GVXP195MB163705DDB23E9EB880FB46E5E6999%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/8ee52c76-30cd-438a-8437-91c426ffc474n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/8ee52c76-30cd-438a-8437-91c426ffc474n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB163700488958F66EAD7841F5E6989%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to