PKP
VS1000 P
ROGRAMMER
’
S
G
UIDE
VSMPG
6
Software Tools
Here is a list of the software tools that are necessary to compile and run the examples
of this programming guide. A more complete documentation of the software tools can
be found in the “Tools Manual”, available from VLSI. These command line tools are
available for UNIX and Windows. In addition to these files we recommend using GNU
Make to automatize the compilation process, but you can also compile by typing the
command lines separately in a shell or “MS-DOS Prompt”, or with the help of a suitable
batch file.
Free VSIDE integrated development tool is available and contains example projects for
VS1000.
The various tools can be downloaded from VLSI Solution’s Web Pages
www.vlsi.fi
.
See under Support / Software.
6.1
vcc
The VLSI C Compiler. Creates a COFF object file from “C” language source file.
Example:
vcc -P130 -O -fsmall-code -I lib -o program.o program.c
6.2
vslink
The linker. Creates a binary program file from multiple COFF object files.
Example:
vslink -k -m mem_user -L lib -lc -o program.bin lib/c-spi.o lib/rom1000.o program.o
6.3
vs3emu
The ROM monitor interface. Loads and runs binary program files using RS-232 ca-
ble between PC and VS10xx. Also provides standard input/output and file system for
debugging C code.
Example:
vs3emu -chip vs1000 -s 115200 -l program.bin e.cmd
6.4
coff2spiboot
Creates bootable EEPROM image from a binary program file.
Rev. 0.20
2011-10-04
Page