Using KSDK 1.1, KDS 2.0
I'm developing a data-logger using the FRDM-K64F
Basically I want a "double" application:
- normal behavior: data logging
- alternate behaviour, when program starts with USB cable connected (to the K64F USB connetor): MSD (so I can read the files saved on the SD card when in data-logging mode)
The data logging works, and I tried the MSD example (and it works).
Now I'm trying to merge the two.
What I wish to do is choose between the two mode at startup: if the USB cable is not conneted -> datalogging, if the USB cable is connected (so the board is connected to a PC) -> MSD.
Some ideas how to do that?
Thanks Regards Giacomo
PS: what throughput I should expect tranfering data from the SD card to a PC (using USB-MSD)?