SPI and EB-013 trouble
Posted: Sun Jun 29, 2008 1:08 pm
Hi guys,
I was planning to do some experiments with SPI, so I got myself the EB-013 SPI board. Loading SPITES~1.HEX in my PIC16F877a gives the results I expected. Having some problems with the flowcode files however:
- when I load the supplied example SPITEST5.fcf in flowcode and save it (unmodified) in a folder on my drive (i.e. c:\test3) and then compile it to the micro; I get lots of C errors. Here's a small sample:
Obviously the compiler is missing some information, so how do I do that?
- The same thing happens when I develop a simple program with the flowcode SPI module. I get a couple of errors like this one:
Could anybody please point me in the right direction? Thanks in advance.
Paul
P.S.
I'm using flowcode 3.4.7.48 professional and use the following hardware: HP-488, EB-006 and EB-013.
I was planning to do some experiments with SPI, so I got myself the EB-013 SPI board. Loading SPITES~1.HEX in my PIC16F877a gives the results I expected. Having some problems with the flowcode files however:
- when I load the supplied example SPITEST5.fcf in flowcode and save it (unmodified) in a folder on my drive (i.e. c:\test3) and then compile it to the micro; I get lots of C errors. Here's a small sample:
Code: Select all
C:\test3\SPITEST5.c(1300:2): error: unknown identifier 'SetFRAMByte'
C:\test3\SPITEST5.c(2038:14): error: invalid operand '~(1 << ( SPI_FRM_EN))'
C:\test3\SPITEST5.c(2184:22): error: invalid operand 'SPI_DAC_EN'
C:\test3\SPITEST5.c(2184:17): error: failed to generate expression
C:\test3\SPITEST5.c(2184:17): error: invalid operand '<<'
- The same thing happens when I develop a simple program with the flowcode SPI module. I get a couple of errors like this one:
Code: Select all
C:\Users\Paul\Desktop\test\test2.c(360:4): error: unknown identifier 'SPI_NVM_EN_PORT'Paul
P.S.
I'm using flowcode 3.4.7.48 professional and use the following hardware: HP-488, EB-006 and EB-013.