Problems with Flash Disk

13 Dec 2010

I am having a lot of trouble with the detection of the flash disk from a running prog. Self written downloaded programs work perfect. But as soon as i try to load a file from the flash disk with a running program i get an error on the macbook. It says that the drive was not removed from apple but just plugged out. For example, loading htm files from the localdisk produce this error.

Is it possible to reformat the flash disk as a usual disk?

Can somebody tell me what to do or had similar problems?

 

13 Dec 2010

Sounds like your program is using the flash (e.g. file read/write), in which case it will stop being a USB flash drive.

 

See here http://mbed.org/handbook/LocalFileSystem

13 Dec 2010
Sounds like your program is using the flash (e.g. file read/write), in which case it will stop being a USB flash drive.

 

If above answer is the right answer how can this program "pub_iva2k_ethsntp" (can be downloaded in the compiler) work and what is the main use of the flashdisk ?