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.

Compiler/TMS570LC4357: if the add_device() function can be called more than one time?

Part Number: TMS570LC4357

Tool/software: TI C/C++ Compiler

hello 

I called the add_device() function to build a simple file system in my software, we saved the data in the internal flash.

During execution, my program will be hot reset many times.

I find, sometimes, after the hot reset, it can destroy the file system and I can't open the file successfully.

can you tell me if the add_device() is allowed to be executed many times by the hot reset? if it is not allowed, how to resolved it ?