VS1000D SPIFLASH + USB + GPIO OGG/WAV PLAYER

Writing software that controls the system and peripherals such as displays, SD cards, Buttons, LEDs, Serial Ports etc.
Post Reply
EttaWest
User
Posts: 1
Joined: Mon 2016-11-07 22:50

VS1000D SPIFLASH + USB + GPIO OGG/WAV PLAYER

Post by EttaWest » Mon 2016-11-07 23:39

Hello,

I have built the hardware for an audio player.
Schematic:
ImagePCB Design:
Image


Desired Functionality:
USB, SPI Flash, GPIO [0:12], plays OGG & WAV format files
GPIO0: Vol-
GPIO1:VOL+
GPIO2: Prev
GPIO3: Next
GPIO4: Feature
GPIO5: unsued
GPIO6: used for USB boot mode
GPIO7: Held high for 3.3V logic set
GPIO[8-11]: Triggers

The image file that includes the SD card player is too big to copy to the "NO Flash" disk that shows upon first boot. I have tried to remove the SD Card reader/player but the program wouldn't compile. I need the SPIflash.c + GPIO + wav extended utility in one image. Any help would be appreciated. Thank you.

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

Re: VS1000D SPIFLASH + USB + GPIO OGG/WAV PLAYER

Post by pasi » Tue 2016-11-08 15:35

You have RX and TX and GND accessible in the connector, so you could program the firmware through UART using VSIDE.

The USB mass storage driver/program for SPI FLASH takes quite a lot of memory, so you need a separate player and thus cannot program the image (at least in one piece) through USB RAMDISK / VS1000_D.RUN directly. (You could use Panu's tools to program larger images though.)

You can remove the SD support by removing calls to CheckSd() functions, and then remove the sdplayer (and sdmass for newer release) from the combineimage parameters in the post-build step.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply