[Flashforth-devel] building FF5 for dsPIC33EP256GP502
Brought to you by:
oh2aun
From: Peter J. <pe...@me...> - 2014-07-10 14:45:31
|
Mike, I was attempting to build the 16-bit FF for a dsPIC33EP256GP502-I/SP because I was keen to have more SRAM than the dsPIC33FJ128GP802 offered. I think that I've got the correct header files included by adding an entry to ff30.inc but have just copied the p33f_config.inc as a starting point for a new p33e_config file. Presently I have the following errors from the assembler. make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory `/home/peterj/pic_work/flash-forth/ff5p0-dsPIC33EP-july-2014/FF5-for_dsPIC33EP.X' make -f nbproject/Makefile-default.mk dist/default/production/FF5-for_dsPIC33EP.X.production.hex make[2]: Entering directory '/home/peterj/pic_work/flash-forth/ff5p0-dsPIC33EP-july-2014/FF5-for_dsPIC33EP.X' "/opt/microchip/xc16/v1.21/bin/xc16-gcc" ../src/ff-pic24-30-33.s -o build/default/production/_ext/1360937237/ff-pic24-30-33.o -c -mcpu=33EP256GP502 -omf=elf -I"../src" -Wa,-MD,"build/default/production/_ext/1360937237/ff-pic24-30-33.o.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax ../src/ff-pic24-30-33.s: Assembler messages: ../src/ff-pic24-30-33.s:468: Error: Invalid operands specified ('btss INTCON2,#ALTIVT'). ../src/ff-pic24-30-33.s:468: Check operand #2. Operand must be between 0 and 15, inclusive. ../src/ff-pic24-30-33.s:1126: Error: Invalid operands specified ('bclr INTCON2,#ALTIVT'). ../src/ff-pic24-30-33.s:1126: Check operand #2. Operand must be between 0 and 15, inclusive. ../src/ff-pic24-30-33.s:1136: Error: Invalid operands specified ('bset INTCON2,#ALTIVT'). ../src/ff-pic24-30-33.s:1136: Check operand #2. Operand must be between 0 and 15, inclusive. make[2]: *** [build/default/production/_ext/1360937237/ff-pic24-30-33.o] Error 255 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 nbproject/Makefile-default.mk:97: recipe for target 'build/default/production/_ext/1360937237/ff-pic24-30-33.o' failed make[2]: Leaving directory '/home/peterj/pic_work/flash-forth/ff5p0-dsPIC33EP-july-2014/FF5-for_dsPIC33EP.X' make[1]: Leaving directory `/home/peterj/pic_work/flash-forth/ff5p0-dsPIC33EP-july-2014/FF5-for_dsPIC33EP.X' BUILD FAILED (exit value 2, total time: 158ms) It seems that the interrupt vector tables are a bit different. Any suggestions? Also, this MCU has more static RAM than will fit within the first 32k address range. I guess that I need to set appropriate boundaries. Of course, these might also be just the start of many changes that might be needed. Could you hazard a guess as to how many? I will accept an answer of "too many", but I thought that I would just try my luck and see if it was easy to get FF running on this chip. Regards, Peter Jacobs |