PDA

View Full Version : PBP3 and MPLAB 8.83



grahamg
- 7th February 2012, 17:25
I am trying to compile a program using pic basic pro under MPLAB 8.83. The following is the build information.

Executing: "C:\PBP3\PBPMPLAB.BAT" -ampasmwin -k# -p16F883 "walltimer.pbp"
PBPMPLAB.BAT 4.0.0.0
Using MPASM from C:\Program Files\Microchip\MPASM Suite\.
Executing: "C:\PBP3\PBPX.EXE" -ampasmwin -k# -p16F883 "walltimer.pbp"
PICBASIC PRO(TM) Compiler 3.0.1.4, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
BUILD FAILED: Tue Feb 07 18:05:37 2012

The assembler has 0 errors yet the Build failed. Any ideas on how to find out why the build failed?

Graham

Ioannis
- 8th February 2012, 17:39
Can you post your code too?

Are you using MCSX as an editor?

If you do, have you selected the correct PIC from the pull down menu?

Ioannis

Acetronics2
- 8th February 2012, 17:51
Executing: "C:\PBP3\PBPMPLAB.BAT" -ampasmwin -k# -p18F2620 "Test2620.bas"
PBPMPLAB.BAT 4.0.0.0
Using MPASM from C:\Program Files\Microchip\MPASM Suite\.
Executing: "C:\PBP3\PBPX.EXE" -ampasmwin -k# -p18F2620 "Test2620.bas"
PICBASIC PRO(TM) Compiler 3.0.4.4, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
Loaded C:\Program Files\Microchip\MPLAB IDE\Projets\Test2620.COF.
BUILD SUCCEEDED: Wed Feb 08 18:41:48 2012


Here is the success screen ...

first : you should update your PBP version ... :surprise:

Then try running the " PBP_MPASM_Connector " located in the "C:\PBP3\MPASM-MPLAB_SETUP" folder ...

Alain

Ioannis
- 8th February 2012, 21:20
Alain's got eagle's eye, I say!

I saw 3.0.1.4 and was sure it was the latest update.

Bravo Alain.

Ioannis

grahamg
- 9th February 2012, 14:32
I downloaded the latest PBP3 update and installed. I still get same results. Tested with some older programs and everything works fine. If I compile using MCSX then it compiles ok. The only thing different is that I do not get the message " Loaded C:\Program Files\Microchip\MPLAB IDE\Projets\Walltimer.COF"

Executing: "C:\PBP3\PBPMPLAB.BAT" -ampasmwin -k# -p16F882 "walltimer.pbp"
PBPMPLAB.BAT 4.0.0.0
Using MPASM from C:\Program Files\Microchip\MPASM Suite\.
Executing: "C:\PBP3\PBPX.EXE" -ampasmwin -k# -p16F882 "walltimer.pbp"
PICBASIC PRO(TM) Compiler 3.0.4.4, (c) 1998, 2011 microEngineering Labs, Inc.
All Rights Reserved.
BUILD FAILED: Thu Feb 09 16:21:30 2012

grahamg
- 9th February 2012, 14:39
Thank you for your replys. The problem has been resolved by deleting the project and creating a new project. Everything is now working correctly.

Ioannis
- 10th February 2012, 13:04
With PBP3 you need MCSX editor.

Ioannis