AN1475 Developing an ST7265x Mass Storage Application

This application note describes how to develop a USB Mass Storage application using an ST7265x microcontroller. The proposed solution includes a generic USB Mass Storage Layer (MSL) compliant with the USB Mass Storage Class that can be used for all types of storage media (FLASH memory cards, hard disk drive, etc.) and a dedicated Media Access Layer (MAL) add-in for each type of storage media. The MSL and the MAL modules are available to ST customers on request. Contact your ST sales office to obtain the ST7265 Mass Storage software. The MSL and the MAL must be considered as function libraries and therefore cannot be modified by the user. The software interfaces of these function libraries provide the user with the required flexibility for designing his application: – type and number of media, – insertion/withdrawal management, – protection management, – user interface. Note that the MAL requires the use of certain fixed MCU pins to interface with the various mediums. As a result, a specific application hardware configuration is required when using the MAL.


AN1475 Developing an ST7265x Mass Storage Application - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
48 KB
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
7241C2BA99ECA48D5D687550E7A3E2CC

About this manual

The document describes a solution for developing a USB Mass Storage application on the ST7265x microcontroller. It includes a generic USB Mass Storage Layer (MSL) compliant with the USB Mass Storage Class and dedicated Media Access Layer (MAL) add-ins for various storage media types such as Flash memory cards, hard disk drives, CompactFlash, SmartMedia, MultiMediaCard, and Sony Stick.

The software architecture is modular to allow users to easily replace or customize modules. The note details the project file structure, defines the maximum number of logical units (LUNs), and provides specific instructions on media selection and hardware interface pin configurations for different storage devices.

What's inside

  • Introduction
  • Software Architecture
  • Project Content
  • Maximum Number of Logical Units
  • Media Selection
  • Hardware Interfaces
  • Compact Flash Card Interface
  • SmartMediaCard Interface
  • MultiMediaCard Interface
  • Sony Stick Interface

Frequently asked questions

What is the valid range for the MAX_LUN variable?

The valid range of this variable is between 0 and 15.

What is the valid range for the MAX_LUN constant?

The valid range for the MAX_LUN variable is between 0 and 15.

Download PDF (48 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →