Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dsPIC compiler issues
#1
I am trying my luck on the dspic33FJ128GP804 and tryed compiling code with:
  • ASM 30
  • C30
  • XC16
All of them get the same results:
Code:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'D:/Dropbox/EV/2015 Software/Car Devolopment software/_bootloader/ds30_Loader_140817_test/ds30 Loader/firmware_16-bit'
make  -f nbproject/Makefile-default.mk dist/default/production/firmware_16-bit.production.hex
make[2]: Entering directory 'D:/Dropbox/EV/2015 Software/Car Devolopment software/_bootloader/ds30_Loader_140817_test/ds30 Loader/firmware_16-bit'
"C:\Program Files (x86)\Microchip\xc16\v1.23\bin\xc16-gcc.exe"   src/ds30loader.s  -o build/default/production/src/ds30loader.o  -c -mcpu=33FJ128GP804  -omf=elf -Wa,-MD,"build/default/production/src/ds30loader.o.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax
src/ds30loader.s: Assembler messages:
src/ds30loader.s:62: Error: can't open settings.inc for reading
src/ds30loader.s:63: Error: can't open user_code.inc for reading
src/ds30loader.s:94: Error: bad or irreducible absolute expression
src/ds30loader.s:121: Error: bad or irreducible absolute expression
src/ds30loader.s:129: Error: bad or irreducible absolute expression
src/ds30loader.s:136: Error: Invalid mnemonic: 'userinit'
src/ds30loader.s:276: Error: non-constant expression in ".if" statement
src/ds30loader.s:391: Error: non-constant expression in ".if" statement
src/ds30loader.s:457: Error: Invalid operands specified ('bset NVMCON,#WR').
src/ds30loader.s:457:        Check operand #2. Operand must be between 0 and 15, inclusive.
src/ds30loader.s:461: Error: Invalid operands specified ('btsc NVMCON,#WR').
src/ds30loader.s:461:        Check operand #2. Operand must be between 0 and 15, inclusive.
src/ds30loader.s:479: Error: Invalid mnemonic: 'userexit'
src/ds30loader.s:491: Error: can't open uart.inc for reading
nbproject/Makefile-default.mk:100: recipe for target 'build/default/production/src/ds30loader.o' failed
make[2]: Leaving directory 'D:/Dropbox/EV/2015 Software/Car Devolopment software/_bootloader/ds30_Loader_140817_test/ds30 Loader/firmware_16-bit'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'D:/Dropbox/EV/2015 Software/Car Devolopment software/_bootloader/ds30_Loader_140817_test/ds30 Loader/firmware_16-bit'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [build/default/production/src/ds30loader.o] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

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


Do I have somthing misconfiggured? 
Reply


Messages In This Thread
dsPIC compiler issues - by richcj10 - 2015-03-17, 07:53:47
RE: dsPIC compiler issues - by slacker - 2015-03-18, 21:18:00
RE: dsPIC compiler issues - by richcj10 - 2015-03-24, 04:40:15

Forum Jump:


Users browsing this thread: 2 Guest(s)