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.

TMS320C6678:1

Part Number: TMS320C6678

Tool/software:

Hello everyone,

I am working on embedded development using Code Composer Studio (CCS) and I’ve encountered an issue I’d like to ask about.

My goal is to read local files on the PC through the fopen function during simulation mode. Specifically, I would like to perform file operations on the PC file system from the target device (MCU or DSP) during the simulation.

During debugging, I’ve noticed that CCS seems to forward the fopen function calls to the host operating system, enabling file access. I’d like to understand:

  1. Are there any documents or examples that explain how CCS supports local file access in simulation mode?

  2. What is the underlying mechanism for how the emulator interacts with the host operating system to access the file system?

  3. Are there any specific settings in CCS or the target device that need to be configured to successfully perform these file operations?

If anyone has relevant experience or can point me to documentation, it would be greatly appreciated!

Thank you!