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-F280049C: How to get started with LAUNCHXL-F280049C AND DRV8320H to read Motor's Parameter

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: MOTORWARE, C2000WARE, DRV8320

Hi there,

I have LAUNCHXL-F280049C and BOSTXL-DRV8320H motor driver board. I need to read BLDC motor's parameter using instaSPIN FOC or can say run the ID_OUT example(5) from C2000MOTOR SDK.

But I don't know from where to start. I have downloaded CCS, MOTORWARE, C2000Motor SDK and GUI Composer also went to getting started guide and videos. But not able to understood from where to start what are the steps. Pls, provide support for the same.

  • Hello Tanay, you could go through the lab guide available in the location below

    C2000Ware_MotorControl_SDK_3_01_00_00/solutions/common/sensorless_foc/docs/labs/MotorControl%20SDK%20InstaSPIN%20Lab%20Guide.pdf

  • Thankyou Navaneeth for you reply. Is there any specific version of CCS (Compiler) is needed to build the codes available in example. Or i can work with latest one.

  • Latest version of CCS should be fine....

  • Hi Navaneeth; while I'm going trough Labs Manual one my system compiling the code successfully while another one giving these errors. Do you know what went wrong?

    subdir_rules.mk:9: recipe for target 'is01_intro_hal.obj' failed
    src_board/subdir_rules.mk:9: recipe for target 'src_board/drv8320.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-1.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-1.bat, ...) failed.
    gmake: *** [is01_intro_hal.obj] Error 2
    src_board/subdir_rules.mk:16: recipe for target 'src_board/hal.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-2.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-2.bat, ...) failed.
    gmake: *** [src_board/drv8320.obj] Error 2
    src_device/subdir_rules.mk:9: recipe for target 'src_device/f28004x_codestartbranch.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-3.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-3.bat, ...) failed.
    gmake: *** [src_board/hal.obj] Error 2
    src_device/subdir_rules.mk:16: recipe for target 'src_device/f28004x_globalvariabledefs.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-4.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-4.bat, ...) failed.
    gmake: *** [src_device/f28004x_codestartbranch.obj] Error 2
    src_fast/subdir_rules.mk:9: recipe for target 'src_fast/ctrl.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-5.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-5.bat, ...) failed.
    gmake: *** [src_device/f28004x_globalvariabledefs.obj] Error 2
    src_fast/subdir_rules.mk:16: recipe for target 'src_fast/user.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-6.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-6.bat, ...) failed.
    gmake: *** [src_fast/ctrl.obj] Error 2
    src_foc/subdir_rules.mk:9: recipe for target 'src_foc/angle_gen.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-7.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-7.bat, ...) failed.
    gmake: *** [src_fast/user.obj] Error 2
    src_foc/subdir_rules.mk:16: recipe for target 'src_foc/clarke.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-8.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-8.bat, ...) failed.
    gmake: *** [src_foc/angle_gen.obj] Error 2
    src_foc/subdir_rules.mk:23: recipe for target 'src_foc/cpu_time.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-9.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-9.bat, ...) failed.
    gmake: *** [src_foc/clarke.obj] Error 2
    src_foc/subdir_rules.mk:30: recipe for target 'src_foc/datalog.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-a.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-a.bat, ...) failed.
    gmake: *** [src_foc/cpu_time.obj] Error 2
    src_foc/subdir_rules.mk:37: recipe for target 'src_foc/filter_fo.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-b.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-b.bat, ...) failed.
    gmake: *** [src_foc/datalog.obj] Error 2
    src_foc/subdir_rules.mk:44: recipe for target 'src_foc/ipark.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-c.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-c.bat, ...) failed.
    gmake: *** [src_foc/filter_fo.obj] Error 2
    src_foc/subdir_rules.mk:51: recipe for target 'src_foc/park.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-d.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-d.bat, ...) failed.
    gmake: *** [src_foc/ipark.obj] Error 2
    src_foc/subdir_rules.mk:58: recipe for target 'src_foc/pi.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-e.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-e.bat, ...) failed.
    gmake: *** [src_foc/park.obj] Error 2
    src_foc/subdir_rules.mk:65: recipe for target 'src_foc/svgen.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-f.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-f.bat, ...) failed.
    gmake: *** [src_foc/pi.obj] Error 2
    src_foc/subdir_rules.mk:72: recipe for target 'src_foc/svgen_current.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-10.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-10.bat, ...) failed.
    gmake: *** [src_foc/svgen.obj] Error 2
    src_foc/subdir_rules.mk:79: recipe for target 'src_foc/traj.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-11.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-11.bat, ...) failed.
    gmake: *** [src_foc/svgen_current.obj] Error 2
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-12.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-12.bat, ...) failed.
    gmake: *** [src_foc/traj.obj] Error 2
    gmake: Target 'all' not remade because of errors.

  • Have CCS and motor control SDK installed in default directories? Hope in both the machines you follow the same process of importing the project.

  • yes sir. It is in C:\ti\c2000\C2000Ware_MotorControl_SDK_3_02_00_00 and C:\ti\ccs1040

  • Have you created new workspace in CCS?

  • I'm just re-installing the CCS and will change workspace location. I think yes there is something related to path error. I will let you know soon. Thanks for the help.

  • I have re-installed the MotorSDK and CCS. Also, Changed the workspace location still same errors are showing. Why it is checking at C:\Users\Ankur\AppData\Local\Temp\make6956-12.bat as showing in error.

  • Is it a OS error? because this machine is Windows 7 while other with successful compilation is having Windows 10. 

  • gmake: *** [is01_intro_hal.obj] Error 2
    src_board/subdir_rules.mk:16: recipe for target 'src_board/hal.obj' failed
    process_begin: CreateProcess(C:\Users\Ankur\AppData\Local\Temp\make6956-2.bat, C:\Users\Ankur\AppData\Local\Temp\make6956-2.bat, ...) failed.

    I have seen similar issues before due to gmake access errors. See the below link for more details:

    https://software-dl.ti.com/ccs/esd/documents/sdto_ccs_build-errors.html#gmake-access-is-denied

    Note the similar error message in the section that mentions permissions issues with the temp files. Please check your permissions.

    Thanks

    ki

  • Also, is it only this project that has the error or do you have other projects that fail the same way?

  • Hi, thanks for the link. I have tried different things mentioned there yesterday. these errors come with all the projects. I tried with different two machines having windows 10 worked fine for me. I just wanted to know whats the reason behind these errors. Is it a OS error or something else? 

  • I tried with different two machines having windows 10 worked fine for me. I just wanted to know whats the reason behind these errors. Is it a OS error or something else? 

    It is very likely something specific to the environment of the PC with the error. Something is interfering with the make process to build the project.

    Are you able to create a new simple project from scratch (like an "empty main") project and build that successfully?

  • Hi Ki;

    Actually TI Cloud Agent wasn't also working with machine So I finally decided to change the OS to Windows 10. Now everything is working fine.

    Thankyou and Navaneeth for helping me.