Compile and Program help using PICKit2


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S.
    I do not have a file called pk2cmd.exe in my computer anywhere.
    After you pointed to the other thread, I thought for sure you got it right Joe.
    http://www.picbasic.co.uk/forum/show...6&postcount=23

    The pk2cmd.exe program comes from the "PICKit2 Command Line Interface" which must be downloaded and extracted to your PICkit 2 V2 folder.
    http://ww1.microchip.com/downloads/e...K2CMDv1-12.zip

    If you didn't download it, or extracted it to the wrong place, it definitely can't run.

    That's why I gave the Troubleshooting Step above.
    With one simple test, you can determine if the file is there or not.

    If it's not there, download it.
    <br>
    DT

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Yes I found it on the Disc in it's own directory, copied it to where you said and set it up as instructed. I then ran from the command line as instructed and saw a dos window flash quickly by. Now if I run compile and program I see the dos window flash by, I do not see any activity on my programmer, this however may not be a problem as described here as I Skanked my whole windoze system the other night and am still reinstalling programs to make nice again, I may have to reinstall pickit2 too. Note to self: never delete user.dat from windows
    edit:
    OK it works, but only if I first open the PICkit2 program and select the correct chip and file first, then clicking compile and program will update the PIC firmware with 1 click. The script is copy pasted from your example. WIN98se, PBP2.50 MCS+ 3.0.0.5 . It may be a WIN98 USB issue.
    Last edited by Archangel; - 10th March 2009 at 16:12.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    OK - It's Alive - - -

    I guess I missed something earlier - anyway it works.

    Thanks to all

    Ken

Similar Threads

  1. Connecting programmer to MicroCode Studio
    By KrashKaloop in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 15th July 2014, 22:22
  2. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 20:17
  5. Replies: 2
    Last Post: - 9th February 2006, 22:03

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts