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]<mailto:[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.

Reply via email to