PBP 2.6/MPLab 8.33 ASM "COD" error message


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    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).

  2. #2


    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)


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

  3. #3
    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.

  4. #4


    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

  5. #5
    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.

  6. #6
    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

  7. #7
    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.

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 : 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