Reading Files from FAT32 USB Flash Disk: Project Overview and Implementation
120 likes | 248 Vues
This project presents a comprehensive solution for reading files from a FAT32 formatted USB flash disk. It is divided into two parts: Part A involves PC implementation where all logic and protocol layers are managed on a PC, and Part B focuses on a complete on-board implementation with the PIC microprocessor. Key components include the PIC 18Fxxx evaluation board and Philips ISP1362 USB host controller. The software will be developed in C using MPLAB IDE and Visual Studio, ensuring robust development and debugging environments.
Reading Files from FAT32 USB Flash Disk: Project Overview and Implementation
E N D
Presentation Transcript
File Reading FromUSB-Flash-Disk(D0113)HSDS LAB Technion - Winter 2003 MidTerm Presentation – 4/1/2004 Supervisor: Dimitry Sokolik Performed by: Yoav Gershoni Shachar Faigenblat
Project overview The project provides generic means to read files from a FAT32 formatted USB-Flash-Disk. • Part A: PC implementation: all the logic and the protocol layers will be implemented on the PC. • Part B: Full on board implementation (hardware & application).
Block Diagram Part A: PIC Evaluation Board USB Host Controller Parallel Connection USB BUS Pic Microprocessor RS 232
Block Diagram Part B: PIC Evaluation Board USB Host Controller Parallel Connection USB BUS Pic Microprocessor The application will be implemented on the pic itself
Project Specification • Components: • Pic 18Fxxx evaluation board. • Philips ISP1362 USB Host Controller. • Power supply: • 5 v for the evaluation board • 3.3 v for the host controller. • Interfaces: • USB bus between Flash Disk and Host Controller. • parallel bus between pic ports and Host Controller. • RS-232 bus between the PC and the PIC board.
Project Specification – Cont’ • Connectors: • Type A USB connector. • D-Type-9 connector. (for RS-232 – already exists on the evaluation board).
Project background • The project will be stand alone device. • In first stage will put the application on the PC for better development & debug environment. • The use of microprocessor instead of FPGA device for controlling the USB HC. • In the future we can connect an MP3 decoder to the board and to play MP3 files after downloading them from a USB Flash Disk.
The Application Logical Layers Open(), Read(), Close() USB HOST Controller Driver SendTrans(), RecTrans() Software Architecture
The Application Logical File System Layer FAT16/FAT32 Command Set Protocol Using SCSI Primary Command Set USB Mass-Storage Class Using Bulk-Only Transport protocol Host Controller Driver
Software Development Tools • Pic: • The software will be written in C, using the MCC18 compiler on MPLAB IDE. • PC: • The software will be written in C, using visual studio. • USB protocol: • The protocol will be build and debug using the USB analyzer.