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.

  • Resolved

RTOS: FATFS

Tool/software: TI-RTOS

I've a C++ project for the A15 on AM5728 with FATFS included.   Using f_open to open a file from the SD Card works fine, but using ifstream to open the same file fails.   Please help with a solution.  Thanks.   I'm using CCS 7.4.00015, with SYS/BIOS 6.25.0.12. and XDCTools 3.50.3.33

  • I just found out that ifstream can open the "/app" file, but this file is not in my SD card.  Where does it look at? and how do i tell it to look at the files on the SD card?

    When I removed the "app" file from the SD card, the f_open() can't find it,  

  • In reply to Jodat Vu:

    OK. I found the location where the ifstream looks up for files. With the probe connected and I'm in debug mode, it looks at the folder on my host PC where i have my project.
  • In reply to Jodat Vu:

    Hi Jodat,

    Glad to hear you resolved the issue.

    Todd

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.