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.

CC2640R2F: Build Fail because windows defender reject the operation of bat file

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640, , CC2650

Hi team, 

I got build fail at my new laptop.

CCS V10.04 need to run bat file at :\Users\059\AppData\Local\Temp. 

But windows defender reject the operation.

Please help to provide comments to fix the build error. Thanks.

The following is the fail log from CCS V10.4:

**** Build of configuration FlashROM_Library for project simple_peripheral_cc2640r2lp_stack_library ****

 

"C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

 

C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/../../../tools/blestack/lib_search/lib_search         C:/ti/workspace_v10/CC2640R2F_1/simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt         C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/blelib         C:/ti/workspace_v10/CC2640R2F_1/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd         cc2640         C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml         C:/ti/simplelink_cc2640r2_sdk_5_10_00_02/source/ti/blestack/symbols

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\ctrlll\cc2640_ctrlll_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\ctrlhci\cc2640_ctrlhci_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\hci_tl\cc26xx_hci_tl_none.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_att_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_gap_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_gatt_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_l2cap_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_profiles_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_smp_pxxx.a >>>

<<< Using library: C:\ti\simplelink_cc2640r2_sdk_5_10_00_02\source\ti\blestack\blelib\host\cc26xx_sm_pxxx.a >>>

<<< Modifying lib_linker.cmd. Stack configurations have changed. >>>

 

<<< Using pxxx.symbols >>>

makefile:200: recipe for target 'pre-build' failed

process_begin: CreateProcess(C:\Users\059\AppData\Local\Temp\make12096-1.bat, C:\Users\059\AppData\Local\Temp\make12096-1.bat, ...) failed.

make (e=5): Access denied。

gmake[1]: [pre-build] Error 5 (ignored)

HAL/Common/subdir_rules.mk:9: recipe for target 'HAL/Common/hal_assert.obj' failed

process_begin: CreateProcess(C:\Users\059\AppData\Local\Temp\make23276-1.bat, C:\Users\059\AppData\Local\Temp\make23276-1.bat, ...) failed.

make (e=5): Access denied

gmake[1]: *** [HAL/Common/hal_assert.obj] Error 5

HAL/Target/CC2650/Drivers/subdir_rules.mk:9: recipe for target 'HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj' failed

process_begin: CreateProcess(C:\Users\059\AppData\Local\Temp\make23276-2.bat, C:\Users\059\AppData\Local\Temp\make23276-2.bat, ...) failed.

make (e=5): Access denied

gmake[1]: *** [HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj] Error 5