This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil FlashFS AT91SAM7X SPI driver

Hi, I'm just trying connect my AT91SAMXC256 with 2GB SD card using SPI and FlashFS. Unfortunately, I'm not interested in SPI peripherial,... I'm including the SPI driver in main.c file, concretely SPI_SAM7X.c. But, I'm getting message in build console:

-------------
Undefined symbol spi_hi_speed (reffered from fs_mmc.o)
Undefined symbol spi_send (reffered from fs_mmc.o)
-------------


I think, that there are missing some functions, aren't they? There is written in the driver:

 *  Required functions for SPI driver module:
 *   - void spi_init ()
 * no DMA:
 *   - void spi_ss   (U32 ss)
 *   - U8   spi_send (U8 outb)
 * with DMA:
 *   - void spi_command ()


but under this there are only spi_init and spi_command.
I'm really sad, because I am not able to implement this functions. I do not have experiences to write anything like this.. I had a lot of problems only with TWI, this is huge.
Please, do anyone have the other functions written, or is here any other way how to solve this problem?
Many thanks, Milan Petrzilka