Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Build failed while export makefile button is clicked

Status
Not open for further replies.

micronik

Newbie level 1
Joined
May 5, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
i was trying out the pwm wave generation program for P16F877A using MPLAB IDE V.7.60 ...when i pressed the make file and build file button, it said BUILD SUCCEEDED...but when i pressed the export makefile button, it showed the following text as error in the output box..

Make: The target "E:\mplab pgms\PWM.o" is out of date.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F877A "PWM.asm" /l"PWM.lst" /e"PWM.err"
Warning[205] E:\MPLAB PGMS\PWM.ASM 1 : Found directive in column 1. (LIST)
Warning[208] E:\MPLAB PGMS\PWM.ASM 3 : Label truncated at 32 characters. (_CONFIG_WDT_OFF_HS_OSC_PWRTE_ON_CP_OFF)
Warning[205] E:\MPLAB PGMS\PWM.ASM 5 : Found directive in column 1. (ORG)
Warning[203] E:\MPLAB PGMS\PWM.ASM 6 : Found opcode in column 1. (GOTO)
Warning[205] E:\MPLAB PGMS\PWM.ASM 8 : Found directive in column 1. (ORG)
Warning[205] E:\MPLAB PGMS\PWM.ASM 10 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 11 : Found opcode in column 1. (CLRF)
Warning[205] E:\MPLAB PGMS\PWM.ASM 12 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 13 : Found opcode in column 1. (CLRF)
Warning[205] E:\MPLAB PGMS\PWM.ASM 14 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 15 : Found opcode in column 1. (MOVLW)
Warning[203] E:\MPLAB PGMS\PWM.ASM 16 : Found opcode in column 1. (MOVWF)
Message[302] E:\MPLAB PGMS\PWM.ASM 16 : Register in operand not in bank 0. Ensure that bank bits are correct.
Warning[205] E:\MPLAB PGMS\PWM.ASM 17 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 18 : Found opcode in column 1. (MOVLW)
Warning[203] E:\MPLAB PGMS\PWM.ASM 19 : Found opcode in column 1. (MOVWF)
Warning[205] E:\MPLAB PGMS\PWM.ASM 20 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 21 : Found opcode in column 1. (MOVLW)
Warning[203] E:\MPLAB PGMS\PWM.ASM 22 : Found opcode in column 1. (MOVWF)
Warning[205] E:\MPLAB PGMS\PWM.ASM 23 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 24 : Found opcode in column 1. (MOVLW)
Warning[203] E:\MPLAB PGMS\PWM.ASM 25 : Found opcode in column 1. (MOVWF)
Warning[205] E:\MPLAB PGMS\PWM.ASM 26 : Found directive in column 1. (BANKSEL)
Warning[203] E:\MPLAB PGMS\PWM.ASM 28 : Found opcode in column 1. (BTFSS)
Warning[203] E:\MPLAB PGMS\PWM.ASM 29 : Found opcode in column 1. (GOTO)
Warning[203] E:\MPLAB PGMS\PWM.ASM 30 : Found opcode in column 1. (BCF)
Warning[203] E:\MPLAB PGMS\PWM.ASM 31 : Found opcode in column 1. (GOTO)
Warning[205] E:\MPLAB PGMS\PWM.ASM 32 : Found directive in column 1. (END)
Error: Bad magic number in COFF file "E:\mplab pgms\PWM.cod".
A language-plugin exception occurred and was logged.
BUILD FAILED: Tue May 05 16:22:00 2009



please help me out :cry:
 

Why do you need to export a makefile?
You just need to press the make or build button and it will assemble the code and generate a Hex file for programming.
A makefile is usually used with command line assembling.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top