Hi
Both USB-MSD device and USB-MSD host loaders are available in the uTasker serial loader project. TWR-K60D100M versions are at:
http://www.utasker.com/kinetis/TWR-K60D100M.html
This is not two different projects but a single one where the host or device mode is configured by a single project define.
The USB mode can also be combined with UART, SD card, Kboot compatible UART/USB-HID or Ethernet loaders simply be enabling or disabling the appropriate defines.
It works on all K, KL and KV boards with USB host support so doesn't require porting between devices. The project also builds with most IDEs (CW, KDS, IAR, Keil, Crossworks, CooCox, Atollic, Green Hills etc.) so again is not restricted to a certain environment.
The USB-MSD host is a recent addition to the project's capabilities and an automatic device/host mode is foreseen shortly, whereby the loading works either by connecting the board to a PC host (device mode) or by plugging in a memory stick (host mode) and the corresponding operation is detected and configured accordingly (on-the-fly). Potentially also cloning software between two boards by connecting them together (OTG).
The operation can also be simulated in VisualStudio using the uTasker Kinetis simulator, which allows fastest developments coupled with exceptional software auditing and maintenance capabilities.
Below is an example of the the USB-MSD output during operation (on TWR-SER RS232 interface) with a typical memory stick.
Regards
Mark
uTasker Serial Loader
=======================
[0x00008080/0x00022fff]
bc = blank check
dc = delete code
go = start application
>
> USB FS device detected
USB device information ready:
USB2.0 device with 64 byte pipe
Vendor/Product = 0x0781/0x5406
Manufacturer = "SanDisk"
Product = "U3 Cruzer Micro"
Serial Number = "43172009D7514E7"
Bus-powered device (max. 100mA) with 1 interface(s)
Mass Storage Class : Sub-class = 0x06 interface protocol = 0x50
Endpoints:
1 = BULK IN with size 64
2 = BULK OUT with size 64
Enumerated (1)
LUN = 2
UFI INQUIRY -> Status transport - Passed
UFI REQUEST SENSE -> Status transport - Passed
UFI FORMAT CAP. -> Stall on EP-1
EP-1 cleared
Status transport - Failed
UFI FORMAT CAP. -> Stall on EP-1
EP-1 cleared
UFI FORMAT CAP. -> Status transport - Passed
UFI READ CAP. -> Status transport - Passed
Mem-Stick mounting...
Disk E mounted
Kinetis: http://www.utasker.com/kinetis.html
Serial Bootloader (Ethernet, USB, MSD, KBOOT, AN2295, SREC, SD-card): http://www.utasker.com/forum/index.php?topic=1873.msg6796#msg6796 / http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF
For the complete "out-of-the-box" Kinetis experience and faster time to market
:smileyinfo: Out-of-the-box boot loader support for 46 Kinetis boards, 8 modes and 10 IDEs (over 15'000 combinations from a single code source with no porting required)