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.

MMWCAS-RF-EVM: Problem connecting to TDA from mmw_example

Part Number: MMWCAS-RF-EVM
Other Parts Discussed in Thread: AWR2243

Hi,

I have a cascade EVM with 2243P devices and trying to configure it with the mmw_example project inside dfp folder:  /dfp/example/mmWaveLink_Cascade_Example. The problem is that the application can not connect to the TDA and gives the following output:

================= mmWaveLink Example Application ====================

INFO: Registered Async event handler with TDA

Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

ERROR: Connecting to TDA failed with error 1. Check whether the capture card is connected to the network!

ERROR: Failed to Connect with TDA

Inside the trace file :

[15:53:14:043]: # INFO: Network: Connecting to the server 192.168.33.180:5001 ...
[15:53:14:055]: # NETWORK: Connected to Server (192.168.33.180:5001)!!!
[15:53:14:062]: [GN]0xC8 0xA5 0x12 0x00 0x00 0x00 0x0C 0x00 0x20 0x10 0x00 0x00 0x00 0x00 0xA6 0x95
[15:53:14:062]: # INFO: Sending trace file name : Trace_TDA_[13_09_2021_15.53].txt , Length : 32
[15:53:14:062]: [GN]0xC8 0xA5 0x16 0x00 0x00 0x00 0x2C 0x00 0x20 0x01 0x00 0x00 0x00 0x00 0x54 0x72 0x61 0x63 0x65 0x5F 0x54 0x44 0x41 0x5F 0x5B 0x31 0x33 0x5F 0x30 0x39 0x5F 0x32 0x30 0x32 0x31 0x5F 0x31 0x35 0x2E 0x35 0x33 0x5D 0x2E 0x74 0x78 0x74 0x48 0xB8
[15:53:14:062]: # ERROR: Unknown command received from device 5
[15:53:14:078]: [GN]0xC8 0xA5 0x13 0x00 0x00 0x00 0x0C 0x00 0x20 0x01 0x00 0x00 0x00 0x00 0xD8 0x38
[15:53:14:078]: ERROR: recv failed in Network_read!
[15:53:14:078]: # ERROR: Could not receive data
[15:53:14:078]: # ERROR: CRC did not match. Received CRC : cdcd
[15:53:14:078]: ERROR: recv failed in Network_read!
[15:53:14:078]: # ERROR: Could not receive data
[15:53:14:078]: # ERROR: Received wrong sync byte 13
[15:54:01:462]: # ERROR: No ACK received for TDA version command

It seems that the TDA responds but the application does not understand it. I can also see the traffic back and forth on the ethernet port.

I'd appreciate any suggestions.

Regards

Iman

  • Hi,

    Please give us some time to review your question

    In the meantime please use google site search to find other threads related to running the mmWaveLink_Cascade_Example

    site e2e.ti.com mmWaveLink_Cascade_Example

    Here is one similar thread that could be useful

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/916507/awr2243-cascade-example-design-cannot-connect-to-tda

    Thank you

    Cesar

  • Hi Cesar,

    I managed to connect to the TDA with the help of the thread you provided but now have the same issue that is mentioned in the same thread. i.e. I get the error -8 (see below). I also get some other errors for example firmware download error. 

    ================= mmWaveLink Example Application ====================

    INFO: Registered Async event handler with TDA

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 32 : CAPTURE_RESPONSE_VERSION_INFO Async event recieved with status 0. TDA Version : REL_VISION_SDK_03_07_01_00 Aug 5 2019 15:04:45

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 1 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    INFO: Connection to TDA successful!

    Device map 1 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 1 : SOP 4 mode successful

    Device map 1 : Device reset successful

    Device map 1 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1179256, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : mmWave Device Power on success

    ==========================Firmware Download==========================

    Device map 1 : Meta Image download started

    Device map 1 : Download in Progress: 0%..2%..5%..8%..11%..14%..17%..20%..23%..26%..29%..32%..35%..38%..41%..44%..47%..50%..52%..55%..58%..61%..64%..67%..70%..73%..76%..79%..82%..85%..88%..91%..94%..97%..Done!

    Device map 1 : Meta Image download complete ret = 0

    Device map 1 : Firmware update successful

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

    Device map 1 : CRC Type set for MasterSS success

    Device map 1 : MSS CPU Fault Async event

    Device map 1 : Timeout! RF Enable Status = 0

    Device map 1 : Radar/RF subsystem Power up failed with error -8

    Device map 2 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 2 : SOP 4 mode successful

    Device map 2 : Device reset successful

    Device map 2 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 2 : mmWave Device Power on failed with error -8

    Device map 4 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 4 : SOP 4 mode successful

    Device map 4 : Device reset successful

    Device map 4 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 4 : mmWave Device Power on failed with error -8

    Device map 8 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 8 : SOP 4 mode successful

    Device map 8 : Device reset successful

    Device map 8 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 8 : mmWave Device Power on failed with error -8

    ==========================Firmware Download==========================

    Device map 14 : Meta Image download started

    Device map 14 : MMWL_fileDwld Fail. Ftype: 0

    Device map 14 : Meta Image download complete ret = -2

    Device map 14 : Firmware update failed with error -2

    Device map 15 : Calling rlSetAdcOutConfig With [2]ADC Bits and [1]ADC Format

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1177863, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : MSS CPU Fault Async event

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1177886, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : MSS CPU Fault Async event

    Device map 15 : AdcOut Config failed with error code -2

    Device map 15 : Basic/Static configuration failed with error -1

    ==================Programmable Filter Configuration==================

    Device map 15 : Calling rlRfSetProgFiltConfig with
    coeffStartIdx[0]
    progFiltLen[14] GHz
    progFiltFreqShift[100] MHz/uS

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1177876, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : MSS CPU Fault Async event

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1177873, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : MSS CPU Fault Async event

    Device map 15 : Programmable Filter Configuration failed with error code -2

    Device map 1 : Calling rlSetFrameConfig with
    Start Idx[0]
    End Idx[11]
    Loops[64]
    Periodicity[100]ms

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1177852, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : MSS CPU Fault Async event

    Device map 1 : MSS Power Up Async event

    PowerUp Time = 1177943, PowerUp Status 1 = 0x40, PowerUp Status 2 = 0x0, BootTestStatus 1 = 0x0, BootTestStatus 2 = 0x0

    Device map 1 : MSS CPU Fault Async event

    Device map 1 : Calculated TDA Height is 768

    Device map 1 : Calculated TDA Width is 0

    Device map 1 : Frame Configuration failed with error -8

    INFO: Device map 1 : Setting width = 0 and height = 768 successful

    INFO: Device map 2 : Setting width = 0 and height = 0 successful

    INFO: Device map 4 : Setting width = 0 and height = 0 successful

    INFO: Device map 8 : Setting width = 0 and height = 0 successful

    INFO: Sending framePeriodicity = 100 successful

    Device map 4 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 2 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 1 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    Device map 8 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    INFO: Sending capture directory = /mnt/ssd/MMWL_Capture successful

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    INFO: Sending pre-allocated files = 0 successful

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    INFO: Sending enable data packing = 0 successful

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    INFO: Sending number of frames to capture = 0 successful

    Device map 32 : CAPTURE_RESPONSE_ACK Async event recieved with status 0

    INFO: Notifying TDA about creating application successful

    ERROR: Create Application Response from Capture Card timed out!

    Device map 8 : Sensor Start failed with error code -8

    Device map 4 : Sensor Start failed with error code -8

    Device map 2 : Sensor Start failed with error code -8

    Device map 1 : Sensor Start failed with error code -8

    Device map 15 : GPAdc measurement API failed with error code -2

    Device map 8 : Power Off API success

    Device map 4 : Power Off API success

    Device map 2 : Power Off API success

    Device map 1 : Power Off API success

    INFO: Disconnected from TDA

    =========== mmWaveLink Example Application execution Successful ===========

  • With you there is slight difference compare that e2e thread.

    Here you are able to connect to TDA but RfPowerup fails

    Device map 1 : Timeout! RF Enable Status = 0

    Device map 1 : Radar/RF subsystem Power up failed with error -8

    Based on log, I can say that you might be using AWR2243 ES 1.0 sample

    Device map 1 : MSS CPU Fault Async event

    If that is the case you need to use different DFP 2.2.0.3 where it has different firmware file and boot sequence also differs.

    Look for C:\ti\mmwave_dfp_02_02_00_03\ti\example\mmWaveLink_Cascade_Example\mmw_example.c    'while (((mmwl_bInitComp & deviceMap) != deviceMap) || ((mmwl_bMssCpuFault & deviceMap) != deviceMap))'

    So try mmWave DFP 2.2.0.3 firmware and change the bootup sequence taking reference from above mentioned application .