This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] RTOS/am3359:如何实现 TI-RTOS MMCSD FATFS 全功能?

Guru**** 2551110 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/622914/rtos-am3359-how-to-achieve-ti-rtos-mmcsd-fatfs-full-function

器件型号:AM3359

工具/软件:TI-RTOS

尊敬的 TI:

                  CCS 7.2.0、ti-processor-sdk-rtos-am335x-evm-04.00.00.04、AM335x 入门套件

我正在 处理 pdk_am335x_1_0_7中的示例项目 MMCSD_FatfsConsole_skAM335x_armExampleProject。

根据 processors.wiki.ti.com/.../Processor_SDK_RTOS_MMCSD。

支持的控制台命令包括 ls (目录的列表文件)、cd (更改目录)、pwd (当前工作目录)和 cat (文本文件读取操作)。

我想知道如何实现完整的文件系统功能、尤其是写入文件、例如

echo "Some text here." > myfile.txt

cat > outfile.txt
>Enter text
>to save press ctrl-d

请提前告知、谢谢。

Mike

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Michael、

    请检查 fs/fatfs/src/ff.c 文件以了解完整的文件系统功能函数。

    此致、
    Kemal