Music Player with USB File Transfer support for VS1010D

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Aleksi
User
Posts: 7
Joined: Wed 2019-06-12 10:03

Music Player with USB File Transfer support for VS1010D

Post by Aleksi » Fri 2019-07-05 14:32

Greetings!

Here is a music player program ‘TreePlayer’ and some libraries for VS1010D, which make it possible to make an MP3 player that supports transferring music files from a PC to the player. The main purpose of this release is to allow file playback from an SD card, and also the transfer of music files from the PC to the SD card. Player itself it much like one presented in VS1010 Handbook, more information about the book is provided here:

viewtopic.php?f=15&t=2392

This example uses somewhat modified versions of programs called UMS (program for running USB mass storage) and USBPROBE (driver that probes the USB bus). Because those are more or less modified you can ONLY use files provided in this thread. You can read more information about topic from following threads:

viewtopic.php?f=15&t=2309 (UMS)
viewtopic.php?f=15&t=2368 (USB driver)


I hope this is helpful for you. Feedback and questions are welcome!


Kind regards,

VLSI Solution's trainee
Aleksi
Attachments
binaries.zip
All necessary VS1010 VSOS executables
(10.14 KiB) Downloaded 111 times
music_player_with_file_transfer_support.pdf
Documentation
(161.64 KiB) Downloaded 161 times
arch-USBPROBE-2019-07-05-14-38-RC1.zip
USB flash driver, VSIDE Solution with source code
(53.03 KiB) Downloaded 106 times
arch-ums-2019-07-05-14-22-RC1.zip
USB File Transfer support, VSIDE Solution with source code
(24.3 KiB) Downloaded 106 times
arch-TreePlayer-2019-07-05-14-20-RC1.zip
Treeplayer, VSIDE Solution with source code
(33.07 KiB) Downloaded 108 times

Aleksi
User
Posts: 7
Joined: Wed 2019-06-12 10:03

Re: Music Player with USB File Transfer support for VS1010D

Post by Aleksi » Thu 2019-08-22 12:09

Hi!

It's time to release new version of 'TreePlayer' with some upgrades (main functionality is still the same):

1. State changes should work better now
2. USB driver for playing music from USB flash memories has been updated and should work with most usb sticks.

To use this player you need four .dlx files in your sys folder:
- TreePlayer.dlx
- ums.dlx
- USBHDD.dlx
- USBPROBE.dlx

Binaries to test the player are provided below as well as solution files for further development.

More information about USB driver can be found found here: viewtopic.php?f=15&t=2309


I hope this is helpful for you. Feedback and questions are welcome!


Kind regards,

VLSI Solution's trainee
Aleksi
Attachments
arch-USBPROBE-2019-08-22-11-35-RC2.zip
USB flash driver, VSIDE Solution with source code (version 2)
(55.29 KiB) Downloaded 111 times
arch-ums-2019-07-05-14-22-RC1.zip
USB File Transfer support, VSIDE Solution with source code
(24.3 KiB) Downloaded 121 times
arch-TreePlayer-2019-08-22-12-58-RC2.zip
Treeplayer, VSIDE Solution with source code
(41.07 KiB) Downloaded 108 times
binaries.zip
All necessary VS1010 VSOS executables
(11.18 KiB) Downloaded 107 times

Rameez
User
Posts: 3
Joined: Wed 2020-03-04 10:56

Re: Music Player with USB File Transfer support for VS1010D

Post by Rameez » Wed 2020-03-04 14:50

Greetings!

I'm trying to build Treeplayer code provided by you but I'm unable to build it gives me the following error.

Code: Select all

1 file(s) copied.
copy loadable.ap3 "C:\Users\hp\Documents\solutions\MySolution\Emulation-Debug"\sys\TreePlayer.dlx /y

The system cannot find the path specified.
        0 file(s) copied.
C:\Program Files\VSIDE\bin\make.exe: *** [g/TreePlayer.coff] Error 1


Build failed!

Hannu
Senior User
Posts: 79
Joined: Mon 2016-05-30 11:54

Re: Music Player with USB File Transfer support for VS1010D

Post by Hannu » Thu 2020-03-05 8:36

Hello and welcome to the forum!

It looks like you are trying to install program to your project directory and the build process fails at program deployment.

The green play and printer button with tool tip "Target drive" next to build and clean buttons selects the target path.

First click clears the path and after that the program should build.
Then boot your VS1010 to USB mass media mode so that your computer finds it. Click the green play and select the the USB drive root.

Now when your VS1010 is detected as USB mass media, building the project should install the treeplayer to DRIVE:\sys\treeplayer.dlx .
After ejecting the media and rebooting VS1010 you should be able to execute the treeplayer.

Rameez
User
Posts: 3
Joined: Wed 2020-03-04 10:56

Re: Music Player with USB File Transfer support for VS1010D

Post by Rameez » Sat 2020-03-21 15:42

Hello,

I brought new vs1010d evaluation board when I'm trying to connect it to my system through USB to the serial cable provided by you the board is not getting detected by the system.

Post Reply