Failed to Compile working FC, after recent PIC i2C updates.
Posted: Fri Aug 08, 2025 11:37 am
Hi,
PIC 18F2585 project, compiled and worked fine a couple of weeks ago. It will now not compile and throws the error shown below.
I ran a recent update of all files, not sure if this is part of the issue.
There is no hardware channel 2 for i2C on the PIC18F2585 so maybe this is a bug of some sort?
I tried to follow the wiki on how to roll-back the PIC_CAL_I2C file to version 2. But 'download' button is always greyed out.
Every file is updated to latest version.
Any thoughts, J.
PIC 18F2585 project, compiled and worked fine a couple of weeks ago. It will now not compile and throws the error shown below.
I ran a recent update of all files, not sure if this is part of the issue.
There is no hardware channel 2 for i2C on the PIC18F2585 so maybe this is a bug of some sort?
I tried to follow the wiki on how to roll-back the PIC_CAL_I2C file to version 2. But 'download' button is always greyed out.
Every file is updated to latest version.
Any thoughts, J.
Employing 18F2585 errata work-arounds:
* Corrupted fast interrupt shadow registers
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_I2C.c:
227: #error "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"
^ (103) #error: "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"
227: #error "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"
^ (103) #error: "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"
(908) exit status = 1