Command Line operation ni a BATCH file


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    955

    Default Command Line operation ni a BATCH file

    Hi All,

    I'd like to launch the compiler/assembler and the PICKit3 programmer, all in COMMAND LINE mode, in a DOS batch file.

    Unfortunately, I'm getting error messages at compile/assemble time.

    According to Melanie's posts, I have programmed my batch file as here (the PICKit part is left out for now):
    Path C:\Program Files (x86)\PBP3_1;C:\Program Files (x86)\PBP3_1\temp
    PBPX -p16F690 -aMPASMX Blink_16F690.pbp -v

    Obviously, my PBP3 compiler's location is "C:\Program Files (x86)\PBP3_1" and the assembler's one is C:\Program Files (x86)\PBP3_1\temp.

    Launching the BATCH file, I'll get these messages:
    Name:  DOS.jpg
Views: 16
Size:  15.0 KBName:  2026-02-16 19_33_28-PBP _ Explorateur de fichiers.jpg
Views: 18
Size:  33.2 KB


    I get 5 "Access violation" errror windows I can clear and at final, everything seems okay = every thing works (I get the HEX file I can send to the PIC).

    Any idea how I can make things work the "clean way" please?
    Roger

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    955


    Did you find this post helpful? Yes | No

    Default Re: Command Line operation ni a BATCH file

    Problem solved: just needed to run the BATCH file with administrator's rights.
    Roger

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    955


    Did you find this post helpful? Yes | No

    Default Re: Command Line operation ni a BATCH file

    No, still not solved yet

    When the batch file is launched with admin rights (I made a shortcut file to my batch to be able to launch it with admin rights), all HEX, ASM, etc files are not created?!?!?
    Last edited by flotulopex; Today at 21:32.
    Roger

Similar Threads

  1. FREQOUT command for continuous operation
    By Aussie Barry in forum PBP3
    Replies: 9
    Last Post: - 22nd September 2016, 07:27
  2. Command Line Compile
    By Normnet in forum PBP Extensions
    Replies: 18
    Last Post: - 30th August 2009, 04:40
  3. Melabs U2 Programmer Command Line Options
    By Robert Wells in forum General
    Replies: 5
    Last Post: - 3rd July 2009, 03:11
  4. Command line
    By Bopo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th February 2006, 10:13
  5. ICProg Command Line
    By crematory in forum General
    Replies: 4
    Last Post: - 8th August 2005, 15:26

Members who have read this thread : 3

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