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).
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).
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)
--------------------------------------------------------------------------------
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.
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\"
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.
Bookmarks