PBP 2.6/MPLab 8.33 ASM "COD" error message


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2009
    Location
    San Francsico
    Posts
    3

    Default PBP 2.6/MPLab 8.33 ASM "COD" error message

    Compile generates:
    Executing: "C:\PROGFILE\pbp\PBPMPLAB.BAT" -ampasmwin -oq -z -p16F690 "BLINK_16f690.BAS"
    Executing: "C:\PROGFILE\pbp\PBPW.EXE" -ampasmwin -oq -z -p16F690 "BLINK_16f690.BAS"
    PICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
    All Rights Reserved.

    ERROR: Unable to access file D:\My Documents\PicBasicTrials\Blink\Blink_16F690\BLINK_ 16f690.COD
    Error processing COD file D:\My Documents\PicBasicTrials\Blink\Blink_16F690\BLINK_ 16f690.COD
    Halting build on first failure as requested.
    BUILD FAILED: Sat Jul 25 16:14:42 2009

    The project folder does not have a "blink_16f690.cod" file but has .asm, .mac, .err, .hex,.lst.

    Path has the mpasmwin path, C:\Program Files\Microchip\MPASM Suite\

    Installed "upgrade" into default directories and the MPASM & mePicBasic Pro toolsuite locations seem OK.

    Why is the .cod file missing?

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Can you reduce the filename of BLINK_16f690 to 8 Characters or less eg BLINK001 and see what happens?

    I've had problems with long filenames in the past (albeit I only compile from an XP DOS Box command line rather than from inside another program).

  3. #3


    Did you find this post helpful? Yes | No

    Default .COD not supported in MPLAB > ver 8.15a

    See the Melabs web page http://www.melabs.com/support/index.htm

    Technical Support

    (01/26/2009) Microchip's MPLAB version 8.15a appears to be the last version that will support COD file functionality. This means that PBP will generate errors in MPLAB version 8.20 and later. The errors appear as:

    ERROR: Unable to access file...
    Error processing COD file...


    We will be releasing a new version of PBP with COFF file compatibility in response to this surprise move by Microchip. In the meantime, MPLAB version 8.15a is available for download here:

    Download MPLAB 8.15a (93M ZIP)


    --------------------------------------------------------------------------------

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BrianT View Post
    They did not fix that with 2.6PBP ?
    Dave
    Always wear safety glasses while programming.

  5. #5


    Did you find this post helpful? Yes | No

    Default Where did you get PBP 2.60?

    Latest available PBP is ver 2.50c as far as I can tell.

    Cheers
    Brian

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BrianT View Post
    Latest available PBP is ver 2.50c as far as I can tell.

    Cheers
    Brian
    For some reason Melabs is not advertising it. But....
    http://www.rentron.com/PicBasic/prod...CBASIC-PRO.htm
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Sep 2007
    Posts
    32


    Did you find this post helpful? Yes | No

    Default

    I would guess that there is a problem in your build options, or perhaps the new PBP plugin hasn't registered correctly. The executed command line should not have a "-z" in it, and MPLAB should not be trying to load a COD file. PBP 2.60 should allow you to use MPLAB 8.33.

    Go to the Build Options for the project's program file and make sure it looks like the attached screenshot. If it doesn't show the same options (the plugin is old), go to Start > All Programs > PICBASIC PRO Compiler and click on "Install MPLAB Plugin". On Windows Vista and Windows 7 systems, you may need to right-click and select "Run As Administrator". Report any errors that you receive. Restart MPLAB afterwards.

    As Melanie mentioned, there is a length limit when passing filenames to MPASMWIN, but it is the total number of characters in the path and filename that is the problem. I believe the limit is 63 characters. In your case, the subject of this limit is the string "D:\My Documents\PicBasicTrials\Blink\Blink_16F690\BLINK_ 16f690.ASM". I'm not sure why you don't receive an error before assembly, but this could be because of the build options setting that is suppressing the MPASMWIN progress bar (-oq). In any case, you might move your project folder closer to the root of the drive - "D:\PBPTrials\Blink_16F690\"
    Attached Images Attached Images  
    Charles Leo
    microEngineering Labs, Inc.
    http://melabs.com

  8. #8
    Join Date
    Apr 2009
    Location
    San Francsico
    Posts
    3


    Did you find this post helpful? Yes | No

    Default PBP 2.6/MPLAB 8.33 COD Error Message

    Tnx Charlie for response; Running "MPLAB Plugin" that registers the PBPSUITE.dll and sets up MPLAB to run PBPMPLAB.BAT, adjusting the MPLAB project options per your thumbnail, and running PBRegister fixed the problem.

  9. #9
    FutureFAE's Avatar
    FutureFAE Guest


    Did you find this post helpful? Yes | No

    Default Not working in Vista

    The PBPMPLAB.BAT file does not seem to want to run, even when run as administrator.

    The error message is as follows for running the "Install MPLAB plugin":

    "The module "C:\PBPDEMO\PBPSUITE.DLL" faild to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependant .DLL files. The application has fialed to start because it's side-by-side configuration is incorrect. Please see the applicaiton ecent log for more detail."

    When I tried to run it from the command line, I get:

    "The module "PBPSUITE.DLL" was loaded but the call to DllRegisterServer failed to load with error code 0x80070005. For more information about this problem, search online using the error code as a search term."

    The configuration I was trying to run was MPLAB 8.36, and PBP v2.60, and windows Vista Home Premium.
    Last edited by FutureFAE; - 3rd December 2009 at 17:47.

  10. #10
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    It looks like it's pointing to an old Demo version of PBP.
    Try the instructions to the right of the first image on this page ...

    http://www.melabs.com/support/mplab.htm
    <br>
    DT

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. PBP, ASM and LST files
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th January 2010, 13:43
  3. ASM or PBP First?
    By mackrackit in forum Off Topic
    Replies: 4
    Last Post: - 10th October 2009, 12:08
  4. pbp - asm variable passing
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th May 2009, 08:49
  5. asm and pbp
    By pic beginner in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 24th October 2004, 05:33

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