Generic Setup for JTAG Emulators
Environment Variables
Make sure your PATH environment variable contains c:\CCStudio_v3.2\cc\bin (assuming c:\CCStudio_v3.2 is CCS installation folder), where CCS driver DLLs are located. Make sure c:\fadata\jevm\bin is also in the PATH. Make sure the following environment variables are set - JEVM_DIR=c:/fadata/jevm (or your JEVM installation folder) and TI_DIR=c:/CCStudio_v3.2 (or your CCS folder).
Board Data File
Use CCS Setup (Assuming CCStudio v3.2) to set up your board, specifying loader as the connection name and cpu0 as the CPU name. The connection name loader is important for JEVM loader when XDS560-class JTAG emulator is used.
Copy the board data file, generated by CCS Setup, located in c:/CCStudio_v3.2/cc/bin/BrdDat (assuming c:/CCStudio_v3.2 is the CCS installation folder), and usually named ccBrd0.dat, to c:/fadata/jevm/bin directory under the name dskXXXX.dat, overwriting the sample dskXXXX.dat there, where XXXX is one of 5510, 6416, 6455, 6711 or 6713. For example, if you have set up your DSK6416, you will copy the ccBrd0.dat file to c:/fadata/jevm/bin/dsk6416.dat.
JTAG Driver File
You can learn the pathname of the driver file that JEVM loader needs to operate from CCS Setup. In case of DSK6416 it is typically the tixds560c64x_11.dvr file located in c:/CCStudio_v3.2/drivers folder (where c:/CCStudio_v3.2 is CCS installation directory).
Batch Files
Modify the supplied .bat files with respect to the setup you have. The DSK6416 setup will have a jevm6416.bat looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6416.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c64x_11.dvr
-r -c0x01800000=0x00012070 -c0x01800008=0xffffffd3 -c0x01800010=0x22a28a22
-c0x01800014=0x22a28a22 -c0x01800018=0x47115000 -c0x0180001c=0x00000618
-c0x01800020=0x000a8529 -c0x01A80000=0x00002070 -c0x01A80008=0x22008800
-c0x01A80004=0x22008800 -q -i %JEVM_DIR%/out/jevm6416.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK6416 setup will have a jevm6416di.bat (supporting Java Debug Interface) looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6416.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c64x_11.dvr
-r -c0x01800000=0x00012070 -c0x01800008=0xffffffd3 -c0x01800010=0x22a28a22
-c0x01800014=0x22a28a22 -c0x01800018=0x47115000 -c0x0180001c=0x00000618
-c0x01800020=0x000a8529 -c0x01A80000=0x00002070 -c0x01A80008=0x22008800
-c0x01A80004=0x22008800
-q -i %JEVM_DIR%/out/jevm6416di.out %1 %2 %3 %4 %5 %6 %7 %8 %9
It can be seen that only the JEVM executable name is changed.
The DSK6455 setup will have a jevm6455.bat looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6455.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c64x_plus.dvr
-r -c0x02AC002C=0x00000003 -c0x70000080=0x00240120 -c0x70000084=0x00240120
-c0x70000088=0x00240122 -c0x7000008c=0x00240122 -c0x78000008=0x00D38822
-c0x7800000c=0x000007A2 -c0x78000010=0x3EDB4B91 -c0x78000014=0x00A2C722
-c0x780000e4=0x00000005 -c0x78000008=0x00538822
-q -i %JEVM_DIR%/out/jevm6455.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK6455 setup will have a jevm6455di.bat (supporting Java Debug Interface) looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6455.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c64x_plus.dvr
-r -c0x02AC002C=0x00000003 -c0x70000080=0x00240120 -c0x70000084=0x00240120
-c0x70000088=0x00240122 -c0x7000008c=0x00240122 -c0x78000008=0x00D38822
-c0x7800000c=0x000007A2 -c0x78000010=0x3EDB4B91 -c0x78000014=0x00A2C722
-c0x780000e4=0x00000005 -c0x78000008=0x00538822
-q -i %JEVM_DIR%/out/jevm6455di.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK6711 setup will have a jevm6711.bat looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6711.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c6x.dvr
-r -c0x01800000=0x00003300 -c0x01800008=0x00000030 -c0x01800010=0xFFFFFF23
-c0x01800014=0xFFFFFF23 -c0x01800018=0x57116000 -c0x0180001c=0x0000061A
-c0x01800020=0x00054529 -c0x01800004=0xFFFFFF23
-q -i %JEVM_DIR%/out/jevm6711.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK711 setup will have a jevm6711di.bat (supporting Java Debug Interface) looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6711.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c6x.dvr
-r -c0x01800000=0x00003300 -c0x01800008=0x00000030 -c0x01800010=0xFFFFFF23
-c0x01800014=0xFFFFFF23 -c0x01800018=0x57116000 -c0x0180001c=0x0000061A
-c0x01800020=0x00054529 -c0x01800004=0xFFFFFF23
-q -i %JEVM_DIR%/out/jevm6711di.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK6713 setup will have a jevm6713.bat looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6713.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c6x.dvr
-r -c0x01800000=0x00000078 -c0x01800008=0xffffbf33 -c0x018000004=0x02208802
-c0x01800010=0x22a28a22 -c0x01800014=0x22a28a22 -c0x01800018=0x47115000
-c0x0180001c=0x00000578 -c0x01800020=0x000a8529
-q -i %JEVM_DIR%/out/jevm6713.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK6713 setup will have a jevm6713di.bat (supporting Java Debug Interface) looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk6713.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c6x.dvr
-r -c0x01800000=0x00000078 -c0x01800008=0xffffbf33 -c0x018000004=0x02208802
-c0x01800010=0x22a28a22 -c0x01800014=0x22a28a22 -c0x01800018=0x47115000
-c0x0180001c=0x00000578 -c0x01800020=0x000a8529
-q -i %JEVM_DIR%/out/jevm6713di.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK5510 setup will have a jevm5510.bat looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk5510.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c55x.dvr
-r -c0x800:2=0x0221 -c0x801:2=0xffff -c0x803:2=0x3fff -c0x804:2=0x5fff
-c0x805:2=0x5fff -c0x806:2=0x3fff -c0x807:2=0x5fff -c0x808:2=0x5fff
-c0x809:2=0x1050 -c0x80a:2=0x0050 -c0x80b:2=0x0050 -c0x80c:2=0x1050
-c0x80d:2=0x0050 -c0x80e:2=0x0050 -c0x80f:2=0x2b11 -c0x810:2=0x0578
-c0x811:2=0x0fff -c0x813:2=0x0535 -c0x812:2=0x0000
-q -i %JEVM_DIR%/out/jevm5510.out %1 %2 %3 %4 %5 %6 %7 %8 %9
The DSK5510 setup will have a jevm5510di.bat (supporting Java Debug Interface) looking like this:
@JevmLoad.exe -f %JEVM_DIR%/bin/dsk5510.dat -ncpu0 -d %TI_DIR%/drivers/tixds560c55x.dvr
-r -c0x800:2=0x0221 -c0x801:2=0xffff -c0x803:2=0x3fff -c0x804:2=0x5fff
-c0x805:2=0x5fff -c0x806:2=0x3fff -c0x807:2=0x5fff -c0x808:2=0x5fff -c0x809:2=0x1050
-c0x80a:2=0x0050 -c0x80b:2=0x0050 -c0x80c:2=0x1050 -c0x80d:2=0x0050 -c0x80e:2=0x0050
-c0x80f:2=0x2b11 -c0x810:2=0x0578 -c0x811:2=0x0fff -c0x813:2=0x0535 -c0x812:2=0x0000
-q -i %JEVM_DIR%/out/jevm5510di.out %1 %2 %3 %4 %5 %6 %7 %8 %9


