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.

CCS/MSP430F5529: problems of debugging and COM port connection

Part Number: MSP430F5529
Other Parts Discussed in Thread: BOOSTXL-DRV8323RH, DRV832X

Tool/software: Code Composer Studio

Hi,

 Now I am trying to build the MSP430F5529 with BOOSTXL-DRV8323RH but I have some problems.

First is about DRV832x_EVM_BLDC_FW_1.0.0 programs which I downloaded from website. It has 2 files for the sensored BLDC and sensorless BLDC,

then I successed to debug "sensored program" but I had some errors when debug "sensorless program" .

The main of error is "#10010 errors encountered during linking; "DRV832X_MSP430F5529_Trapezoidal_Sensorless_BLDC.out" not built " and the type of error is "C/C++ problem".

On that case, what should I fix the program ?

Finally, the connection trouble between board and boostxl-drv832x GUI composer.

The problem is that the COM port is connected but device is not found even though debug is successed or not.

Furthermore, I tried to change the friendly name of COM port which was recommended in user's guide but that problem still was occurred.

On that case, what should I do ?

Thank you

  • Hello,

    user6259753 said:

    then I successed to debug "sensored program" but I had some errors when debug "sensorless program" .

    The main of error is "#10010 errors encountered during linking; "DRV832X_MSP430F5529_Trapezoidal_Sensorless_BLDC.out" not built " and the type of error is "C/C++ problem".

    On that case, what should I fix the program ?

    Can you post all the errors that appeared in the build console?

    user6259753 said:

    Finally, the connection trouble between board and boostxl-drv832x GUI composer.

    The problem is that the COM port is connected but device is not found even though debug is successed or not.

    Furthermore, I tried to change the friendly name of COM port which was recommended in user's guide but that problem still was occurred.

    Can you post a screenshot of the error and also point me to the user's guide you are referring to?

    Thanks

    ki

  • Hello, thank you for replying.

    I did not see that CCS Forum Guidelines & FAQ yet, so I will see that site.

    In addition, I would like to share errors of debugging in sensorless program as below;

    On the other hand, the problem of connection was solved because I reconnect USP cable to PC.

    Therefore, it might be OK.

    Thank you.

  • user6259753 said:

    On the other hand, the problem of connection was solved because I reconnect USP cable to PC.

    Therefore, it might be OK.

    Good to hear.

    user6259753 said:

    In addition, I would like to share errors of debugging in sensorless program as below;

    The link to your screenshot is broken. Can you repost?

    If you are still having issues with the screenshots, please see the below FAQ:

    https://e2e.ti.com/support/tools/ccs/f/81/t/821597

    Thanks

    ki

  • I am sorry, a screenshot is broken, so I write down directly below

    There are 4 items

    #10010 errors encountered during linking; "DRV832X_MSP430F5529_Trapezoidal_Sensorless_BLDC.out" not built 

    gmake: *** [DRV832X_MSP430F5529_Trapezoidal_Sensorless_BLDC.out] Error 1

    gmake: Target 'all' not remade because of errors.

    output file "DRV832X_MSP430F5529_Trapezoidal_Sensorless_BLDC.out" exceeds code size limit 

    That's all

    Thank you.

  • user6259753 said:
    output file "DRV832X_MSP430F5529_Trapezoidal_Sensorless_BLDC.out" exceeds code size limit 

    What version of CCS are you using? It sounds like you are using a very old version with the code size limited linker.

  • Now I use "Version: 6.2.0.00050"

    If it is too old, could you advise which version is much better ?

    Thank you.

  • I believe if you activate CCS with a full license, it will get rid of the code size limit:

    http://software-dl.ti.com/ccs/esd/documents/ccs_downloads.html#free-license-for-older-versions

    However, I would recommend updating your CCS version. CCSv6 is very old and unsupported. If you are on a 64-bit OS, then I recommend the latest CCS version (10.1). If you are on 32-bit Windows, then I recommend CCS 8.3.1.

    Thansk

    ki

  • The debugging problem was solved because I installed latest CCS version (10.1) you advised.

    Thank you so much for kindly support.