Page 1 of 1

Music Player with USB File Transfer support for VS1010D

Posted: Fri 2019-07-05 14:32
by Aleksi
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

Re: Music Player with USB File Transfer support for VS1010D

Posted: Thu 2019-08-22 12:09
by Aleksi
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

Re: Music Player with USB File Transfer support for VS1010D

Posted: Wed 2020-03-04 14:50
by Rameez
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!

Re: Music Player with USB File Transfer support for VS1010D

Posted: Thu 2020-03-05 8:36
by Hannu
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.

Re: Music Player with USB File Transfer support for VS1010D

Posted: Sat 2020-03-21 15:42
by Rameez
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.