This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/66AK2G02: Got "Access is denied" when building EDMA3 examples.

Part Number: 66AK2G02

Tool/software: TI-RTOS

All my TI packages are installed in default directories:
C:\ti\bios_6_46_01_38
C:\ti\ccsv6\ccs_base\c6000  [CCS  Version: 6.1.3.00034]
C:\ti\edma3_lld_2_12_02_26
C:\ti\pdk_k2g_1_0_4
C:\ti\xdctools_3_32_01_22_core


Build for my EVMK2G board.

Followed the steps in 2.4 in C:\ti\edma3_lld_2_12_02_26\packages\ti\sdo\edma3\drv\docs\EDMA3_Driver_User_Guide.doc
Changed of the variables in the C:\ti\edma3_lld_2_12_02_26\makerules\env.mk for
INTERNAL_SW_ROOT
EXTERNAL_SW_ROOT
UTILS_INSTALL_DIR

I ran the following steps on Command line:
set PATH=C:/ti/xdctools_3_32_01_22_core
set ROOTDIR=C:/ti/edma3_lld_2_12_02_26

gmake -f makefile_c66x libs FORMAT=ELF

  # But got "Access is denied" error when building examples using the following command. What is the cause? thanks.
gmake examples PLATFORM=tci66ak2g02-evm FORMAT=ELF

C:\ti\edma3_lld_2_12_02_26\packages>gmake examples PLATFORM=tci66ak2g02-evm FORM
AT=ELF
gmake -C C:/ti/edma3_lld_2_12_02_26/packages edma3_drv_tci66ak2g02-evm_674_examp
le PLATFORM=tci66ak2g02-evm TARGET=674&   gmake -C C:/ti/edma3_lld_2_12_02_26/pa
ckages edma3_drv_tci66ak2g02-evm_m3_example PLATFORM=tci66ak2g02-evm TARGET=m3&
  gmake -C C:/ti/edma3_lld_2_12_02_26/packages edma3_drv_tci66ak2g02-evm_a8_exam
ple PLATFORM=tci66ak2g02-evm TARGET=a8&   gmake -C C:/ti/edma3_lld_2_12_02_26/pa
ckages edma3_drv_tci66ak2g02-evm_64p_example PLATFORM=tci66ak2g02-evm TARGET=64p
&   gmake -C C:/ti/edma3_lld_2_12_02_26/packages edma3_drv_tci66ak2g02-evm_66_ex
ample PLATFORM=tci66ak2g02-evm TARGET=66&   gmake -C C:/ti/edma3_lld_2_12_02_26/
packages edma3_drv_tci66ak2g02-evm_m4_example PLATFORM=tci66ak2g02-evm TARGET=m4
&   gmake -C C:/ti/edma3_lld_2_12_02_26/packages edma3_drv_tci66ak2g02-evm_a15_e
xample PLATFORM=tci66ak2g02-evm TARGET=a15&   gmake -C C:/ti/edma3_lld_2_12_02_2
6/packages edma3_drv_tci66ak2g02-evm_eve_example PLATFORM=tci66ak2g02-evm TARGET
=eve&
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_674_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_m3_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_a8_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_64p_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
# Configuring XDC packages for edma3_drv_tci66ak2g02-evm_66_example:c6xdsp:debug

gmake -C C:/ti/edma3_lld_2_12_02_26/examples/edma3_driver/evmTCI66AK2G02 xdc_con
figuro PLATFORM=tci66ak2g02-evm CORE=c6xdsp PROFILE_c6xdsp=debug
gmake[2]: Entering directory `C:/ti/edma3_lld_2_12_02_26/examples/edma3_driver/e
vmTCI66AK2G02'
# Invoking configuro...
a+x maketemp_configuro_cmd_c6xdsp.bat
CACLS maketemp_configuro_cmd_c6xdsp.bat /E /P Everyone:F
Access is denied.
gmake[2]: *** [xdc_configuro] Error 5
gmake[2]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/examples/edma3_driver/ev
mTCI66AK2G02'
gmake[1]: *** [edma3_drv_tci66ak2g02-evm_66_example] Error 2
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_m4_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_a15_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/packages'
gmake[1]: Nothing to be done for `edma3_drv_tci66ak2g02-evm_eve_example'.
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/packages'
# Configuring XDC packages for edma3_drv_tci66ak2g02-evm_66_example:c6xdsp:debug

gmake -C C:/ti/edma3_lld_2_12_02_26/examples/edma3_driver/evmTCI66AK2G02 xdc_con
figuro PLATFORM=tci66ak2g02-evm CORE=c6xdsp PROFILE_c6xdsp=debug
gmake[1]: Entering directory `C:/ti/edma3_lld_2_12_02_26/examples/edma3_driver/e
vmTCI66AK2G02'
# Invoking configuro...
a+x maketemp_configuro_cmd_c6xdsp.bat
CACLS maketemp_configuro_cmd_c6xdsp.bat /E /P Everyone:F
Access is denied.
gmake[1]: *** [xdc_configuro] Error 5
gmake[1]: Leaving directory `C:/ti/edma3_lld_2_12_02_26/examples/edma3_driver/ev
mTCI66AK2G02'
gmake: *** [edma3_drv_tci66ak2g02-evm_66_example] Error 2