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/MSP430FR6047: About the matter that an error is displayed when I set "Signal Sampling Frequency" to 6800~8000kHz.

Guru 12115 points
Part Number: MSP430FR6047

Tool/software: Code Composer Studio

Hi,

I use USS Design center and EVM430-FR6047 to detect flow rate.

I configured parameters in Design center. 

I selected "Signal Sampling Frequency" to 6800~8000kHz and "ADC Over Sampling rate" to 10 automatically.

When I changed the setting to 8000kHz and built it, the following "Build error" appeared.

I set it to 7000kHz and Buid it, but it was the same.

When I selected "ADC Over Sampling rate" to 20, "Build error" didn't appeared.

Could you give me some advice to solve this error?

====================================================================================================================

error #10056: symbol "USS_App_userConfig" redefined: first defined in "./USS_Config/USS_App_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_App_userConfig.obj"

error #10056: symbol "ussPulseConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussCaptureConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUSSLEATempMemBlock" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussMeasurementConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussPLLConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussSystemConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUSSAbsToFLUT" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "singDualToneConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUssSWConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussTriggerConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussAlgConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussAlgorithmMeterConstCalib" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussAlgorithmVolumeFlowObj" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUSSBinaryPattern" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussMeterConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUSSHilbertCoeffs" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gNVMemBlock" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "ussInterruptConfig" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUSSLEARAMReservedBlock1" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10056: symbol "gUSSLEARAMReservedBlock2" redefined: first defined in "./USS_Config/USS_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_userConfig.obj"

error #10010: errors encountered during linking; "MSP430FR6047EVM_USS_Water_Demo.out" not built

>> Compilation failure

makefile:267: recipe for target 'MSP430FR6047EVM_USS_Water_Demo.out' failed

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

gmake[1]: Target 'secondary-outputs' not remade because of errors.

makefile:263: recipe for target 'all' failed

gmake: *** [all] Error 2

**** Build Finished ****

========================================================================================================================

Thanks,

Koki

  • Hello,

    Do you have any update?

    Thanks.

    Koki

  • Koki Tamai said:
    error #10056: symbol "USS_App_userConfig" redefined: first defined in "./USS_Config/USS_App_userConfig.obj"; redefined in "./USS_Config/bkup_default/USS_App_userConfig.obj"

    Did you create the USS_Config/bkup_default directory, or did the USS Design center?

    The linker is reporting errors since it is seeing the same declarations in object files in the USS_Config and USS_Config/bkup_defaul directories.

  • Hi,Chester

    >Did you create the USS_Config/bkup_default directory, or did the USS Design center?

    I configured that in USS Design Center.

    Q1.What do I need to do to avoid the error above?

     

    Q2.Now, I have two errors.

    Could you tell me what the error is and how to avoid it?

    136 Algorithm DToF - Correlation overrun error 

    137 Algorithm DToF - Correlation interpolation error 

    Thanks,

    Koki

  • Hi Koki,

    Which version you use for the USS Design Center?

    I think the parameter of "ADC Over Sampling rate" should don't able to change by customer.

    For the two error:

    136 Algorithm DToF - Correlation overrun error 

    137 Algorithm DToF - Correlation interpolation error 

    Do those two error will occur base on default parameter?

    Thanks!

    Best Regards

    Johnson

  • Hi,Johnson

    >I think the parameter of "ADC Over Sampling rate" should don't able to change by customer.

    I change the parameter of "single sample frequency".

    By doing so, I can change the parameter of "ADC Over Sampling rate" indirectly.

    >Do those two error will occur base on default parameter?

    This error occurs when I set the following parameters:

    ・Transmit frequency(kHz)= 230kHz
    ・Gap between pulse start and ADC capture (µs)= 30us
    ・Number of Pulses= 6
    ・UPS and DNS Gap (µs)= 16000us
    ・UPS0 to UPS1 Gap (ms)= 50ms
    ・GUI Based Gain Control= 30.8dB
    ・Signal Sampling Frequency (kHz)= 4000kHz
    ・Capture Duration (µs)= 55us
    ・Envelope Crossing Threshhold= 50%

    Thanks,

    Koki

  • Hi Koki,

    For the transmit frequency, Water meter just support minimum 772Khz:

    Why do you need set this para to 230KHz?

    Thanks!

    Best Regards

    Johnson

  • Hi,Johnson

    Due to the operating environment, it is necessary to verify the operation around 230kHz.

    And I know that it is feasible from past E2E posts, and I am working on it.

    https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/794211/2938341

     

    Q1. Why does the error in the first post occur?

    Do you have any countermeasures?

      

    Q.2 Why do the following two errors occur ?

    Do you have any countermeasures?

    136 Algorithm DToF - Correlation overrun error 

    137 Algorithm DToF - Correlation interpolation error 

     

    Thanks,

    Koki

  • Hi,Johnson

    Do you have any update?

    Thanks

    Koki

  • Hi Koki,

    I think we can follow this thread in the below post:

    https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/966293#pi320995=2

    Thanks!

    Best Regards

    Johnson

**Attention** This is a public forum