PKP
VS1000 P
ROGRAMMER
’
S
G
UIDE
VSMPG
Who needs to read this document
This document describes the programming interface, register map and and integrated
peripherals of the VS1000. It’s primarily meant for those that wish to add to the func-
tionality of the ROM code in VS1000 or design completely new software for the chip.
If you use the USB...
The example “Changing the USB descriptors” should be read by all vendors that have
USB functionality in their end-products. Although the ROM software is functional as is,
all such vendors should change the USB descriptors to identify the vendor and product
ID’s correctly.
Additionally, all vendors that ship devices conforming to the USB Mass Storage Class
specification should change the USB descriptors and create a unique serial number for
each device. Instructions on how to do this are given in the example.
VS1000B/C
VS1000B is an updated version of VS1000A. VS1000B has many small internal fixes
and some additions that remove some of the restrictions in VS1000A. It is mainly com-
patible with VS1000A, but code needs to be recompiled for VS1000B. This guide was
originally written for VS1000A, so it may not show all of the extra features in VS1000B.
VS1000C is another production test version of VS1000B with identical ROM.
VS1000D
VS1000D includes bug fixes, but is fully backwards-compatible with VS1000C. All soft-
ware works without recompilation, so VS1000D can be used as a direct replacement.
The patches required for VS1000C are no longer necessary, which can save a bit of
code space.
The most important VS1000D changes:
•
Code can be loaded and executed when in USB RAM disk mode without
detaching the device.
•
Default 3 V IO voltage setting reduced from 3.6 V to 3.3 V (control value 31 to 27).
•
SCSI supports the full 32-bit block address (2048GB).
•
BusyWait1() now waits 1 ms at 12 MHz clock.
•
Time to enter low-power pause mode doubled.
•
Ignores subdirectories in FAT12 disks.
•
RAMDISK label changed to VS1000D_RAM to make it possible to detect VS1000D.
•
USB descriptors, including device ID is the same as with VS1000B.
•
Fixed-width Latin-1 font (7x8 pixels) and 8-bit bit-reverse table added to YROM.
All new code should be written for VS1000D.
Rev. 0.20
2011-10-04
Page