dsPIC33EP128MC506 PWM1 and PWM2 problem [solved]
Posted: Thu Apr 05, 2018 5:26 pm
Hi
When you run the PWM1 and PWM2 modules, the compilation error is as follows.
"..
C:\ELLAMP~1\E1299F~1\Software>xc16-gcc -c -mcpu="33EP128MC506" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "EPS20180504-1804".c -o "EPS20180504-1804".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:455:0,
from EPS20180504-1804.c:233:
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_3':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:69:1: error: 'RPOR1BITS' has no member named 'RP42R'
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:476:0,
from EPS20180504-1804.c:233:
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_4':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:69:1: error: 'RPOR1BITS' has no member named 'RP43R'
Error returned from [xc16-gcc.exe]
Completed compilation, return = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1
FINISHED"
When you run the PWM1 and PWM2 modules, the compilation error is as follows.
"..
C:\ELLAMP~1\E1299F~1\Software>xc16-gcc -c -mcpu="33EP128MC506" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "EPS20180504-1804".c -o "EPS20180504-1804".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:455:0,
from EPS20180504-1804.c:233:
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_3':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:69:1: error: 'RPOR1BITS' has no member named 'RP42R'
In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:476:0,
from EPS20180504-1804.c:233:
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_4':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_PWM.c:69:1: error: 'RPOR1BITS' has no member named 'RP43R'
Error returned from [xc16-gcc.exe]
Completed compilation, return = 1
C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1
FINISHED"