Upgrade VSOS from 3.50 to 3.55 question

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
Kitano8
User
Posts: 6
Joined: Wed 2016-02-10 16:02

Upgrade VSOS from 3.50 to 3.55 question

Post by Kitano8 » Thu 2018-08-09 15:02

Hello.
I use vs1025gf (1419) on a PCB of its own design, using an internal flash memory.
The circuit is close to your BOB circuit diagram, the buttons are connected to D0-D3.
When upgrading VSOS from version 3.50 to 3.55, the following feature emerged. I use the playfiles method this way: RUN PLAYFILES D: *. When switching tracks (S1/S2 on dev board), the current track is played from the beginning, that is, the response of the OS to pressing the button is there, but there is no actual switching. I recently began to deal with your wonderful chip, maybe I did something wrong?
Image

update. I checked the intermediate versions of the OS. in version 3.53, switching works, in 3.54 is no longer.

User avatar
Panu
VLSI Staff
Posts: 2572
Joined: Tue 2010-06-22 13:43

Re: Upgrade VSOS from 3.50 to 3.55 question

Post by Panu » Fri 2018-08-10 11:04

Hmmm, strange. :geek:

Did you update just the kernel from 3.53 to 3.54 or have you also updated/changed the PLAYFILES.DL3 program and/or any other files in the SYS folder of the flash?

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Kitano8
User
Posts: 6
Joined: Wed 2016-02-10 16:02

Re: Upgrade VSOS from 3.50 to 3.55 question

Post by Kitano8 » Sun 2018-08-12 18:59

Hello Panu, thank you for your participation and sorry for the delay. I use files from the "small root" folder of version 3.54 and I added the VolHandler program to adjust the volume level. Also, thanks to Henrik, a new aac decoder is used. I looked at the source codes of the PLAYFILES.dl3 and in the latest versions there is no difference. In the description of version 3.54 the update of the function "fopen" is indicated, could not it affect?

Kitano8
User
Posts: 6
Joined: Wed 2016-02-10 16:02

Re: Upgrade VSOS from 3.50 to 3.55 question

Post by Kitano8 » Thu 2018-08-16 14:23

Looking through the forum, I found how to use the DIR program to find out the number and see the list of files on the disk. I have successfully used this method, and below I bring the output to the console. Thus, the list of files looks correct, but there is no switching to the next or previous track.

Code: Select all

Hello.
VSOS 3.55 build Aug 16 2018 13:21:09
VLSI Solution Oy 2012-2018 - www.vlsi.fi

Starting the kernel..
Starting Devices...
Internal Flash

Installed system devices:
S: SPI Flash c213, handled by FAT.
Load drivers, config 0...
Driver: SDSDR... D: SD/SD Card

Driver: AUODAC...
Driver: AUIADC...
Driver: RUN... YBITCLR FC00,DFC00,D Y:0xfc00: 0xa000-13 -> 0x8000
Driver: RUN... YBITCLR FC00,CFC00,C Y:0xfc00: 0x8000-12 -> 0x8000
Driver: RUN... AUOUTPUT -s8192
Driver: run... SetClock +v -l100 92
Driver: UARTIN...
Driver: VolHandler...
Driver: LCD177HR... LCD toki

Driver: RUN... dir d:
-    9. BASTAI~1.MP3    7736826 2018-07-02 15:51:32 Basta i gagarina.mp3
-    7. FOSTER~1.MP3    8457480 2017-05-30 16:35:06 Foster The People - Pumped Up Kicks.mp3
-    2. GARYCL~1.MP3    7751052 2018-07-02 15:51:54 Gary Clark Jr. - Come Together.mp3
-   12. GRIBI-~1.MP3    8204456 2017-08-29 23:02:52 Gribi - Led.mp3
-    1. HARALD~1.MP3   10716888 2017-11-14 19:38:40 Harald Kindseth - Betty Boop.mp3
-    5. HIMIYA.MP3      5311651 2015-09-25 11:01:14 Himiya.mp3
-    3. KADEBO~1.MP3   16927391 2018-07-02 15:51:50 Kadebostany - Early Morning Dreams (Kled Mone Remix).mp3
-    6. MODERN~1.MP3    7800192 2012-10-03 23:14:22 Modern Talking - You're My Heart, You're My Soul.mp3
-   13. OBEDVE~1.MP3    5080573 2017-07-07 16:18:46 Obe dve - Zabavi.mp3
-    8. PHILLI~1.MP3    6411221 2017-08-29 23:00:56 Phillip Phillips - Beggin (cover by ShoDriver: RUN... cking Blue).mp3
-   11. STAN.MP3        5652106 2018-07-02 15:50:52 Stan.mp3
D    4. SYSTEM~1              0 2018-07-03 22:20:48 System Volume Information
-   10. WRITIN~1.FLA   28274990 2015-11-18 19:34:40 Writing's On The Wall.flac
PLAYFILES D:*PlayFiles D:*
Open file 1...
Playing 'Harald Kindseth - Betty Boop.mp3' from device SD/SD Card...
Open file 2...
Playing 'Harald Kindseth - Betty Boop.mp3' from device SD/SD Card...
Open file 1...
Playing 'Harald Kindseth - Betty Boop.mp3' from device SD/SD Card...
Open file 1...
Playing 'Harald Kindseth - Betty Boop.mp3' from device SD/SD Card...
Open file 2...
Playing 'Harald Kindseth - Betty Boop.mp3' from device SD/SD Card...

Post Reply