Why this..Options have been disabled due to restricted license?

For general Flowcode discussion that does not belong in the other sections.
Post Reply
bernoulli
Posts: 2
http://meble-kuchenne.info.pl
Joined: Wed Jul 14, 2021 6:11 am

Why this..Options have been disabled due to restricted license?

Post by bernoulli »

I have been having problems using both the Flowcode 6 & 7, which I have licenses for them. I uninstalled and reinstalled Flowcode 7 to see if this would resolve the issue. It did not.

I noticed in the compilation phase of the project that the following message was provided, "Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key
." I am using a PIC24FJ chip. I have licenses for the PIC8, PIC16, PIC32, among others.

I believe last year was the last time I used the program prior to porting over to Win10. When I used it last, everything was fine. Any idea why the error message is there and how I resolve it?

Here is the compilers output:
D:\FLOWCO~2\CHEMIC~1\RS232T~1>xc16-gcc -c -mcpu="24FJ64GB002" -omf=coff -funsigned-char -fno-short-double -Os -I"D:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"D:\PROGRA~1\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "RS232_PIC24FJ64GB002".c -o "RS232_PIC24FJ64GB002".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
RS232_PIC24FJ64GB002.c: In function 'FCM_RS232_Request_Unknown':
RS232_PIC24FJ64GB002.c:754:2: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
D:\Program Files\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_String.c:899:13: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c:758:2: warning: passing argument 1 of 'FCD_047b1_RS232__SendString' discards qualifiers from pointer target type
RS232_PIC24FJ64GB002.c:588:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c: In function 'FCM_OSCILLATOR_Initialize':
RS232_PIC24FJ64GB002.c:795:6: warning: large integer implicitly truncated to unsigned type
RS232_PIC24FJ64GB002.c: In function 'FCM_RS232_Request_3':
RS232_PIC24FJ64GB002.c:883:2: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
D:\Program Files\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_String.c:899:13: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c:887:2: warning: passing argument 1 of 'FCD_047b1_RS232__SendString' discards qualifiers from pointer target type
RS232_PIC24FJ64GB002.c:588:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c: In function 'FCM_RS232_Request_2':
RS232_PIC24FJ64GB002.c:976:2: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
D:\Program Files\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_String.c:899:13: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c:980:2: warning: passing argument 1 of 'FCD_047b1_RS232__SendString' discards qualifiers from pointer target type
RS232_PIC24FJ64GB002.c:588:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c: In function 'FCM_RS232_Request_1':
RS232_PIC24FJ64GB002.c:1019:2: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
D:\Program Files\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_String.c:899:13: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c:1023:2: warning: passing argument 1 of 'FCD_047b1_RS232__SendString' discards qualifiers from pointer target type
RS232_PIC24FJ64GB002.c:588:6: note: expected 'MX_CHAR *' but argument is of type 'volatile MX_CHAR *'
RS232_PIC24FJ64GB002.c: In function '_U1RXInterrupt':
coff-cc1.exe: warning: _U1RXInterrupt PSV model not specified for '_U1RXInterrupt';
assuming 'auto_psv' this may affect latency
RS232_PIC24FJ64GB002.c: At top level:
RS232_PIC24FJ64GB002.c:1171:2: warning: '_CONFIG4' definition has been deprecated: consider migrating to #pragma config
RS232_PIC24FJ64GB002.c:1171:2: warning: '_CONFIG3' definition has been deprecated: consider migrating to #pragma config
RS232_PIC24FJ64GB002.c:1171:2: warning: '_CONFIG2' definition has been deprecated: consider migrating to #pragma config
RS232_PIC24FJ64GB002.c:1171:2: warning: '_CONFIG1' definition has been deprecated: consider migrating to #pragma config
.


Compilation successful!
Completed compilation, return = 0



Thank you

medelec35
Matrix Staff
Posts: 1449
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 509 times
Been thanked: 471 times

Re: Why this..Options have been disabled due to restricted license?

Post by medelec35 »

Hi, bernoulli

Code: Select all

Options have been disabled due to restricted license
just means the free version of the XC16 compiler is being used.
Therefore you can't use optimisations that's only available for the professional paid compiler.
It's nothing to worry about.
It also has nothing to do with your Flowcode licence.
Martin

Post Reply