Connecting programmer to MicroCode Studio


Closed Thread
Results 1 to 34 of 34

Hybrid View

  1. #1
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    35


    Did you find this post helpful? Yes | No

    Default PICkit2 script?

    Yes I use it that way now.
    I would like to use the programmer as I use the MEL USB unit and make it a one click use.
    Once you go one click.... you don't want to go back...
    Do you know if the PICkit2 can even be driven to do "one click" form the IDE like the MEL programmers?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Use the suggestion rmteo gave.

    Whenever the hex is changed, PICKIT2 software will see it, reload it, and then program the PIC. You have to do nothing.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    What you need is the "PICKit2 Command Line Interface".

    http://ww1.microchip.com/downloads/e...K2CMDv1-12.zip

    1 click from Microcode Studio (compile and program).
    DT

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    What you need is the "PICKit2 Command Line Interface".

    http://ww1.microchip.com/downloads/e...K2CMDv1-12.zip

    1 click from Microcode Studio (compile and program).
    ???
    The Auto Import Hex from the PICKIT2 software already does this once the hex is selected.
    Dave
    Always wear safety glasses while programming.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    ???
    The Auto Import Hex from the PICKIT2 software already does this once the hex is selected.
    I've never tried it that way.
    Perhaps it works fine ...

    But I know the Command Line Interface gives one click from MicroCode Studio to PIC.
    It's what I use for the PICkit2. I also have an EPIC, and a meLabs U2.

    It's been awhile since the installation, I don't remember if it was automatic or if I had to figure it out.
    But these are the parameters for the PICkit2 programmer.
    Code:
    -pPIC$target-device$ -f$hex-filename$ -M -R -T -h2
    1Hr left this year
    Well, In my time zone.

    Happy new year!
    Kiss someone next to you.
    DT

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    I've never tried it that way.
    Perhaps it works fine ...

    But I know the Command Line Interface gives one click from MicroCode Studio to PIC.
    It's what I use for the PICkit2. I also have an EPIC, and a meLabs U2.

    It's been awhile since the installation, I don't remember if it was automatic or if I had to figure it out.
    But these are the parameters for the PICkit2 programmer.
    Code:
    -pPIC$target-device$ -f$hex-filename$ -M -R -T -h2
    When I use windows I just use the PICKIT2 soft ware.
    On Linux I use this
    http://www.cannasoftware.com/content/view/32/1
    Both work well.

    1Hr left this year
    Well, In my time zone.

    Happy new year!
    Kiss someone next to you.
    I am in the shop by myself, a real party animal
    HAPPY NEW YEAR!!!
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    35


    Did you find this post helpful? Yes | No

    Question PICkit2?

    Darrel...
    Did this give you the one click flash function from the IDE?
    -pPIC$target-device$ -f$hex-filename$ -M -R -T -h2

    I tried this and several variants with no luck.
    The programmer application starts... no problem... but does not do it's thing without clicking the auto import button.

  8. #8
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    35


    Did you find this post helpful? Yes | No

    Default PICkit2?

    Maybe I did not ask my question in the correct way...
    The IDE has a button that will compile and program(flash) your PIC with one click (if you have the correct script installed). It starts the programmer application if it is not running and then the programmer programs the PIC... you do not have to touch anything in the programmer GUI... it basically runs in parallel with the microcode IDE.... I mean ONE click to do everything. It is very fast and it is a part of the Microcode studio IDE to programmer interface.
    The MEL programmers all can read a script and be automated.... I do not know if the PICkit2 has this feature where it can be totally remote controlled from the IDE.
    Perhaps I should ask this on the Microchip forum??
    **************

  9. #9
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    35


    Did you find this post helpful? Yes | No

    Red face PICkit2?

    Thanks Darrel,
    I will check it out...
    tcbcats

Similar Threads

  1. Connecting PICSTART to Microcode Studio
    By OzGrant in forum General
    Replies: 8
    Last Post: - 2nd February 2010, 11:20
  2. Connecting PICSTART to Microcode Studio
    By OzGrant in forum General
    Replies: 0
    Last Post: - 30th January 2010, 21:40
  3. Microcode studio programmer question
    By zk_bamx2 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th February 2008, 11:20
  4. Microcode studio loader problem
    By woodygjw in forum General
    Replies: 2
    Last Post: - 10th September 2007, 02:18
  5. Replies: 2
    Last Post: - 25th February 2006, 03:53

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