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.

LAUNCHXL-F28069M: Error when deploying from Simulink to hardware board

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CCSTUDIO, CONTROLSUITE

Hi there, 

I was using the TI launchpad F28068M. I've installed ccsv5, controlSUITE3.4.6, with Embedded Coder Support Package for Texas Instruments C2000 Processors from MATLAB 2017a. 

I just tried a very simple simulink example and try to deploy it on the hardware, but found that an error occurred when deploying, which seems like an emulator issue. 

I think the key info is the following, but I also attached the full build log here. Does anyone have any advice about how to debug this issue? I'm totally new to using TI microcontroller..

Thanks, 

Baichuan

---- Log --- 

G:\Work\handson\beginning\hall_effect_ert_rtw>exit /B 0
Downloading program to the target hardware...
### Build procedure for model: 'hall_effect' aborted due to an error.
The following error occurred during deployment to your hardware board:

Debug Server Scripting (DSS) error:
*** User inputs:
Target Configuration: C:\PROGRA~3\MATLAB\SUPPOR~1\R2017a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/F28069~1.CCX
Program Name: G:\Work\handson\beginning\hall_effect.out
Board Name: *
CPU Name: unspecified (connect to first CPU)

*** Starting debug session...
*** Debug Session Name: Texas Instruments XDS100v1 USB Emulator_0/C28xx
*** Board Name: Texas Instruments XDS100v1 USB Emulator_0
*** CPU Name: C28xx

*** Connecting to target...
SEVERE: C28xx: Error connecting to the target: (Error -1135 @ 0x0) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.0.747.0)

SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
SEVERE: Cannot perform operation, target is not connected.
SEVERE: Error reseting target: Cannot perform operation, target is not connected.
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected. (G:\MATLAB\R2017a/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js#93)

=== Build (Elapsed: 41 sec) ===
    ### Starting build procedure for model: hall_effect
    ### Generating code into build folder: G:\Work\handson\beginning\hall_effect_ert_rtw
    Warning:Source 'hall_effect/Encoder1/Hall Effect Reading/ADC2' specifies that its sample time (-1) is back-inherited. You should explicitly specify the sample time of sources. You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.
    Warning:Source 'hall_effect/Encoder1/Hall Effect Reading/Automatic Calibration/Discrete  Impulse' specifies that its sample time (-1) is back-inherited. You should explicitly specify the sample time of sources. You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none' in the Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.
    ### Invoking Target Language Compiler on hall_effect.rtw
    ### Using System Target File: G:\MATLAB\R2017a\rtw\c\ert\ert.tlc
    ### Loading TLC function libraries
    Warning:  The data type "int8" uses a word size that is not available on the intended target.
        Fixed-point signals using this data type will be put inside a larger word or multi words.  When used,
    extra software will be generated to force this larger word or multi words to emulate a smaller
    word.  This emulation is helpful when your prototype target and your final
    production target are not the same.  If the smaller word size does NOT exist
    on the final production target, then consider increasing the word size to
    one that is supported.
    Warning:  The data type "uint8" uses a word size that is not available on the intended target.
    Warning:  The data type "boolean" uses a word size that is not available on the intended target.
    .
    ### Initial pass through model to cache user defined code
    .
    ### Caching model source code
    ### Writing header file hall_effect.h
    .
    ### Writing header file hall_effect_types.h
    ### Writing header file rtwtypes.h
    ### Writing header file zero_crossing_types.h
    ### Writing header file rt_zcfcn.h
    ### Writing source file rt_zcfcn.c
    .
    ### Writing source file hall_effect.c
    ### Writing header file hall_effect_private.h
    ### Writing source file hall_effect_data.c
    ### Writing header file rtmodel.h
    ### Writing source file ert_main.c
    ### TLC code generation complete.
    ### Evaluating PostCodeGenCommand specified in the model
    ### Creating CCS Project at : G:\Work\handson\beginning\hall_effect_ert_rtw\CCS_Project
    ### CCS project created successfully Open project in Code Composer Studio.
    ### Using toolchain: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows)
    ### 'G:\Work\handson\beginning\hall_effect_ert_rtw\hall_effect.mk' is up to date
    ### Building 'hall_effect': "G:\MATLAB\R2017a\bin\win64\gmake"  -B -f hall_effect.mk all
     
    G:\Work\handson\beginning\hall_effect_ert_rtw>cd .  
     
    G:\Work\handson\beginning\hall_effect_ert_rtw>if "" == "" ("G:\MATLAB\R2017a\bin\win64\gmake"  -B -f hall_effect.mk all )  else ("G:\MATLAB\R2017a\bin\win64\gmake"  -B -f hall_effect.mk  )  
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=MW_c28xx_board.obj MW_c28xx_board.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=MW_c28xx_adc.obj MW_c28xx_adc.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=MW_c28xx_csl.obj MW_c28xx_csl.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=hall_effect.obj hall_effect.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=hall_effect_data.obj hall_effect_data.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=rt_zcfcn.obj rt_zcfcn.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=c2806xBoard_Realtime_Support.obj C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/c2806xBoard_Realtime_Support.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_CpuTimers.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_CpuTimers.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_DefaultIsr.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_DefaultIsr.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_GlobalVariableDefs.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/source/F2806x_GlobalVariableDefs.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_PieCtrl.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_PieCtrl.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_PieVect.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_PieVect.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_SysCtrl.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_SysCtrl.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 -s -v28 -ml --float_support=fpu32 --output_file=F2806x_usDelay.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_usDelay.asm
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 -s -v28 -ml --float_support=fpu32 --output_file=F2806x_CodeStartBranch.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_CodeStartBranch.asm 
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_Dma.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_Dma.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=F2806x_Adc.obj C:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/source/F2806x_Adc.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=blapp_support.obj C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/blapp_support.c
    "C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/blapp_support.c", line 56: warning: last line of file ends without a newline
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=profiler_Support.obj C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/profiler_Support.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=c2806xSchedulerTimer0.obj C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/c2806xSchedulerTimer0.c
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/ti/ccsv5/tools/compiler/C2000_~1.0/include" -v28 -ml --float_support=fpu32 -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=4 -DSTACK_SIZE=512 -DRT -DMODEL=hall_effect -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IG:/Work/handson/beginning -IG:/MATLAB/R2017a/simulink/include/sf_runtime -IG:/Work/handson/beginning/hall_effect_ert_rtw -IG:/MATLAB/R2017a/extern/include -IG:/MATLAB/R2017a/simulink/include -IG:/MATLAB/R2017a/rtw/c/src -IG:/MATLAB/R2017a/rtw/c/src/ext_mode/common -IG:/MATLAB/R2017a/rtw/c/ert -IG:/MATLAB/R2017a/toolbox/dsp/include -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include/src -IG:/MATLAB/R2017a/toolbox/dsp/extern/src/export/include -IG:/MATLAB/R2017a/toolbox/shared/dsp/vision/matlab/include -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/inc -IG:/MATLAB/R2017a/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_common/include -IC:/ti/controlSUITE/device_support/f2806x/v151/F2806x_headers/include -IG:/MATLAB/R2017a/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/shared/externalmode_daemon/include --output_file=ert_main.obj ert_main.c
    "ert_main.c", line 105: warning: function declared implicitly
    "### Creating standalone executable "../hall_effect.out" ..." 
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/cl2000 -z -IC:/ti/ccsv5/tools/compiler/C2000_~1.0/lib --stack_size=512 --warn_sections --heap_size=1024 --reread_libs --rom_model -m"hall_effect.map" -l"rts2800_fpu32.lib" --define BOOT_FROM_FLASH=1 --define BOOT_USING_BL=0 --output_file=../hall_effect.out MW_c28xx_board.obj MW_c28xx_adc.obj MW_c28xx_csl.obj hall_effect.obj hall_effect_data.obj rt_zcfcn.obj c2806xBoard_Realtime_Support.obj F2806x_CpuTimers.obj F2806x_DefaultIsr.obj F2806x_GlobalVariableDefs.obj F2806x_PieCtrl.obj F2806x_PieVect.obj F2806x_SysCtrl.obj F2806x_usDelay.obj F2806x_CodeStartBranch.obj F2806x_Dma.obj F2806x_Adc.obj blapp_support.obj profiler_Support.obj c2806xSchedulerTimer0.obj ert_main.obj C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/rtlib/IQmath_fpu32.lib C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/c2806xPeripherals.cmd C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/tic2000/src/c28069M.cmd
    <Linking>
    "### Created: ../hall_effect.out" 
    "### Invoking postbuild tool "Hex Converter" on "../hall_effect.out"..." 
    C:/ti/ccsv5/tools/compiler/C2000_~1.0/bin/hex2000 -i "../hall_effect.out" -o "../hall_effect.hex" -order MS -romwidth 16 -q
    "### Done Invoking postbuild tool "Hex Converter" ..." 
    "### Successfully generated all binary outputs." 
     
    G:\Work\handson\beginning\hall_effect_ert_rtw>exit /B 0
    Downloading program to the target hardware...
    ### Build procedure for model: 'hall_effect' aborted due to an error.
    Error:The following error occurred during deployment to your hardware board: 
    
    Debug Server Scripting (DSS) error: 
    *** User inputs: 
        Target Configuration: C:\PROGRA~3\MATLAB\SUPPOR~1\R2017a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/F28069~1.CCX
        Program Name: G:\Work\handson\beginning\hall_effect.out
        Board Name: *
        CPU Name: unspecified (connect to first CPU)
    
    *** Starting debug session...
    *** Debug Session Name: Texas Instruments XDS100v1 USB Emulator_0/C28xx
    *** Board Name: Texas Instruments XDS100v1 USB Emulator_0
    *** CPU Name: C28xx
    
    *** Connecting to target...
    SEVERE: C28xx: Error connecting to the target: (Error -1135 @ 0x0) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.0.747.0) 
    
    SEVERE: emulation failure occurred
    SEVERE: Error connecting to the target: emulation failure occurred
    SEVERE: Cannot perform operation, target is not connected.
    SEVERE: Error reseting target: Cannot perform operation, target is not connected.
    org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected. (G:\MATLAB\R2017a/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js#93)
    	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1705)
    	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:157)
    	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:201)
    	at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:117)
    	at org.mozilla.javascript.gen.c1._c0(G:\MATLAB\R2017a/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js:93)
    	at org.mozilla.javascript.gen.c1.call(G:\MATLAB\R2017a/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js)
    	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)
    	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)
    	at org.mozilla.javascript.gen.c1.call(G:\MATLAB\R2017a/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js)
    	at org.mozilla.javascript.gen.c1.exec(G:\MATLAB\R2017a/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js)
    	at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:500)
    	at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:422)
    	at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:388)
    	at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:379)
    	at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:176)
    	at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:97)
    	at org.mozilla.javascript.Context.call(Context.java:540)
    	at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:447)
    	at org.mozilla.javascript.tools.shell.Main.exec(Main.java:159)
    	at org.mozilla.javascript.tools.shell.Main.main(Main.java:137)
    Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected.
    	at com.ti.debug.engine.scripting.Target.reset(Target.java:611)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)
    	... 18 more
    .