ICProg Command Line


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2005
    Posts
    65

    Question ICProg Command Line

    Hello

    I was wondering, what is the command line that have to be used with ICProg so that when called from Microcode Studio plus, it gets the HEX file and PIC MCU number passed to ICProg.

    I tried most known command lines, but seems ICProg doesn't like MCSP !!

    Thanks in advance

  2. #2
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Example: (This is not what you need, just an example).
    C:\Pic\PROGRA~1\icprog.exe -l%name%.hex -f3F32 -p -q -i -v

    Go to www.ic-prog.com and see command line Options.

    Luciano

    * * * *
    Text below from:

    http://www.ic-prog.com/cmdline.txt

    Code:
    Just startup IC-Prog with the following command line:
    
    
    IC-Prog Option1 Option2 etc.
    
    
    Options:
    
        -p    	Program device
        -v    	Verify device
        -r		Read device
        -i    	Mainform invisible
        -x		Enable smartcard (Through Pic Programming)
        -t00	Device type (00 can be any valid device)		//NOT CHECKED!
        -g00	Programmer type (00 can be any valid programmer)	//NOT CHECKED!
        -o0		Port type (0 can be any number 1-4, which corresponds to either LPT or COM)//NOT CHECKED!
        -ft0        Select the Filetype (0 can be any value between 1 and 7) 1=IHX8,2=IHX16,3=BIN etc.
        -lFILENAME  Load a file (Currently only IHX8 files can be loaded)
        -sFILENAME	Save file as FILENAME (Currently only IHX8 files can be saved)
        -q    	Quit after last command
        -fxxxx	Fuse word = xxxxh
    
    
    
    Example:    IC-Prog -ltest1.hex -p -v -i -f3EEA -q
    
    
    The test1.hex will be loaded. Then it will be programmed. 
    You still get the message 'Do you want to program?'.
    Afterwards the device will be verified. You also get the message box 'Verified succesfully'.
    When ic-prog is finished it is automaticly closed and the mainform isn't visible at all.

  3. #3
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Smile

    Hello

    What I wanteed is to press compile and program button, to launch icprog, so the hex file and pic number are automatically done, i on't think pic number selection is possible with icprog.

    thanks anyway

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hello PIC Crematory!

    =================================================
    Case 1:

    Use the option -t

    Type from the DOS prompt:

    icprog -t132

    Icprog will start with the 16F84A selected.

    To find the numbers of the devices just look at the bottom right corner
    of the main window of ICprog.
    ===============================================
    Case 2:

    You don't need the option -t because ICprog will remember the
    last selected device type. (Just open manually ICprog, select your
    device and close the program).

    ===============================================

    Luciano

  5. #5
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Smile

    Hello Luciano

    Thanks very much for the guidance you provided

Similar Threads

  1. Programming 12f629
    By stay_aliveuk in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 8th October 2006, 18:44

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