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.

AWR2243: Unknown Error Response

Part Number: AWR2243
Other Parts Discussed in Thread: , UNIFLASH

I am running advanced framing, specifically sending AWR_ADVANCED_FRAME_CONF_SB (message id 0x105 / 261), specifically I am receiving the following data

RAW BYTES:


BA DC CD AB 12 00 18 00 00 A4 00 00 01 00 D4 5B
00 00 08 00 3E 00 05 01 AD 6A 9E 9B

DECODED:

SYNC : ABCDDCBA (S2M_SYNC_BYTE)
OPCODE : 0012
MSG ID : 00 (AWR_ERROR_MSG)
MSG TYPE : 1 (RESPONSE)
DIRECTION: 2 (BSS to Host)
MSG LENGTH : 0018 (24)
FLAGS : A400
SEQ NUM : 0A (10)
CRC LEN : 1 (32-bit CRC)
CRC REQ : 0 (CRC Appended)
PROTO VER : 0 (0)
ACK REQ : 0 (ACK Required)
RETRY : 0 (New Message)
REM CHUNKS : 0000 (0)
NSBC : 0001 (1)
CHECKSUM : 5BD4, Calculated 5BD4
CRC32 : 9B9E6AAD, Calculated 9B9E6AAD

SUB BLOCK: 0000 (AWR_RESP_ERROR_SB) - Length 0008 (8)
API_RESP : 003E (62)
API_RESP_ERROR_SBC_ID: 0105 (261) - [AWR_ADVANCED_FRAME_CONF_SB]
Decoded Message:
UNKNOWN API ERROR RESP[62] for SBID[AWR_ADVANCED_FRAME_CONF_SB]

I am getting this error for all 4 devices, 1, 2, 4, and 8.  I checked the latest ICD and under AWR_ADVANCED_FRAME_CONF_SB there doesnt seem to be an error response 62 for this subblock message.  The only error I could find that has an error code of 62 is in AWR_CHIRP_CONF_SET_SB, but I am not using this subblock, I am actually using the AWR_ADVANCE_CHIRP_CONF_SB, which was set in AWR_RF_RADAR_MISC_CTL_SB message.  Anyways, I am unsure what this error message is and was hoping you would be able to shed some light on this.

Thank you

  • What is the version of the fw you are using?

    Thank you

    Cesar

  • Master (device id 1), Slave1 (device id 2),  Slave2 (device id 4), and Slave3 (device id 8):

    SYNC : ABCDDCBA (S2M_SYNC_BYTE)
    OPCODE : 81D6
    MSG ID : 207 (AWR_DEV_STATUS_GET_MSG)
    MSG TYPE : 1 (RESPONSE)
    DIRECTION: 6 (Master to Host)
    MSG LENGTH : 0024 (36)
    FLAGS : 140C
    SEQ NUM : 01 (1)
    CRC LEN : 1 (32-bit CRC)
    CRC REQ : 0 (CRC Appended)
    PROTO VER : 0 (0)
    ACK REQ : 3 (ACK NOT Required)
    RETRY : 0 (New Message)
    REM CHUNKS : 0000 (0)
    NSBC : 0001 (1)
    CHECKSUM : 69F8, Calculated 69F8
    CRC32 : 6ED38791, Calculated 6ED38791

    SUB BLOCK: 40E0 (AWR_MSSVERSION_GET_SB) - Length 0014 (20)
    HW_VARIANT : 04
    HW_VERSION_MAJOR : 01
    HW_VERSION_MINOR : 01
    MSS_FW_VERSION_MAJOR: 02
    MSS_FW_VERSION_MINOR: 02
    MSS_FW_VERSION_BUILD: 01
    MSS_FW_VERSION_DEBUG: 07
    MSS_FW_VERSION_YEAR : 14(20)
    MSS_FW_VERSION_MONTH: 03(3)
    MSS_FW_VERSION_DAY : 11(17)
    MSS_FW_VERSION_PATCH_MAJOR: 00
    MSS_FW_VERSION_PATCH_MINOR: 00
    MSS_FW_VERSION_PATCH_YEAR : 00(0)
    MSS_FW_VERSION_PATCH_MONTH: 00(0)
    MSS_FW_VERSION_PATCH_DAY : 00(0)
    MSS_FW_PATCH_BUILD_DEBUG_VERSION: 00

  • Hi William,

    Have you download the firmware file over SPI to AWR device?

    If not then based on the firmware version, you are using AWR2243 ES1.1 but without patch loaded.

    Please follow the DFP example (C:\ti\mmwave_dfp_02_02_03_01\ti\example\mmWaveLink_Cascade_Example) for right API sequence.

    If you get error with that also then please collect the SPI logs for all the commands sent to AWR device for further debug.

    Regards,

    Jitendra

  • Is that the only way to run the latest firmware? With the AWR_DEV_FILE_DOWNLOAD_SB command, there are options to place the FW into SFLASH, is this a way to flash the FW file once, and on each subsequent reboots / power cycles it would load that file?  If so, is there another command I need to tell the device to use the SFLASH instead of the SRAM to power up the firmware? 

  • Further reading I found in the AWR2243 Bootloader Flow document, they mention downloading of images to the SFLASH and being in a device management mode (SOP5), does that mean in order to put the image into flash I have to set the SOP mode to 5 and then issue the AWR_DEV_FILE_DOWNLOAD_SB if I am wanting to place it into flash?

  • Hi William,

    Yes, you read it right. You can flash the firmware/patch image to sFlash connected with AWR2243 device.

    There are two ways to do it

    1. With AWR2243BOOST EVM, you can use UniFlash tool to flash this file but you need to be in SOP5 (flashing) mode to do that.

    2. Using SPI communication rlDeviceFileDownload but fileType set to 4 firmware content can be loaded to sFlash 

    C:\ti\mmwave_dfp_02_02_03_01\ti\example\mmWaveLink_SFlash_FW_Example

    Refer MMWL_fileDownload function where File Type needs to be set to '4' in the fileDownload command (1st Chunk).

    Regards,

    Jitendra

  • So I found out the cause, it had to do with loading the wrong LUT file using AWR_ADVANCE_CHIRP_GENERIC_LUT_LOAD_SB.