Command Line Compile


Results 1 to 19 of 19

Threaded View

  1. #16
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    Command line compiles to asm and asm to hex with MPASM!

    Now to trouble shoot compile with PBPW to asm and to hex with PM for 16's.

    The following instructions in a bat file produces files but with different file names format than MicroCode Studio IDE.

    Code:
     
    PATH = E:\1PicBasicPro\PBP;E:\2TEST
    E:
    cd E:\2TEST
    E:\1PicBasicPro\PBP\PBPW.exe -e -p16F877 "E:\2TEST\PBP16F877TEST2.pbp"
    
    E:
    cd E:\2TEST
    E:\1PicBasicPro\PBP\PM.exe "E:\2TEST\PBP16F877TEST2.asm"
    
    E:\EasyPIC3 7-8-06\PICFLASH2.exe -ppic16F877 -f"E:\2TEST\PBP16F877TEST2.hex" -w
    My bat file produces the following file names format:
    PBP16F877TEST2.pbp
    PBP16F877TEST2.ASM
    PBP16F877TEST2.ER
    PBP16F877TEST2.MAC
    PBP16F~1.HEX

    MicroCode Studio produces the following file names format:
    PBP16F877TEST2.pbp
    PBP16F877TEST2.asm
    PBP16F877TEST2.mac
    PBP16F877TEST2.hex


    Both hex files are valid but how to produce the full length hex filename?
    I am reading the PM.txt file in PBP directory but have not seen a solution.

    Norm
    Last edited by Normnet; - 29th August 2009 at 22:21.

Similar Threads

  1. Unable to pass a variable to LCDOUT without getting compile errors
    By Ferroto Baggins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2010, 16:43
  2. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  3. USB PBPL Compile errors
    By Rob in forum USB
    Replies: 11
    Last Post: - 7th April 2008, 08:18
  4. Cannot compile for 40MHz 4 x pll
    By passion1 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 21st October 2007, 17:50
  5. Replies: 2
    Last Post: - 9th February 2006, 22:03

Members who have read this thread : 1

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