SPI flash not fully recognized

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
Post Reply
User avatar
vegasys
User
Posts: 8
Joined: Mon 2015-06-29 19:10
Location: Buenos Aires, Argentina

SPI flash not fully recognized

Post by vegasys » Fri 2019-11-15 21:43

Dear VLSI people,
This is my first time with the VS1000 audio module.
I just bought seven of them with 16 MB of flash, but on the PC, via USB, it only recognizes 2 MB.
The modules have firmware v0.72-uart, and the PC is Windows 7.
A partition manager recognizes all 16 MB on the same machine.
How can I do to load content beyond 2 MB?

Best regards,
Juan
Before you begin, you didn't know either :oops:

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

Re: SPI flash not fully recognized

Post by pasi » Mon 2019-11-18 12:39

Hi Juan,
The same FAT image that includes the example audio files is programmed to both 2MB and 16MB module. The filesystem size is thus a little less than 2MB.

However, the firmware detects the size and reports the correct disk size in USB mass storage mode, like you noticed from the partition manager.

You get the full size by formatting the disk on the PC. (And formatting is a good idea anyway.)
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

User avatar
vegasys
User
Posts: 8
Joined: Mon 2015-06-29 19:10
Location: Buenos Aires, Argentina

Re: SPI flash not fully recognized

Post by vegasys » Mon 2019-11-18 12:57

Hi pasi, thanks for your quick response.
I have read that the VS1000 does not have internal memory, but uses either the SD card or the SPI flash for program and content. So what happens when formatting the SPI flash? Should I also reprogram the firmware? If the firmware controls the UART and formatted the SPI, who will then control the UART?
I could not find answers to this.
I regret these basic questions, but as I said, I just put my hand on one of the modules :oops:

Thanks again.
Before you begin, you didn't know either :oops:

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

Re: SPI flash not fully recognized

Post by pasi » Mon 2019-11-18 14:39

VS1000 can only boot from SPI FLASH. (SD card is only used for audio.) The boot image (actually 4 different programs) is at the start of the SPI FLASH.

The USB mass storage disk starts only after this reserved area, so when you format through USB, it won't touch the reserved area.

(You can program the content and/or firmware though UART with modflash.exe.)
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

User avatar
vegasys
User
Posts: 8
Joined: Mon 2015-06-29 19:10
Location: Buenos Aires, Argentina

Re: SPI flash not fully recognized

Post by vegasys » Mon 2019-11-18 15:50

Ahhh, OK, I finally understand.
I will start with the tests.

Thank you pasi.
Kind regards,
Juan
Before you begin, you didn't know either :oops:

Post Reply