This is STM32F103XX ISP1160-hardware, write master USB interface driver driver program, code complete, is by running and debugging were able to read and write USB disk on USB interface and STM32F10XXX class is very helpful should have passed the test of the series.
File list:
USB_ISP1160_2
............\App
............\...\app_cfg.h
............\...\CreateEvents.C
............\...\CreateMultiTask.C
............\...\main.c
............\...\Task_includes.h
............\Debug
............\.....\Exe
............\.....\...\ISP1160.out
............\.....\...\ISP1160.sim
............\.....\...\ISP1160.sim._1
............\.....\List
............\.....\....\ISP1160.map
............\.....\Obj
............\.....\...\atl_mix.o
............\.....\...\cls_hndl.o
............\.....\...\cortexm3_macro.o
............\.....\...\CreateEvents.o
............\.....\...\CreateMultiTask.o
............\.....\...\dev_ep.o
............\.....\...\dir.o
............\.....\...\disk.o
............\.....\...\FAT.o
............\.....\...\FDT.o
............\.....\...\file.o
............\.....\...\hub.o
............\.....\...\hw_acces.o
............\.....\...\init.o
............\.....\...\ISP1160.pbd
............\.....\...\isp1160db.o
............\.....\...\isr.o
............\.....\...\main.o
............\.....\...\mass.o
............\.....\...\Mass_BulkTrance.o
............\.....\...\Mass_CBITrance.o
............\.....\...\Mass_Conmmand.o
............\.....\...\OSFile.o
............\.....\...\os_core.o
............\.....\...\os_cpu_a.o
............\.....\...\os_cpu_c.o
............\.....\...\os_dbg.o
............\.....\...\os_flag.o
............\.....\...\os_mbox.o
............\.....\...\os_mem.o
............\.....\...\os_mutex.o
............\.....\...\os_q.o
............\.....\...\os_sem.o
............\.....\...\os_task.o
............\.....\...\os_time.o
............\.....\...\os_tmr.o
............\.....\...\port_ctl.o
............\.....\...\RWSec.o
............\.....\...\STM32103FZE.o
............\.....\...\stm32f10x_dma.o
............\.....\...\stm32f10x_exti.o
............\.....\...\stm32f10x_flash.o
............\.....\...\stm32f10x_gpio.o
............\.....\...\stm32f10x_it.o
............\.....\...\stm32f10x_lib.o
............\.....\...\stm32f10x_nvic.o
............\.....\...\stm32f10x_rcc.o
............\.....\...\stm32f10x_sdio.o
............\.....\...\stm32f10x_systick.o
............\.....\...\stm32f10x_tim.o
............\.....\...\stm32f10x_vector.o
............\.....\...\SYS_LPC2200.o
............\.....\...\transfer.o
............\.....\...\USB_MASS.o
............\settings
............\........\ISP1160.cspy.bat
............\........\ISP1160.dbgdt
............\........\ISP1160.dni
............\........\ISP1160.wsdt
............\........\ISP1160_Debug.jlink
............\target
............\......\cortexm3_macro.s
............\......\stm32f10x_it.c
............\......\stm32f10x_it.h
............\......\stm32f10x_vector.c
............\test
............\....\main.c
............\uCOS-II
............\.......\Config
............\.......\......\os_cfg.h
............\.......\Doc
............\.......\...\QuickRefChart-Color.pdf
............\.......\...\QuickRefChart-Color.xls
............\.......\...\README.TXT
............\.......\...\ReleaseNotes.pdf
............\.......\...\TaskAssignmentWorksheet.pdf
............\.......\...\TaskAssignmentWorksheet.xls
............\.......\...\uCOS-II-RAM-Calc.xls
............\.......\...\WhatsNewSince-V200.pdf
............\.......\Ports
............\.......\.....\os_cpu.h
............\.......\.....\os_cpu_a.asm
............\.......\.....\os_cpu_c.c
............\.......\.....\os_dbg.c
............\.......\Source
............\.......\......\os_core.c
............\.......\......\os_flag.c
............\.......\......\os_mbox.c
............\.......\......\os_mem.c
............\.......\......\os_mutex.c
............\.......\......\os_q.c
............\.......\......\os_sem.c
............\.......\......\os_task.c
............\.......\......\os_time.c
............\.......\......\os_tmr.c
............\.......\......\ucos_ii.h
............\ZLG_FS
............\......\dir.C
............\......\disk.C
............\......\FAT.C
............\......\Fat.h
............\......\FDT.C
............\......\file.C
............\......\OSFile.c
............\......\OSFile.h
............\......\RWSec.C
............\......\USB_MASS.c
............\ZLG_HOST
............\........\class_dr
............\........\........\hub
............\........\........\...\hub.c
............\........\........\...\hub.h
............\........\........\mass
............\........\........\....\mass.c
............\........\........\....\mass.h
............\........\........\....\Mass_BulkTrance.c
............\........\........\....\Mass_BulkTrance.h
............\........\........\....\Mass_CBITrance.c
............\........\........\....\Mass_CBITrance.h
............\........\........\....\Mass_command.h
............\........\........\....\Mass_Conmmand.c
............\........\HAL
............\........\...\SYS_LPC2200.C
............\........\...\SYS_LPC2200.H
............\........\_hc_cls
............\........\.......\cls_hndl.c
............\........\.......\cls_hndl.h
............\........\_hc_core
............\........\........\atl_mix.c
............\........\........\atl_mix.h
............\........\........\chap9.h
............\........\........\dev_ep.c
............\........\........\dev_ep.h
............\........\........\init.c
............\........\........\init.h
............\........\........\isr.c
............\........\........\isr.h
............\........\........\port_ctl.c
............\........\........\port_ctl.h
............\........\........\transfer.c
............\........\........\transfer.h
............\........\_hc_hw
............\........\......\hc_comm.h
............\........\......\hw_acces.c
............\........\......\hw_acces.h
............\........\......\STM32103FZE.C
............\........\config.h
............\........\HostStack.h
............\Backup of ISP1160.ewd
............\Backup of ISP1160.ewp
............\bsp.c
............\bsp.h
............\includes.h
............\ISP1160.dep
............\ISP1160.ewd
............\ISP1160.ewp
............\ISP1160.eww
............\isp1160db.c
............\isp1160db.h
............\log.c
............\log.h
............\main.c
............\nand_driver.c
............\nand_driver.h
............\Platform.h
............\STM32103FZE.C
............\stm32f10x_conf.h