# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- USB Library

20 December, 2013

- 1
- 2
…
- 287
- 288
- 289
- 290
- 291
…
- 311
- 312

NOTE: remove the drive without stopping the write first by pressing the button can result in corrupted or missing data.
1.6.19 Host - Mass Storage (MSD) - Simple Demo
This demo is a simple example of how to write a file to a USB thumb drive.
Description
Supported Demo Boards
The matrix of which demos are supported on a specific board can be found in the Release Notes demo board support
section. Verify that the board you wish to use will work with this demo. This table also describes some of the limitations that
the board might have while running this demo.
Demo Operation
This demo is a simple example of how to write files to a thumb drive through the Microchip MDD file system library. When a
thumb drive is plugged in the code will create a text file on the drive. This process only takes a brief moment. Connect the
thumb drive to the board and wait for a couple of seconds. If the drive has an activity LED on it, wait for , remove the drive
and plug it back into a computer. There should be an additional text file created named “test.txt”.
Limitations:
• Due to the size of this demo, optimizations must be enabled in the compiler in order for this demo to work on the
certain hardware platforms. Optimizations are not available on all versions of the compilers.
1.6 Demos MLA - USB Library Help Host - Mass Storage (MSD) - Simple
289

- 1
- 2
…
- 287
- 288
- 289
- 290
- 291
…
- 311
- 312