Compile and Program help using PICKit2


Closed Thread
Results 1 to 16 of 16

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Hi Ken,
    This just got discussed recently, and I think this is the link:http://www.picbasic.co.uk/forum/showthread.php?p=68368
    Welcome to the forum.
    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.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Thanks . . .

    Yes, I found that thread after some more searching. Still don't have it quite right I guess, but I'll keep trying.

    Ken

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


    Did you find this post helpful? Yes | No

    Default

    I have not even tried to make it work as I like the pickit2 software as is. I open the pickit2 software and MCS, compile from MCS and load from PICkit2.
    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.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    At this point I agree. I have been pulling my hair out trying to get this to work - must be missing a - or $ or something.
    Anyway, to h*** with it. I will stick to using the PICKit software - like you do and I have been doing.

    LOVE Pic Basic Pro however !

    Ken

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


    Did you find this post helpful? Yes | No

    Default

    Ok this works, I just set mine up Thanks to Darrel Taylor:
    http://www.picbasic.co.uk/forum/showthread.php?p=68368
    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.

  6. #6
    biggej's Avatar
    biggej Guest


    Did you find this post helpful? Yes | No

    Default My settings work too

    Ken,
    My settings are a bit different than Darrel's but may have required a download of a command processor from Microchip.
    In the program filename box I have pk2cmd.exe
    The path should point to your "pickit 2 v2" directory which is likely
    C:\program files\microchip\pickit 2 v2
    My parameters string is
    Code:
    -PPIC$target-device$ -F$hex-filename$ -E -M -Y -Y
    This works with or without the PicKit program running as it brings up a batch programming window. The -Y -Y causes the verification to run twice just so you can see the results of programming before the batch window closes.
    I usually run the PicKit program also so I can use its reset MCLR function to start the code running in the pic.
    Hope this helps,
    Jim

  7. #7


    Did you find this post helpful? Yes | No

    Default

    First of all - thanks to all who have responded and made suggestions on this.

    I simply cannot get this to work -

    I went so far as printing out the page that Darrel posted with his step - by - step instructions, and - as far as I know - after three times - followed them to the letter.

    Obviously not - all that happens is the project compiles, there is a momentary screen flash after successful assembly - then nothing, just success at compiling. I tried Jim's code as well - same thing.

    Also deleted previous attempts at selecting the programmer , so as to start from scratch -

    At first MCS could not find the PICKit folder, - I changed to finding it automatically, it then found the PICkit folder - but still no success.

    I also re-extracted all the PICKit2 Command Line Interface files from Microchip's site to the PICkit folder - . . .twice

    Anyway - - thanks to all - - I do not intend to "beat this to death" - - I'm perfectly content to continue doing the extra step using PICkit software separately. It works fine, and that is basically all I want.

    Thanks again

    Ken

Similar Threads

  1. Connecting programmer to MicroCode Studio
    By KrashKaloop in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 15th July 2014, 23: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, 10:54
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  4. Problem to compile my program
    By wagner in forum Off Topic
    Replies: 5
    Last Post: - 7th July 2008, 21:17
  5. Replies: 2
    Last Post: - 9th February 2006, 23:03

Members who have read this thread : 0

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