VS1010 USB Flash Support

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

VS1010 USB Flash Support

Post by Panu » Thu 2018-09-06 15:44

Dear Forum Members,

Here is an experimental driver that supports reading (playing music) from USB flash memories connected to VS1010c.

The driver is in two parts. The main part, USBHRD.DLX is the USB Host Read Only Driver. That occupies only 356 words of instruction memory and provides only the functions to do block reads from the USB flash. It calls another program, USBPROBE.DLX, which is slightly larger, to probe the USB bus, enumerate the connected USB flash and build a device driver as disk U: in VSOS.

The driver is completely rewritten from scratch, and at time of writing this, only a couple of different USB flash sticks are tested. More will follow. Many flashes require some kind of hand-holding, so there's going to be updates that add support for more USB flash sticks, but for now, please test and report your findings.

The driver is invoked by command USBHRD which must only be given once, and a flash stick MUST be connected to the USB host port (developer boards need DP/DN adapter from VLSI). The USB flash memory will become drive U: and can be used normally with VSOS (only not written to).

-Panu

For the previous thread about USB host support, please see viewtopic.php?f=15&t=2280&p=12118#p12118
Attachments
USBHRD.dlx
USB Flash Driver Proper. VSOS Executable (this is the one to run)
(2.5 KiB) Downloaded 11 times
USBPROBE.dlx
USB Flash Enumerator. VSOS Library
(5.55 KiB) Downloaded 13 times
arch-USBPROBE-2018-09-06-16-31-RC1-Experimental.zip
VS1010 USB Flash Driver Source Code. VSIDE Solution.
(27.4 KiB) Downloaded 11 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Post Reply