I just set the IDE default file to the PICkit2 folder for my testing.... with a LED light blinker test program.
The -h2 does nothing I tried -h5 ....+ all combos etc with no change in the way the dos window flashes by.
I can only conclude that the script is not being read, is in the wrong place, or not constructed correctly.Is there something in the PICkit2 ini file that needs to be changed if you use the dos script vs the programer GUI?
It would help if I could get an actual screen copy of the working script from a working machine.
I assume that you are not actually using the PICkit2 with one click commands from the Microcode studio plus GUI.(that is the compile and program button)
The steps outlined in your post and confirmed in the IDE and programmer help files do not work on my system.
The example script files in the programmer help files are not in the same format as your example but I tried the examples and got the same results.
I was able to see that the dos popup displays an "\" and then quits in 1/2 second. There is no other text shown on the DOS screen... I assume I should see the script run and some delay before the dos screen closes.
Bookmarks