a program written in version 7 is not running in version 8.
The compiler aborts with the following message:
-------------------------------------------------------------------------------------------------------------------------------------
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
2152053960_V01_R00_PIC24FV32KA304_V8.c: In function 'FCD_01532_cal_spi__Master_Enable_CS':
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c: In function 'FCD_01532_cal_spi__Master_Disable_CS':
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c: In function 'FCD_01531_cal_spi__Master_Enable_CS':
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c: In function 'FCD_01531_cal_spi__Master_Disable_CS':
2152053960_V01_R00_PIC24FV32KA304_V8.c
2152053960_V01_R00_PIC24FV32KA304_V8.c
Error returned from [xc16-gcc.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1
FINISHED
-------------------------------------------------------------------------------------------------------------------------------------
used cpu = PIC24FV32KA304
What I found out:
01.) Replaced the two version 7 SPI-Master to two from version 8 --> compiler runs through --> program have errors
02.) On one SPI is a display, on the other one a DDS-Chip. If I disable the icon from SPI-Master DDS-Chip "Initialise", the display is dark???
It seemed so, as from one SPI-component is c-code inside for the other one.
Can you have a look to this situation?
Best regards
Jörg