Search found 486 matches

by Hannu
Wed 2023-09-20 10:09
Forum: VS1010 Forum
Topic: MP3 Sorting in VS1010D
Replies: 4
Views: 84

Re: MP3 Sorting in VS1010D

Thanks for the reminder. There was the needed sorting feature which I didn't find. At least it is sorting and it is fast. The project can be found from: http://www.vsdsp-forum.com/phpbb/viewtopic.php?t=3042 I'll take a look if I can do something evil with the indexing code and write some file lister...
by Hannu
Wed 2023-09-20 9:29
Forum: VSIDE
Topic: Program a Plugin for VS1053
Replies: 6
Views: 70

Re: Program a Plugin for VS1053

I'm not an VS1053 expert, Pasi is, but I read your code. How big the BLOCKSIZE is? You are reserving LineInBuf and auxBuffer from stack. Maybe declaring it in global scope or adding static qualifier to it helps. Chances are that you are going out of stack space. And as usual try to bisect the proble...
by Hannu
Mon 2023-09-18 7:37
Forum: Microcontroller Software
Topic: VS1063 mp3 decode from ethernet (or just with example "Hellomp3" array)
Replies: 8
Views: 101

Re: VS1063 mp3 decode from ethernet (or just with example "Hellomp3" array)

One more place where things can go wrong is the encapsulation of the MP3 stream.

What profile you are using on VLC and are you removing the outer layers of networking layers when receiving the packets?
by Hannu
Fri 2023-09-15 9:30
Forum: VS1010 Forum
Topic: MP3 Sorting in VS1010D
Replies: 4
Views: 84

Re: MP3 Sorting in VS1010D

Hi, As you probably know, by default VS1010 sorts 30 songs with two first letters. That isn't going to work in this case. Treeplayer does excellent job indexing huge amount of files in few seconds. However I think it doesn't sort. If I understood correctly, your content is quite static. One option w...
by Hannu
Fri 2023-09-01 12:49
Forum: VS1010 Forum
Topic: Disabling SD card VS1010D
Replies: 13
Views: 355

Re: Disabling SD card VS1010D

I took my time and wrote something which should help you.

viewtopic.php?t=3058
by Hannu
Fri 2023-09-01 12:45
Forum: VS1010 Forum
Topic: Spliiting SPI flash to firmware and user area
Replies: 0
Views: 41

Spliiting SPI flash to firmware and user area

Dear VS1010 users, I have written a driver which splits SPI flash to two drives. One for firmware and other which can be published through USB. It should work but it is only lightly tested. Read the documentation and report bugs if you found them. Below is how I got it working. I used Linux, but I b...
by Hannu
Thu 2023-08-31 13:43
Forum: VS1010 Forum
Topic: Disabling SD card VS1010D
Replies: 13
Views: 355

Re: Disabling SD card VS1010D

Actually the trick is same which hides the first 64 or 128 sectors from the beginning of the flash for SPI boot. and it is implemented with boot.dlx infrastructure. Every time the system is booted to runlevel 4, the user disk (A:) is published through USB. The trick to access firmware is to reboot s...
by Hannu
Wed 2023-08-30 14:37
Forum: VS1010 Forum
Topic: Disabling SD card VS1010D
Replies: 13
Views: 355

Re: Disabling SD card VS1010D

Hi, Did you tried settings-> scan to find the VS1010? I took a look at the code I have. Generic automation would take quite some time. So I can make you a flash image which is easy to flash with flshtool or in production with vs3emu What size of flash you are going to use? How do you want to split i...
by Hannu
Tue 2023-08-29 15:47
Forum: VS1010 Forum
Topic: Disabling SD card VS1010D
Replies: 13
Views: 355

Re: Disabling SD card VS1010D

DLX: Dynamically Loaded eXecutable :) So I was referring DLX files which can be loaded with LoadLibrary() or executed with RunProgram() The static libs are part of the program. Some functions are called from ROM like printf(). Indeed there are techniques to hide a part of flash. I haven't written it...
by Hannu
Tue 2023-08-29 8:57
Forum: VS1010 Forum
Topic: Disabling SD card VS1010D
Replies: 13
Views: 355

Re: Disabling SD card VS1010D

It is possible create such design. In SPI image there are two important functions and the execution times are very different. main() is executed very early in the boot and you don't have VSOS. If you get stuck there, only way out is reset and XCS0 pulled low. Another could be VS3emu. Second is PostB...