Human Interface not working for me
Posted: Thu Nov 25, 2021 5:43 pm
Code: Select all
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c: FC_CAL_UART_Init_2()
675: TXSTA2bits.BRGH = 1;
^ (192) undefined identifier "TXSTA2bits"
^ (196) struct/union required
679: RCSTA2 = 0;
^ (192) undefined identifier "RCSTA2"
690: RCSTA2bits.SPEN = 1;
^ (192) undefined identifier "RCSTA2bits"
^ (196) struct/union required
692: TXSTA2bits.TXEN = 1;
^ (196) struct/union required
695: RCSTA2bits.CREN = 1;
^ (196) struct/union required
703: PIE3bits.RC2IE = 0;
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
int -> volatile union S106
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c: FC_CAL_UART_Uninit_2()
935: RCSTA2 = 0;
^ (192) undefined identifier "RCSTA2"
936: TXSTA2 = 0;
^ (192) undefined identifier "TXSTA2"
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c: FC_CAL_UART_Send_2()
1022: while ((PIR3bits.TX2IF) == 0);
^ (255) not a member of the struct/union ""
^ (207) simple type required for "=="
1030: TXREG2 = nChar;
^ (192) undefined identifier "TXREG2"
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c: FC_CAL_UART_Receive_2()
1145: regcheck = (PIR3bits.RC2IF);
^ (255) not a member of the struct/union ""
^ (182) illegal conversion between types
volatile union S62 -> unsigned char
^ (181) non-scalar types can't be converted to other types
1280: regcheck = (RCSTA2bits.FERR);
^ (192) undefined identifier "RCSTA2bits"
^ (196) struct/union required
1283: dummy = RCREG2;
^ (192) undefined identifier "RCREG2"
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_UART.c: 1290: too many errors (21)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1