2019 Distributor Workshop materials

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2715
Joined: Tue 2010-06-22 13:43

2019 Distributor Workshop materials

Post by Panu » Tue 2019-09-10 9:41

This thread contains materials for the 2019 Distributor Workshop.
Attachments
hdmi_arc10-sch.pdf
Schematic of HDMI ARC input adapter for VS1010D developer board
(18.69 KiB) Downloaded 17 times
arch-DDC_small-2019-09-10-10-44-Workshop3.zip
DDC firmware for the HDMI ARC small board
(20.04 KiB) Downloaded 21 times
arch-CEC_small-2019-09-10-10-38-Workshop1.zip
CEC firmware for the HDMI ARC small board
(35.88 KiB) Downloaded 22 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

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

Re: 2019 Distributor Workshop materials

Post by Panu » Tue 2019-09-10 10:23

Copy these files to your VSIDE\LIBVS1010 folder:
Attachments
arcstruct.h
(368 Bytes) Downloaded 17 times
some_useful_stuff.h
(4.32 KiB) Downloaded 20 times
fifoy.h
(858 Bytes) Downloaded 19 times
rcrx2.h
(1.68 KiB) Downloaded 15 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

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

Setting another boot mode from RAMDISK boot mode

Post by Panu » Thu 2019-09-12 8:14

When you boot your VS1010C or VS1010D into RAMDISK mode (runlevel 1), here are files that you can copy to the RAMDISK (over USB) to change the current runlevel.

For example, if your board is set up, using pull-up and pull-down resistors, to boot in runlevel 1, you can drag and drop "RUNLEVEL4.RUN" file to the ramdisk to change to runlevel 4. Runlevel 4 is the SPI flash writer mode, and this allows you to format the external SPI flash and copy your firmware to the external SPI flash.

Later on, you can make a SYS folder on the SPI flash so that the SPI flash becomes the System disk. Then, if you add a BOOT.DLX file to the root of the SPI flash, the VS1010 will run the BOOT.DLX file before it considers any other runlevels. Make your BOOT.DLX select SPI flash writer runlevel (4) based on some GPIO key combination and only if that key combination is not present at boot time, only then run your user application. This way you won't end up with a bricked VS1010 board when you make a bricking error in your user application: you will be always able to reach the SPI flash reprogramming mode using your special keypress at boot time.
Attachments
set-ramdisk-runlevels.zip
A set of files to reboot the VS1010 from the ramdisk to another runlevel
(3.03 KiB) Downloaded 14 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Post Reply