AWR2243使用Uniflash无法下载问题

Part Number: AWR2243BOOST
Other Parts Discussed in Thread: AWR2243, , UNIFLASH, MMWAVE-MCUPLUS-SDK, AWR1243BOOST, AWR1243

使用uniflash V8.6下载mmwave_dfp_02_02_04_00\mmwave_dfp_02_02_04_00\firmware包中的xwr22xx_mss_rprc.bin和xwr2xxx_radarss_rprc.bin作为固件烧录到AWR2243Boost的板载Flash中。但是出现了如下的报错,请问我该如何解决这个报错。是什么原因导致的呢?关于AWR2243下载到flash我遇到了如下的问题:

1.AWR2243的“mmwave_sdk”是否存在?该如何获得?

2.AWR2243的SBL image和App image分别是什么,在哪里有示例?xwr22xx_mss_rprc.bin和xwr2xxx_radarss_rprc.bin是否分别是SBL image和Appimage?或者在mmwave_dfp_02_02_04_00\mmwave_dfp_02_02_04_00\firmware中的xwr22xx_metaImage.h和xwr22xx_metaImage.bin是对应的SBL image和Appimage?

3.如何根据自己设置的chirp等参数来生成更新的固件,只能通过CCS这个平台来生成自己的固件吗吗?

4.请问以下在uniflash烧录的报错是什么原因导致的,该如何解决。

麻烦工程师尽快帮忙解答一下,谢谢。

[2024/4/1 下午8:28:04] [INFO] Cortex_R4_0: Initialization complete.
[2024/4/1 下午8:28:04] [INFO] Cortex_R4_0: Sending UART Uniflash image at location E:\ti\uniflash_8.6.0\deskdb\content\TICloudAgent\win\ccs_base\mmWave\gen2/images/sbl_uart_uniflash.release.tiimage
[2024/4/1 下午8:29:54] [ERROR] Cortex_R4_0: XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, power cycle EVM and run this script again !!!
[2024/4/1 下午8:29:54] [INFO] Cortex_R4_0: UART Uniflash image sent.
[2024/4/1 下午8:29:54] [INFO] Cortex_R4_0: Sending SBL image at location E:/01___ICSP/Prj01-MMW/Firmware/mmwave_dfp_02_02_04_00/mmwave_dfp_02_02_04_00/firmware/masterss/xwr22xx_mss_rprc.bin
[2024/4/1 下午8:31:44] [ERROR] Cortex_R4_0: XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, power cycle EVM and run this script again !!!
[2024/4/1 下午8:34:24] [ERROR] Cortex_R4_0: XMODEM recv failed, no response OR incorrect response from EVM OR cancelled by user,Power cycle EVM and run this script again !!!
[2024/4/1 下午8:34:24] [INFO] Cortex_R4_0: SBL image sent
[2024/4/1 下午8:34:24] [INFO] Cortex_R4_0: Sending Appimage at location E:/01___ICSP/Prj01-MMW/Firmware/mmwave_dfp_02_02_04_00/mmwave_dfp_02_02_04_00/firmware/radarss/xwr2xxx_radarss_rprc.bin
[2024/4/1 下午8:36:14] [ERROR] Cortex_R4_0: XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, power cycle EVM and run this script again !!!
[2024/4/1 下午8:38:54] [ERROR] Cortex_R4_0: XMODEM recv failed, no response OR incorrect response from EVM OR cancelled by user,Power cycle EVM and run this script again !!!
[2024/4/1 下午8:38:54] [INFO] Cortex_R4_0: Appimage sent
[2024/4/1 下午8:38:54] [INFO] Cortex_R4_0: Instance deinitialized!
  • Hello Rovine Jun,

             在 AWR2243产品网页下载“ MMWAVE-MCUPLUS-SDK”,参考“mmwave_mcuplus_sdk_user_guide.pdf”进行烧录测试。

             https://www.ti.com/product/AWR2243#design-development

  • hello Alice,

    谢谢你提供的相关文件参考。我在MMWAVE-MCUPLUS-SDK中找到mmwave_dfp_02_02_04_00/firmware下的xwr22xx_metaImage.h和xwr22xx_metaImage.bin,并在Uniflash中验证下载,但是仍然有之前的报错如下所示,我的下载验证步骤是1.设置AWR2243Boost为SOP4模式,2.然后在uniflash中设置XDS110 Class Application/User UART COM,3.然后把metaiImage下载到FLASH中,操作步骤是按mmwave_mcuplus_sdk_user_guide.pdf中的8.4 mmWaveLink_SFlash_FW_Example指示来下载,但是仍然有报错。

     

    1.请问xwr22xx_metaImage.h和xwr22xx_metaImage.bin分别是Uniflash中提示的SBLImage和APPImage吗?

    2.SOP5才是Flashing MODE,请问SOP5这个模式是用来干什么的呢?

    3.XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, power cycle EVM and run this script again !!!

    在下载固件时总是这个报错,请问这个报错可能是什么原因导致的呢?看过论坛里的一些问题,我的AWR2243BoostEVM上的nerror灯并未亮。

  • Hello Rovine Jun,

      如果使用AWR2243BOOST+Uniflash, 只需通过串口下载xwr22xx_metaImage.bin  

      注意一下硬件版本 – 583 = AWR2243 Identifier           – BLANK = ES1.0, A = ES1.1

      www.ti.com/.../swrz090c.pdf

      DFP 02.02.04.00支持的是ES1.1 (MMWAVE DFP 02.02.04.00 Release Notes)

      MMWAVE-DFP-2G Firmware | TI.com 

      这个帖子讨论的很详细,请参考。

      AWR2243BOOST: flashed without connecting the board to the mmWave studio - Sensors forum - Sensors - TI E2E support forums

      AWR2243: How to flash AWR2243 using Uniflash over UART? - Sensors forum - Sensors - TI E2E support forums

  • 你好,Alice,

    十分感谢你的这些回复对我的帮助。

    我的AWR2243Boost上的AWR2243芯片的表面丝印为

    AWR2243P

    BG

    272CPW9

    583A     ABL  G1

    根据  www.ti.com/.../swrz090c.pdf这个pdf中的说明我的这个芯片为ES1.1,且正如你说的我目前用的mmwave_dfp_02_02_04_00是支持我这款芯片的。

    然后我根据  AWR2243BOOST: flashed without connecting the board to the mmWave studio - Sensors forum - Sensors - TI E2E support forums这个案例中的提示,下载Uniflash6.1.0,并选择AWR1243Boost(尽管我的板子是AWR2243boost),设置好com,然后下载xwr22xx_metaImage.bin(mmwave_dfp_02_02_04_00/firmware),能完成下载,log如下所示。我的疑问是这种下载方式是否能正常使用AWR2243Boost?

    [2024/4/3 下午4:33:07] [INFO] Cortex_R4_0: Initialization complete.
    [2024/4/3 下午4:33:07] [INFO] Cortex_R4_0: Flashing process starting...
    [2024/4/3 下午4:33:07] [INFO] Cortex_R4_0: Connecting to COM Port COM3...
    [2024/4/3 下午4:33:07] [INFO] Cortex_R4_0: Reset connection to device
    [2024/4/3 下午4:33:07] [INFO] Cortex_R4_0: Set break signal
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: Reading device version info...
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: ** 1 files specified for flashing.
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: Checking file E:/01___ICSP/Prj01-MMW/Firmware/mmwave_dfp_02_02_04_00/mmwave_dfp_02_02_04_00/firmware/xwr22xx_metaImage.bin for correct header for AWR1243.
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: AWR1243 device, fileType=META_IMAGE1 detected -> OK
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: !! Files are valid for AWR1243.
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: Format on download was specified. Formatting SFLASH storage...
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: -->Erasing storage [SFLASH]
    [2024/4/3 下午4:33:08] [INFO] Cortex_R4_0: -->Sending Erase command to device...
    [2024/4/3 下午4:33:21] [SUCCESS] Cortex_R4_0: -->Erase storage completed successfully!
    [2024/4/3 下午4:33:21] [INFO] Cortex_R4_0: Downloading [META_IMAGE1] size [7940]
    [2024/4/3 下午4:33:22] [INFO] Cortex_R4_0: SUCCESS!! File type META_IMAGE1 downloaded successfully to SFLASH.
    [2024/4/3 下午4:33:22] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM3...
    [2024/4/3 下午4:33:22] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [2024/4/3 下午4:33:22] [INFO] Cortex_R4_0: Instance deinitialized!
    [2024/4/3 下午4:33:22] [SUCCESS] Program Load completed successfully.
    另外我尝试使用Uniflash6.1.0并选择AWR2243Boost下载同一个映像,并不能成功,显示Unknown device type,log如下,或许您能解释这是什么原因导致的吗?
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Initialization complete.
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Flashing process starting...
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Connecting to COM Port COM3...
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Reset connection to device
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Set break signal
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [2024/4/3 下午4:31:06] [ERROR] Cortex_R4_0: Internal Error: Unknown device type. Cannot proceed. Exiting...
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [2024/4/3 下午4:31:06] [INFO] Cortex_R4_0: Instance deinitialized!

    此外,我在您向我分享的案例中了解到,使用Uniflash所下载的固件不包含RF参数,且无法将RF参数固化在芯片上,必须在上电后需要另外对RF参数进行配置。对此我有一些问题希望你能为我解答:

    1.在下载固件,重新以SOP4启动后,有哪些方式可以对AWR2243的RF参数进行配置,如何实现,有相关文档可以提供给我参考吗?

    2.由于我们自己的板卡设计是独立测量设备,无法一直连接PC,板载有一款FPGA芯片,是否有可能在FPGA上电时(也就是整个板卡上电时)通过FPGA向AWR2243进行RF参数配置,如果可以,是否有相关的案例或者文档可供参考?

  • Hello Rovine Jun,

            1) UniFlash是通过串口对AWR2243boost 上的QSPI flash进行编程。 如果成功了,就可以了。               

                   AWR2243 Bootloader Flow (Rev. A) (ti.com)               

                  

            2) SOP4 (Functional Mode) 下,需要连接外部HOST进行配置。

                   mmwave_mcuplus_sdk支持的是“AM273X EVM + AWR2243BOOST”,。

                   请参考mmwave_mcuplus_sdk_user_guide.pdf“中的“3.4.2. mmWave Demo Visualizer - AWR294X and AM273X”, 用mmWave Demo Visualizer” ” Load profile config“。

                    

  • 你好,Alice,

    很抱歉回复迟了。你提供的通过mmWave Demo Visualizer这个办法来烧录RF参数我会尝试使用并给你反馈。

    但是目前还有一些疑问:

    1)对AWR2243的使用是否通过Uniflash6.1.0烧录xwr22xx_metaImage.bin,然后再通过mmWave Demo Visualizer或其他方式加载用户自定义RF参数即可正常使用AWR2243芯片了?

    2)我们后续将会利用AWR2243芯片开发自己的板卡,且将会是远端设备(不能一直连接PC,但板卡上有FPGA),请问是否可以在xwr22xx_metaImage.bin固化到AWR2243的FLASH之后,再通过FPGA来加载用户自定义RF参数?如果有,请麻烦提供一下相关使用文档或参考案例。再一次感谢你的解答,谢谢。

  • Hello Rovine Jun,

            前面回复提到的文档 https://www.ti.com/lit/an/spracr5a/spracr5a.pdf  中“3.2 Flash Programming Sequence”说明是可用UniFlash烧写的。

            TI提供的方式是AM273X+ AWR2243 ,用PC端软件配置完成即可,  您要做的就是用FPGA替代AM273X。

             也可参考DCA1000+AWR2243的方案

             mmWave radar sensor design & development | TI.com

  • 你好,Alice,

    十分感谢你的帮助,我读了AWR2243 Bootloader Flow.pdf和mmWave Radar Interface Control Document.pdf。如果使用FPGA代替AM273X,我对于固件及RF参数下载有一些疑问希望你能解答:

    1)固件和RF参数是否是独立下载的?如果是,那么我是否可以通过Uniflash一次性下载固件(如果可以的话那么我应该下载哪一个映像),然后后续的调试通过FPGA来更改RF参数即可?

    2)mmwave_dfp_02_02_04_00中的masterss和radarss分别是什么?是否包含RF参数这一部分?

    3)如果不包含RF参数部分,是否需要根据mmWave Radar Interface Control Document.pdf这个文档中的说明依次向AWR2243写入RF参数?

    4)mmWave Radar Interface Control Document.pdf这个文档中的相关数据包是否都需要遵循主机每发一个包从机都需要回复相应信息?还是说根据主机向从机发送的消息内容来判断是否需要恢复(例如“SET”系列的消息包从机无需回复、只执行;“GET”系列消息包从机需要回复相关内容)

  • Hello Rovine Jun,

            关于AM273X控制毫米波产品的问题已超出本贴讨论范围,请重新发帖专题讨论,感谢您的理解。