COD file not being generated (reference "Unable to execute mpasmwin")


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Posts
    13

    Question COD file not being generated (reference "Unable to execute mpasmwin")

    I'm trying to compile PBP code in MPLAB to use with my ICD2. And it breaks.
    I dig through things, yank -oq and add -v and get this:
    Code:
    Executing: "C:\Dev\PIC\PBP\PBPW.EXE" -ampasmwin -z -v   -p16F819 "Main.bas"
    PICBASIC PRO(TM) Compiler 2.50b, (c) 1998, 2008 microEngineering Labs, Inc.
    All Rights Reserved. 
    Pass 1: 
    Pass 2: 
    Code Gen: 
    Macro Pass: 
    mpasmwin C:\Workspace\SE\PIC\PowerMonitor\Main.ASM 
    COD Pass:
    
    ERROR: Unable to access file C:\Workspace\SE\PIC\PowerMonitor\Main.COD
    Error processing COD file C:\Workspace\SE\PIC\PowerMonitor\Main.COD
    Halting build on first failure as requested.
    BUILD FAILED: Wed Aug 26 16:46:11 2009
    Well, clearly I'm doing it wrong. Obviously, I'm using an older version (which doesn't include the .BAT file in the ToolSuite), but the process of submitting the request to upgrade to purchasing could take a while. In short, this is what I've got to work with in the forseeable future.
    Also, I've read somewhere that I probably need to downgrade my MPASM to 5.22. Right...
    Any recommendations for any command line switches I can throw in to fix this before I potentially break my installation/computer/network/home planet?

    OK, before I go any further, the end result I'm looking for is the ability to compile my Pic BASIC file and debug it with my ICD2. Any suggestions?
    Possibly, I can just use the ASM generated and go with a regular MPASM Toolsuite Project. I'm open to ideas.

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


    Did you find this post helpful? Yes | No

    Default

    It sounds like someone went and installed a new version of MPLAB on your machine. Go to the Pic Basic web site and down load the correct on from there.

    Purchasing (wife) will not let you upgrade either? Know what you mean...
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Fail to compile, COD file missing
    By Jumper in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th June 2009, 17:20
  2. The ultimate include file
    By bearpawz in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th January 2007, 19:35
  3. MBLAB fails to load cod file
    By prylbogen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th April 2005, 11:58

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