116 EZ-USB Development Kit User Guide, Doc. # 001-66390 Rev. *D
Q12: Please provide details about the environment setup.
A12: If you install into the default directory, <Installed_directory>\<Version> then you can
build and debug examples with the Keil uV2 project files provided. The project files have hard-coded
paths in them; installing to a different, non-default directory location breaks these project files. Also,
there are build.bat files for the projects in the Example folders. To run the build.bat files from the
command line, you need to set some paths and environment variables, which can be done by run-
ning the batch file <Installed_directory>\<Version>\Bin\setenv.bat before typing
‘build’. Again, if the kit software or Keil tools are installed to a non-default location, you need to mod-
ify the setenv.bat file. The setenv.bat also has directions on how to create a Start menu option to
open an MS-DOS window with the correct environment set up.
Q13: Which DB-9 do I plug my mon-51 cable into?
A13: Use SIO-1 by default. There are other versions of the monitor in
<Installed_directory>\<Version>\Target\\Monitor. They can be loaded using the Con-
trol Panel. There are different versions that load to Internal or external RAM memory as defined in
section “Debugging Using Keil Monitor Program” on page 97, and use SIO-0 or SIO-1, as indicated
by the name.