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"
dsPIC33EP128MC506 PWM1 and PWM2 problem [solved]
Moderator: Benj
- celebriums
- Posts: 121
- Joined: Sun Sep 25, 2016 3:50 pm
- Contact:
dsPIC33EP128MC506 PWM1 and PWM2 problem [solved]
- Attachments
-
- EPS20180504-1804.fcfx
- (27.04 KiB) Downloaded 106 times
Last edited by celebriums on Fri Apr 20, 2018 4:10 pm, edited 1 time in total.
Sincerely Regards
Sadık SUME
www.sadiksume.com
Linkedin
https://www.linkedin.com/in/sadık-s-2a04b739/
Sadık SUME
www.sadiksume.com
https://www.linkedin.com/in/sadık-s-2a04b739/
Re: dsPIC33EP128MC506 PWM1 and PWM2 problem
Hi Sadik,
Many thanks for letting us know. I believe I have now found and fixed the problem for you.
Simply copy the attached file to your "Flowcode7/FCD/PIC16" folder and restart Flowcode and hopefully the problem will be resolved.
Let us know how you get on.
Many thanks for letting us know. I believe I have now found and fixed the problem for you.
Simply copy the attached file to your "Flowcode7/FCD/PIC16" folder and restart Flowcode and hopefully the problem will be resolved.
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- celebriums
- Posts: 121
- Joined: Sun Sep 25, 2016 3:50 pm
- Contact:
Re: dsPIC33EP128MC506 PWM1 and PWM2 problem (SOLVED)
Hi Benj
Thank you for your help. The update is working correctly.

Thank you for your help. The update is working correctly.

Sincerely Regards
Sadık SUME
www.sadiksume.com
Linkedin
https://www.linkedin.com/in/sadık-s-2a04b739/
Sadık SUME
www.sadiksume.com
https://www.linkedin.com/in/sadık-s-2a04b739/