Page 1 of 1

EB037 error when using FAT Component

Posted: Sat Mar 16, 2013 11:16 pm
by Mark
Hi,

I have loaded the latest version of Flowcode 5.5.2.1 and have been trying to use the EB037.
After trying the example programs (although not with the ECIO) as such and then trying
with one of John Crow's dual temp logger (again using a PIC18F4455) and lastly trying a
PIC 18F2610 with its simpler clock setting and starting from scratch. In every instance
I can get the chip working but whenever the FAT component is added I get:


Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external symbol, function:FC_CAL_SPI_Set_Prescaler_1
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'

Error: Unresolved external symbol, function:FC_CAL_SPI_Set_Prescaler_1
Error: Unresolved external function:'FC_CAL_SPI_Set_Prescaler_1(unsigned char)'
Error: Unresolved external symbol, function:FC_CAL_SPI_Set_Prescaler_1


failure
Return code = -2
Flowcode was unable to assemble the ASM file due to the following errors:

I have tried fiddling around with the component connections.

Any suggestions where things have gone wrong?

The skeleton that works without the FAT macro and with the FAT macro fault is:
SD Card Test.fcf
(12 KiB) Downloaded 235 times
The full errors are:
Errors.txt
(1.51 KiB) Downloaded 207 times
Thanks in advance,

Mark

Re: EB037 error when using FAT Component

Posted: Mon Mar 18, 2013 11:16 am
by Benj
Hi Mark,

I've just tried it here and it's compiling ok for me. Here are the files I'm using.

This file goes into the components directory.
FC5_PIC_FAT16.c
(59.6 KiB) Downloaded 239 times
And this file goes into the CAL/PIC directory.
PIC_CAL_SPI.c
(14.37 KiB) Downloaded 228 times

Re: EB037 error when using FAT Component

Posted: Mon Mar 18, 2013 8:21 pm
by Mark
Ben,

Thanks, the error mesage has gone.

Mark