Newby can't make hex file in MPLAB 8.5 with blink8x.bas program


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    Walnut Creek, CA
    Posts
    17


    Did you find this post helpful? Yes | No

    Default Still no joy with MPLAB/SBP, Unable to execute mpasmwin

    mackrackit:

    Yes, I have read http://www.melabs.com/support/mplab.htm and I believe I followed it quite faithfully but of course I may have missed something.

    Acetronics:

    No I don't have any HI TECH compiler on my PC. Just to make sure, I did a search for "TIDE" and nothing showed up. Some IDE stuff for x86's such as QNX and LabWindows, but no HI TECH. You say it looks to be a "computer problem" but maybe you mean "operator problem?"

    And also to make sure (and in desperation), I reloaded PBP into C:\Program Files\Microchip\MPLAB IDE and ran MPLAB again compiling blinkx.bas, getting no errors but 3 suppressed warnings and it wasn't able to execute "mpasmwin."

    Does that mean it can't find mpasmwin, or what? I see it at C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe and MPLAB "Set Language Tool Locations" is set up for it at that location, C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe.

    Here's what I got after reloading SBP into C:\Program Files\Microchip\MPLAB IDE:

    Executing: "C:\Program Files\Microchip\MPLAB IDE\PBP\PBPMPLAB.BAT" -ampasmwin -k# -p18F8722 "blinkx.bas"
    Executing: "C:\Program Files\Microchip\MPLAB IDE\PBP\PBPW.EXE" -ampasmwin -k# -p18F8722 "blinkx.bas"
    PICBASIC PRO(TM) Compiler 2.60, (c) 1998, 2009 microEngineering Labs, Inc.
    All Rights Reserved.

    ERROR: Unable to execute mpasmwin.Halting build on first failure as requested.
    BUILD FAILED: Fri Apr 23 14:11:40 2010

    Thanks for your help. Any other ideas?
    Last edited by ImAnEE; - 23rd April 2010 at 23:15. Reason: redundant stuff

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


    Did you find this post helpful? Yes | No

    Default

    You don't want or need PBP in your MPLAB directory. Drop out to a command prompt and type PATH then hit enter.

    Does it show C:\Program Files\Microchip\MPASM Suite in your path?
    Regards,

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

  3. #3
    Join Date
    Apr 2010
    Location
    Walnut Creek, CA
    Posts
    17


    Did you find this post helpful? Yes | No

    Smile Bruce, That's it. Microchip\MPASM Suite wasn't in the PATH!

    Bruce,

    You're right, Microchip\MPASM Suite wasn't in the PATH. Now all is well, I think. Except that somehow I screwed up MPLAB so I wasn't able to modify my .bas file. It said that it couldn't find the old file in SaveAs or some such goofy thing. So I made a new .bas file and was able to compile it in MPLAB and program the chip. Hopefully no other goofy problem will show up.

    I don't understand why the PATH wasn't set up properly. Maybe some problem in the MPLAB install?

    Many thanks to you Bruce and to the others who gave me suggestions.

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts