AnsweredAssumed Answered

Copy from USB drive in MQX 4.1

Question asked by acremonini on Jun 24, 2015
Latest reply on Jun 26, 2015 by Daniel Chen

Hi,

I'm developing an MQX-based application on a K70 and I'm facing an issue:

I wrote a shell custom command to copy a directory from the USB drive to the NAND filesystem, including subdirectories and files, but sometimes, expecially when a large file is copied, the procedure ends and after that I can't see the content of the key anymore. However I see that the filesystem is still mounted (as "b:").

To check if the problem is inside my function or something else I tried the copy of a large file with the shell command "copy" and I see the same result. While debugging I noticed that the code fails during a read.

 

Does anybody have some suggestions about this or experienced something similar?

Outcomes