VS1010 SPI Nand Flash support

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
AskariSon
User
Posts: 17
Joined: Fri 2021-09-24 7:36

Re: VS1010 SPI Nand Flash support

Post by AskariSon »

Thank you Hannu for your quick response.
Ok. So the miniboard VS1010D comes with a NOR flash.
And if I want to have a larger flash memory then i have to swap
It with a NAND flash on my costom bord. Correct.

What if i want to move files and boot from the existing Nor flash. What is the procedure?

Thanx
AskariSon
User
Posts: 17
Joined: Fri 2021-09-24 7:36

Re: VS1010 SPI Nand Flash support

Post by AskariSon »

Thank you Hannu for your quick response.
Ok. So the miniboard VS1010D comes with a NOR flash.
And if I want to have a larger flash memory then i have to swap
It with a NAND flash on my costom bord. Correct.

What if i want to move files and boot from the existing Nor flash. What is the procedure?

Thanx
Hannu
VLSI Staff
Posts: 441
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: VS1010 SPI Nand Flash support

Post by Hannu »

You are correct. The difference is that NAND flash needs to be erased and flashed fully while NOR flash can be written file by file. So the trade of is between size and easy to use.

The procedure is to have VS1010 patch (boot.dlx) in your SD-card root. USB and UART cable connected, command reboot 4 through UART, create file system to the flash, copy the same boot.dlx patch to the root of the flash, create the sys directory so that when VS1010 boots next time the SPI flash becomes S:drive, install your programs to the sys directory.

And when you update your program, use runlevel 4, not 2 or 14
However. Developing your programs from SD card has one benefit. You can always take it from the board and put some reader and restart from clean system. When using SPI flash, you'll end up using flshtool.dlx and reading information how to unbrick.
AskariSon
User
Posts: 17
Joined: Fri 2021-09-24 7:36

Re: VS1010 SPI Nand Flash support

Post by AskariSon »

Affirmative sir.

Thank you again.
Post Reply