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

FlashFS missing functions and SDHC support

Dear All,

I'm programming an app that writes to SD card and I'm using the Keil FlashFS on STM32F100C8 device. In the documentation of Keil I found that the SPI driver have some functions in order to communicate with the card:

Init Initializes the SPI controller.
UnInit Uninitializes the SPI controller.
Send Send and receive a byte over the SPI interface.
SendBuf Sends a block of data to the SPI interface.
RecBuf Receives a block of data from the SPI interface.
BusSpeed Set the desired baud rate speed for the SPI interface.
SetSS Enables or disables SPI Slave Select signal.
CheckMedia Checks the SD/MMC media status (Card Inserted, Write Protected).

This functions are defined in the FileConfig.h, but, in my FileConfig.h I only have some functions like spi_send, spi_command etc, but don't have SendBuf, RecBuf, etc.. for this reason my write speed is too slow because it don't have functions to send a buffer of data...

Also SDHC card are not supported and don't know why. My version of RL-ARM is 4.13, I think the newest... can anybody explain why cant found the rest of functions and the SDHC problem??

Thanks in advance.

0