Pickit2 + microcode


Closed Thread
Results 1 to 10 of 10

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 hemidenis View Post
    ... i trying to run pickit2 with microcode studio. The software of the pickit2 works flawless and finds the pic ok, (so my pickit2 work) but no with the microcode.
    The PICkit software doesn't accept command line parameters.

    But there's a command line interface for it.

    This should help ...
    http://www.picbasic.co.uk/forum/show...6&postcount=23
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Just do what Heckler said but I will add another thing.
    If you are working on a project and repeatedly compiling the same code, use the auto import hex button. Then when ever the PicKit2 software see a new hex with the same name it will automatically load it and program the part.

    Simple...
    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

    I never liked that Auto Import option.

    A lot of times I'll hit F9 just to see if it compiles, and what syntax errors I need to fix.
    But that makes a new .HEX file and the Auto Import programmes it into the PIC, whether you were ready or not.

    I prefer to have control over when the PIC gets programmed.
    With the command line interface and MCS ...

    Press F9 to Compile
    Press F11 to Program
    Press F10 to do both

    Much better control.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Good point.

    When it gets down to working on a big project I do not use MCS at all. So I guess it depends on the project and user.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    The PICkit software doesn't accept command line parameters.

    But there's a command line interface for it.

    This should help ...
    http://www.picbasic.co.uk/forum/show...6&postcount=23
    <br>
    Thanks Darrel, nice work!

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


    Did you find this post helpful? Yes | No

    Default

    No problem, and thanks.

    I'm sorry you hadn't seen it already.
    I guess we'll have to fix that problem.
    <br>
    Last edited by Darrel Taylor; - 2nd April 2010 at 09:50. Reason: fix
    DT

  7. #7
    Join Date
    Apr 2010
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    Thanks a lot guys, yes that was the way that i found on the Internet, the command-line was a bit different but was the same process.

    this is what i got: when i compile the program a window appear showing: "searching for the programmer" the computer search for a bit and nothing happened, so time for me to forget this way to do it.

    So I tried the exporting hex method suggested, i went to the PBP and found the "blink.hex" file after i erase the pic+blank check procedures (doing it form the pickit2 software) theses are the results.

    -exported the file, the display shown: hex file successfully imported

    -so i clicked on write: the display shown: programming successful

    -then i click verify: verification of program memory failed at address 0x000000

    So seem like something is obviously not right, sorry for all this dumb questions, and i appreciate your patience
    Attached Images Attached Images   

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


    Did you find this post helpful? Yes | No

    Default

    Do you have code protect checked?

    Dave
    Always wear safety glasses while programming.

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