Fail to compile, COD file missing


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I had similar errors after updating the C18 C compiler. It altered my path statement, so
    MPLAB was using a newer version of the MPASM assembler that wasn't compatible with
    the version of PBP I was using.

    What was really odd was that in MPLAB, when the MPASM assembler window popped-up,
    it showed it was using the older version of MPASM, but examining the .LST file showed it
    was actually using the newer version of MPASM in my C18 directory.

    I fixed it by editing my path statement placing PBP & MPLAB before the C18 directory entry.

    Once it started using the older version of MPASM, the problem was cured.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Nope

    Hi Bruce, I tried to move the path but the problem remains... my path is:

    c:\pbp\;C:\Program Files\Microchip\MPASM Suite\;D:\MCC18\mpasm;D:\MCC18\bin

    Not the longest one in the world but the problem is still here.

    I planned to reply yesterday but my monitor commited harakiri so I had to go out for a new nicer one :-)


    /me

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    What version of MPASM does it show on-screen when you compile?

    Also check the .lst file. What version does it show there?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Finally

    Success!! I had a small typo in the path... d:\ instead of c:\ and that was why MPLAB wanted to run the 5.30 version of MPASMWIN when we wanted it to run the older 5.22.

    Thank you very much for your help!!

Similar Threads

  1. Configuration bits in a HEX file gone missing?
    By grzes.r in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd February 2010, 02:10
  2. Replies: 1
    Last Post: - 27th August 2009, 03:42
  3. Cannot Open File Compile Error
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th January 2009, 19:18
  4. Try to Compile 18F4550 Macro missing
    By Denicou in forum USB
    Replies: 7
    Last Post: - 28th January 2007, 23:24
  5. MBLAB fails to load cod file
    By prylbogen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th April 2005, 12:58

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