Copy from USB drive in MQX 4.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy from USB drive in MQX 4.1

626 Views
acremonini
Contributor II

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?

Labels (2)
0 Kudos
Reply
1 Reply

418 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

Please check the following thread

Re: Copy a big file: Neither the shell command nor the custom code work

Regards

Daniel

0 Kudos
Reply