Dear participants,
Welcome to VS1010C Basic Training! We will be using this thread in www.vsdsdp-forum.com for handing out materials, assignments and notes for the training.
Please download a training version of VSIDE from the attached file below and extract it to your PC hard drive to a folder such as C:\VSIDE. Then click VSIDE.EXE to run the IDE.
If you have problems, you may need to install the latest official VSIDE version first. At time of writing, it can be found here: download/file.php?id=1421
Next, unless you already have a working terminal program on your PC, please download and install the TeraTerm terminal from: https://osdn.net/projects/ttssh2/downlo ... -4.90.exe/
Software engineers, first read these programming examples:
viewtopic.php?f=15&t=2129 - Basic programs such as ECHO, TYPE etc explained.
viewtopic.php?f=15&t=2131 - More example programs explained (vs1010b).
Hardware engineers, study the Developer Board and MiniDemo Board schematics:
http://www.vlsi.fi/en/support/evaluatio ... board.html
Download files:
VS1010C Basic Training, 19-Sep-2017
VS1010C Basic Training, 19-Sep-2017
- Attachments
-
- TrainingMaterial.pdf
- (2.79 MiB) Downloaded 1935 times
-
- vside.zip
- A version of VSIDE for VS1010C Training
- (16.15 MiB) Downloaded 358 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
VS1010C X and Y Memory Maps
Here is the X data memory map for the VS1010C. Each horizontal stripe is 2048 words.
XRAM starts from address 0 and ends at address 0x3fff. XROM starts from address 0x8000.
User space is between the stack and MP3 decoder static data, addresses 0x1000..0x2436. Here is the Y data memory map for the VS1010C. Each horizontal stripe is 2048 words.
YRAM starts from address 0 and ends at address 0x3fff. YROM starts from address 0x8000.
User space is between the stack and MP3 decoder static data, addresses 0x1000..0x212C.
XRAM starts from address 0 and ends at address 0x3fff. XROM starts from address 0x8000.
User space is between the stack and MP3 decoder static data, addresses 0x1000..0x2436. Here is the Y data memory map for the VS1010C. Each horizontal stripe is 2048 words.
YRAM starts from address 0 and ends at address 0x3fff. YROM starts from address 0x8000.
User space is between the stack and MP3 decoder static data, addresses 0x1000..0x212C.
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
VS1010C ROM source codes
Here's the OS portions of VS1010C ROM code for your reference. If you run into problems figuring out what the 1010 is doing, please use this source code for reference.
You can also cut and paste code snippets from here to your own programs if you need to do something quite similar, but not 100% similar, than what the ROM code does.
You can also cut and paste code snippets from here to your own programs if you need to do something quite similar, but not 100% similar, than what the ROM code does.
- Attachments
-
- VS1010Public.zip
- (171.96 KiB) Downloaded 357 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
Re: VS1010C Basic Training, 19-Sep-2017
SD Card contents. Please extract the contents to your SD card. This SD card contents can be used with the MiniDemo board and also with the Developer board.
- Attachments
-
- sdcard.zip
- (322.35 KiB) Downloaded 311 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
Patch v7
Here is the source code of patch v7 as VSIDE solution. Please see the patch source code to find out which problems this patch fixes.
[Edit] Bug found in the code. In function main(), the line that deactivates power button auto-reset, is wrong:and it should be
[Edit] Bug found in the code. In function main(), the line that deactivates power button auto-reset, is wrong:
Code: Select all
PERIP(ANA_CF1) | ANA_CF1_BTNDIS; //Disable power button reset [CODE HAS BUG]
Code: Select all
PERIP(ANA_CF1) |= ANA_CF1_BTNDIS; //Disable power button reset [CODE IS OK]
- Attachments
-
- arch-Patch10C-2017-09-19-12-48-v7.zip
- (14.07 KiB) Downloaded 255 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
VS1010C Boot Mode Pins
viewtopic.php?f=15&t=2171 for more details.
Note) USB Audio requires patch code. See the training material at Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
Patch v10
Patch v10, copy Patch10C.dlx to boot.dlx in SD card root or SPI flash root.
V10 has code to enter USB SPI flash write mode directly when XCS0 button in the minidemo board is pressed during boot.
Instructions on how to write the patch to SPI FLASH.
Note: For SD card there should be ne problems, copy any files in whatever order you like to the SD card.
For writing the patch to a new SPI flash, use this sequence to avoid memory corruption:
1) Connect MiniDemo board to PC. Connect both the UART cable and the USB cable.
2) give 'reboot 4' command from the UART command line. Flash will show up on the PC.
3) With Windows PC, format the flash to FAT and copy Patch10C.dlx to the flash.
4) rename Patch10C.dlx to boot.dlx in the SPI flash.
5) create a new folder SYS in the SPI flash root.
6) reboot the board with the button pressed (press button and short the reset jumper momentarily)
7) board will come up in the PC as SPI flash, UART screen will show "Patch v10" (see below)
For software development, use the SD card as the System Disk instead of the SPI flash. This is because the SD card can be reformatted easily with a SD card reader in case of software error that dead-locks the board. When your software development is complete, copy the finished software to the SPI flash.
V10 has code to enter USB SPI flash write mode directly when XCS0 button in the minidemo board is pressed during boot.
Instructions on how to write the patch to SPI FLASH.
Note: For SD card there should be ne problems, copy any files in whatever order you like to the SD card.
For writing the patch to a new SPI flash, use this sequence to avoid memory corruption:
1) Connect MiniDemo board to PC. Connect both the UART cable and the USB cable.
2) give 'reboot 4' command from the UART command line. Flash will show up on the PC.
3) With Windows PC, format the flash to FAT and copy Patch10C.dlx to the flash.
4) rename Patch10C.dlx to boot.dlx in the SPI flash.
5) create a new folder SYS in the SPI flash root.
6) reboot the board with the button pressed (press button and short the reset jumper momentarily)
7) board will come up in the PC as SPI flash, UART screen will show "Patch v10" (see below)
8) SPI flash can now be used safely. UART cable is not needed any more.VS1010C VSOS 4.02
Files:6. Buffers:3.
Runlevel 15
SPIF:ef15, 4096K
SD:No ID.Patch v10
Relocked (3007)
For software development, use the SD card as the System Disk instead of the SPI flash. This is because the SD card can be reformatted easily with a SD card reader in case of software error that dead-locks the board. When your software development is complete, copy the finished software to the SPI flash.
- Attachments
-
- arch-Patch10C-2017-10-03-13-36-PatchV10.zip
- VS1010C patch v10
- (12.99 KiB) Downloaded 252 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy
Panu-Kristian Poiksalo, VLSI Solution Oy
Re: VS1010C Basic Training, 19-Sep-2017
Hello
Here are the design files for VS1010C MiniDemo board.
---
Sami
Here are the design files for VS1010C MiniDemo board.
---
Sami
- Attachments
-
- VS1010MiniDemo11-all.zip
- (204.4 KiB) Downloaded 312 times