VSMD001 - basic problem

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
Post Reply
ZmagoJ
User
Posts: 5
Joined: Tue 2019-08-06 10:59

VSMD001 - basic problem

Post by ZmagoJ » Tue 2019-08-06 11:14

Hello,

We are trying to implement your audio module VSMD001 to our product, but experience difficulties:

Connection through USB works fine and we were able to upload audio filles additionally to the ones already in FLASH.
Connecting UART (no USB) and 5V power supply (3,3V RX/TX), the module sends: "v0.72-uart Macronix 2MB" and seems to be working
The default firmware is according to manual supposed to start with autoplay, but nothing happens.
After pulling reset pin down, it again sends the firmware version as above.
Sending commands over UART doesn't seem to make any difference.

On one singular attempt the module started to send UART messages for playing, but cud not be repeated again. We also tried to use single LiPo for a more stable power, but with no success.

Can you please guide us to find a solution. We need a demo design ASAP.
Thanks.

User avatar
pasi
VLSI Staff
Posts: 1575
Joined: Thu 2010-07-15 16:04

Re: VSMD001 - basic problem

Post by pasi » Tue 2019-08-06 13:49

Hi,
I suggest you try to reformat the disk with PC, then copy files. (The original disk content is not strictly a valid FAT12 filesystem, so PC and the module do not agree on how to access it.)

Have you tested playing from a uSD card?

Also see: viewtopic.php?f=8&t=461
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

ZmagoJ
User
Posts: 5
Joined: Tue 2019-08-06 10:59

Re: VSMD001 - basic problem

Post by ZmagoJ » Sun 2019-08-11 12:04

Hello,

In the meantime we ordered another sample that works OK from the box, plays default soundtracks and responds to commands.
After connecting to USB and downloading additional track it doesn't and stops responding. It only sends its welcome text at bootup.

We also tried with FAT format (the default one proposed in win10), but with no effect.
Can you please advise how to continue.

We will also try with SD card, but it is not intended to be used in a product.

ZmagoJ
User
Posts: 5
Joined: Tue 2019-08-06 10:59

Re: VSMD001 - basic problem

Post by ZmagoJ » Sun 2019-08-11 20:33

hello again

We tried some additional things.
1. What is the right way to format the drive to FAT12?
We formatted using windows (FAT12) - stil no change
Tried to format flash using your tool "VS1000B formatter generator" - VS1000_B.RUN file , by copying the file to flash and pulling out USB comm wires - it seems it does nothing as we also tried to change storage volume.
2.tried playing from SD card with no success
3. tried to upload play file through SD card (SDUPDATE.PRG and CONTENT.RAW file)

It is the new board we ordered after failing with the first one. out of the box it worked, and responded to UART commands, but after uploading file to flash through USB it is the same as first one (WAV file).
It sends the initial info at boot, but doesn't respond to anything afterwards. USB storage works fine if we plug it in.

Please advice, we are running out of ideas.

ZmagoJ
User
Posts: 5
Joined: Tue 2019-08-06 10:59

Re: VSMD001 - basic problem

Post by ZmagoJ » Fri 2019-08-16 0:03

Any Idea yet?

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2691
Joined: Tue 2010-06-22 13:43

Re: VSMD001 - basic problem

Post by Panu » Fri 2019-08-16 12:27

Hi!

Oh, hmm, Pasi, who has written the VS1000 software, is on holiday for a couple of weeks.. not sure if anything meaningful can be achieved before he comes back :(

In the mean time, you can try to best build an idea of how the unit behaves - is is possible for you to revert the unit into a working state by reprogramming the flash with the VLSI original firmware? And which firmware gives the best results? And does it always fail the same way?

Also, have you tried to use an older OS such as Win7 or even earlier windows? Maybe there is a difference? If there is a difference, it would be interesting to know.. maybe it has something to do with subdirectories that Win10 creates to hold its indexer guid and other info on the disk in a hidden subdirectory.

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

ZmagoJ
User
Posts: 5
Joined: Tue 2019-08-06 10:59

Re: VSMD001 - basic problem

Post by ZmagoJ » Mon 2019-08-19 19:50

Hello,

After reflasing firmware it works again.
It seems that win10 really does something your code can not digest.
Havent tried Win7.

Post Reply