The post-build process tries to perform the "copy spiall.spi eeprom.img" command. Maybe there is something wrong with file permissions and you need to delete the previous eeprom.img first. You can open the command prompt and in the VS1000 Audio Module solution directory try:
copy spiall.spi eeprom.img
Maybe the error message will tell us more details.
VS1000 Audio Module Step-by-Step
Re: VS1000 Audio Module Step-by-Step
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1000 Audio Module Step-by-Step
If i delete eeprom.img it still gives same error.
If i manually type copy spiall.spi eeprom.img it does work, and there is the new file.
I was able to program the Chip and when it rebooted it started saying Left, Right" over and over again.
which is a T00.ogg file on the SPI part.
So, why is it doing that I thought it was supposed to take command to start playing.
If i manually type copy spiall.spi eeprom.img it does work, and there is the new file.
I was able to program the Chip and when it rebooted it started saying Left, Right" over and over again.
which is a T00.ogg file on the SPI part.
So, why is it doing that I thought it was supposed to take command to start playing.
Re: VS1000 Audio Module Step-by-Step
I just tried the VS1000UartAudioModule example. That one does not have the issue with the eeprom.img.
If I then close the solution and open the default VS1000AudioModule-072-VSIDE.zip solution it does, so something there on your guys end is messed up.
If I then close the solution and open the default VS1000AudioModule-072-VSIDE.zip solution it does, so something there on your guys end is messed up.
Re: VS1000 Audio Module Step-by-Step
The UART-controlled version by starts playing files on powerup by default (continuous play mode). This way the customer can just connect ground, supply voltage and headphones or amplifier to hear the module perform without needing to command it from the UART. The one-character commands of the continuous play mode can be used to change volume, jump to next/previous song, ask for decode position, pause/play, etc.seulater wrote:I was able to program the Chip and when it rebooted it started saying Left, Right" over and over again.
which is a T00.ogg file on the SPI part.
So, why is it doing that I thought it was supposed to take command to start playing.
With the START_IN_FILE_MODE define in system.h the firmware can be configured to power up in the filemode, where the module waits for commands.
It is also possible to switch between filemode and continuous play mode during the operation with the 'f' and 'c' one-character commands during playback of a file and return to continuous play mode with with "c"+newline while the filemode is waiting for a command.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1000 Audio Module Step-by-Step
Hi, is it possible to have GIO pins for "volume-up" and "volume-down" when in GPIO mode ?
Re: VS1000 Audio Module Step-by-Step
The released source code does not have the volume controls, but you could easily use the default key controls instead using the KeyScan() routine in gpioctrl.c . See the attached code.
- Attachments
-
- gpioctrl.c
- possibility for default firmware keys, including vol+ and vol-
- (6.85 KiB) Downloaded 831 times
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1000 Audio Module Step-by-Step
Hi,
I've used imggen052.exe to create a personal CONTENT.RAW for VSMD001 but in settings I set wrongly the size of the spi flash to 16mb instead of 2mb and flash it through µSD card (with SDUPDATE.PRG). I did not notice my wrong till I saw the module not playing songs !!!
I tried several times to reflash it with both FIRMWARE.RAW (VS1000AudioModule) and CONTENT.RAW (this times with size of 2MB) through µSD card without any success !!!
Can anyone help me to repair this module ?
I've used imggen052.exe to create a personal CONTENT.RAW for VSMD001 but in settings I set wrongly the size of the spi flash to 16mb instead of 2mb and flash it through µSD card (with SDUPDATE.PRG). I did not notice my wrong till I saw the module not playing songs !!!
I tried several times to reflash it with both FIRMWARE.RAW (VS1000AudioModule) and CONTENT.RAW (this times with size of 2MB) through µSD card without any success !!!
Can anyone help me to repair this module ?
Re: VS1000 Audio Module Step-by-Step
Hi,
It sounds like the content file overwrote the firmware at the beginning of the SPI FLASH.
You need to reprogram the firmware through the UART. (The programming using uSD card is not a ROM-firmware feature. It is part of the VS1000 Audio Module firmware that is preprogrammed into the module.)
You can use either VSIDE or the pcflash.exe ( http://www.vlsi.fi/en/support/software/vs1000tools.html ).
Note that the UART pins are logic-level and not RS232 level.
It sounds like the content file overwrote the firmware at the beginning of the SPI FLASH.
You need to reprogram the firmware through the UART. (The programming using uSD card is not a ROM-firmware feature. It is part of the VS1000 Audio Module firmware that is preprogrammed into the module.)
You can use either VSIDE or the pcflash.exe ( http://www.vlsi.fi/en/support/software/vs1000tools.html ).
Note that the UART pins are logic-level and not RS232 level.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook
Re: VS1000 Audio Module Step-by-Step
Hello Pasipasi wrote:Hi,
It sounds like the content file overwrote the firmware at the beginning of the SPI FLASH.
You need to reprogram the firmware through the UART. (The programming using uSD card is not a ROM-firmware feature. It is part of the VS1000 Audio Module firmware that is preprogrammed into the module.)
You can use either VSIDE or the pcflash.exe ( http://www.vlsi.fi/en/support/software/vs1000tools.html ).
Note that the UART pins are logic-level and not RS232 level.
Yes this is what happened, I overwrote the whole SPI FLASH including the firmware. The module cannot boot.
I used PCFLASH with a USB to TTL conveter (CP2102 module) to write the firwmare (spiall.spi).
Then I used µSD card to write CONTENT.RAW.
Now it is functionning properly. (I thought the module is dead)
Thanks Pasi for your advices.
Re: VS1000 Audio Module Step-by-Step
Hello,
I'm using VSMD001 v0.72 in file mode.
I have 3 questions :
1) Is there any pin signal sent by the module after a sound file is played (other than "done\n" message).
2) After playing a sound file from a µsd card, is it possible to play a sound file from spi flash and vice versa? bcs it seems (and from docs) that, when µSD card is inserted, playing from SPI FLASH is inhibited.
Is there any way to get files played from both memories ?
3) What is the right way to power on/off the device through software ? because I tried "OFF\n" command without any success.
Also I did not succeed to power ON/OFF the device through PB pin only a reset is guaranteed after more than 4s.
What I want is :
1) Initially the device is powered off.
2) When needed the module is powered on then a sound file is played either from SPI FLASH or µSD Card
3) After playing, an end of sound file palying pin signal is sent then the device is powered OFF.
NB : 4 wires are connected to the module from a microcontroller : VCC, GND, TX, RX (and of course Headphone - GBUF, LHP and RHP-)
B.Rabah
I'm using VSMD001 v0.72 in file mode.
I have 3 questions :
1) Is there any pin signal sent by the module after a sound file is played (other than "done\n" message).
2) After playing a sound file from a µsd card, is it possible to play a sound file from spi flash and vice versa? bcs it seems (and from docs) that, when µSD card is inserted, playing from SPI FLASH is inhibited.
Is there any way to get files played from both memories ?
3) What is the right way to power on/off the device through software ? because I tried "OFF\n" command without any success.
Also I did not succeed to power ON/OFF the device through PB pin only a reset is guaranteed after more than 4s.
What I want is :
1) Initially the device is powered off.
2) When needed the module is powered on then a sound file is played either from SPI FLASH or µSD Card
3) After playing, an end of sound file palying pin signal is sent then the device is powered OFF.
NB : 4 wires are connected to the module from a microcontroller : VCC, GND, TX, RX (and of course Headphone - GBUF, LHP and RHP-)
B.Rabah