0
\$\begingroup\$

I've got a project from a retired colleague that I'm trying to get up and going so I can make some modifications to it, but I'm having some problems compiling it. Below is the compiler, processor, and an abbreviated version of the build log. Please note that I'm doing a Clean and Build

using MPLAD X IDE V5.45

processor: PIC18LF4620

Build log (errors in the last 10 lines or so)

CLEAN SUCCESSFUL (total time: 35ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/temp/MFT_NewCode.Ver 2.9.1/MFT_NewCode.X'
"--------------------------------------"
"User defined pre-build step: [if "false" == "false" echo NOT Debugging!]"
NOT Debugging!
"--------------------------------------"
+ Parallel make disabled. Project contains mpasm files, mpasmx versions older than 5.58 do not support parallel make. +
make  -f nbproject/Makefile-default.mk dist/default/production/MFT_NewCode.X.production.hex
make[2]: Entering directory 'C:/temp/MFT_NewCode.Ver 2.9.1/MFT_NewCode.X'
"C:\Program Files (x86)\Microchip\mplabc18\v3.47\bin\mcc18.exe"  -p18F4620 -ms -oa- -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-  -I "C:\Program Files (x86)\Microchip\mplabc18\v3.47\bin"\\..\\h  -fo build/default/production/user/AcquireData.o   user/AcquireData.c 

<about 30 other similar lines>

MPLINK 5.00, LINKER
Device Database Version 1.17
Copyright (c) 1998-2013 Microchip Technology Inc.
Errors    : 0

MP2HEX 5.00, COFF to HEX File Converter
Copyright (c) 1998-2013 Microchip Technology Inc.
Errors    : 0

make[2]: Leaving directory 'C:/temp/MFT_NewCode.Ver 2.9.1/MFT_NewCode.X'
"--------------------------------------"
"User defined post-build step: [if "false"=="false"  HEXMATE r200-fffe,"dist\default\production\MFT_NewCode.X.production.hex"  -FILL=0xADDE,0xDEC0@0x200:0xFFFE -O"dist\default\production\MFT_NewCode.X.production.BootLoad.hex" -LOGFILE="dist\default\production\MFT_NewCode.X.production.BootLoad.Log"]"
nbproject/Makefile-default.mk:103: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/temp/MFT_NewCode.Ver 2.9.1/MFT_NewCode.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
(2031) An error, warning or message was generated, but no description is available
make[1]: *** [.build-conf] Error 1
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 42s)

it seems like it's in the post build step, which has a "execute this line after build" defines in the project properties with the following code. I'm pretty sure this is being done for bootloading purposes.

if ${IsDebug}=="false"  HEXMATE r200-fffe,${ImagePath}  -FILL=0xADDE,0xDEC0@0x200:0xFFFE -O"dist\default\${IMAGE_TYPE}\MFT_NewCode.X.${IMAGE_TYPE}.BootLoad.${OUTPUT_SUFFIX}" -LOGFILE="dist\default\${IMAGE_TYPE}\MFT_NewCode.X.${IMAGE_TYPE}.BootLoad.Log"

I'm not quite sure where to go next from here, but appreciate any advice. If any other information is needed i'd be happy to supply it.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.