SOLVED: Result in post 35.
SUMMARY:
- no SPACES in folder and file name.
- use IPECMD.EXE with command line options (read CommandLineReadmes in C:\MPLABX\v6.05\docs for details).
- use W command line option when PIC is powered by programmer, this was probably the most important thing, my PIC wasn't powered.
- use tool serial number or generic name in command line.
-----------------------------------------------------------------------
Trying to get a simple program working using PBP3, MPLAB X with PICKIT4 and a 16F877 on the Lab X1, but keep getting:
.make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/PBP3/Test_programs/Test1_16F877_LabX1'
make[1]: *** No rule to make target '.build-subprojects', needed by '.build-conf'. Stop.
make: *** [.build-impl] Error 2
make[1]: Leaving directory 'C:/PBP3/Test_programs/Test1_16F877_LabX1'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 104ms)
I converted ASM to CONFIG, but that didn't help. I've used that youtube video to include the compiler in MPLAB X, that went super well until I tried an example.Code:REM ASM REM @ DEVICE PIC16F877, HS_OSC, WDT_OFF, PWRT_ON, BOD_ON, LVP_OFF, CPD_OFF, WRT_OFF, DEBUG_OFF, PROTECT_OFF REM ENDASM #CONFIG __config _XT_OSC & _WDT_OFF & _WRT_ON & _BODEN_ON & _LVP_OFF & _CPD_OFF & _PWRTE_OFF & _DEBUG_ON #ENDCONFIG DEFINE OSC 20 TRISD = %00000000 LED0 VAR PortD.0 LOW LED0 START: HIGH LED0 PAUSE 500 LOW LED0 GOTO START Finish: end
Does our code have to sit in a special folder now?
I read that PBP3 migration PDF, can't see what else I forgot. I'd really like to stick with MPLAB and not return to MCSP+.
Bookmarks