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.

[参考译文] IWRL1432BOOST:错误:在 COM 端口上未检测到数据、读取超时

Guru**** 2399305 points
Other Parts Discussed in Thread: UNIFLASH, IWRL1432

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1532357/iwrl1432boost-error-no-data-detected-on-com-port-read-timed-out

器件型号:IWRL1432BOOST
Thread 中讨论的其他器件:UNIFLASHIWRL1432

工具/软件:

您好:

我从 True_Ground_Speed 演示开始。 Radar Toolbox 版本为 3.10.00.05。  毫米波低功耗 SDK 的版本为 05.05.03.00。

当 我将电路板编程为  MMWave_demo 时、工作正常。 有数据显示在“工业示值器“。

成功对电路板进行编程后、暂存区设置为功能模式、如下所示。

切换 NRST 按钮并将配置发送到电路板后、“Industrial Visiualizer“中没有显示任何数据、并且不断弹出以下错误消息:

错误[gui_parser.py:189]错误:在 COM 端口上未检测到数据、读取超时
错误[gui_parser.py:190]请确保使用正确的二进制文件刷写后器件处于正确的 SOP 模式、并且您发送的 cfg 有效

以下是使用 UniFlash 进行编程的日志。

[6/25/2025, 1:51:14 PM] [ERROR] DEBUGSSM_0: Failed CPU Reset: Unsupported GTI Function.
[6/25/2025, 1:51:14 PM] [ERROR] DEBUGSSM_0: GEL: Error while executing GEL_Reset(): Reset failed: retcode=-1 at GEL_Reset()
[6/25/2025, 1:51:14 PM] [ERROR] CS_DAP_0: Failed CPU Reset: Unsupported GTI Function.
[6/25/2025, 1:51:14 PM] [ERROR] CS_DAP_0: GEL: Error while executing GEL_Reset(): Reset failed: retcode=-1 at GEL_Reset()
[6/25/2025, 1:51:14 PM] [ERROR] Cortex_M4_0: Failed CPU Reset: Unsupported GTI Function.
[6/25/2025, 1:51:14 PM] [INFO] Cortex_M4_0: GEL Output: An error occurred while resetting. --1-n
[6/25/2025, 1:51:14 PM] [ERROR] Cortex_M4_0: GEL: Error while executing GEL_Reset(): Reset failed: retcode=-1 at GEL_Reset()
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Initialization complete.
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Flashing process starting...
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Connecting to COM Port COM14...
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Reset connection to device
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Set break signal
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Connection to COM port succeeded. Flashing can proceed.
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: ** 1 files specified for flashing.
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Checking file C:/Users/xxx/AppData/Local/Temp/ti_cloud_storage/true_ground_speed_xWRL1432.Release.appimage for correct header for IWRL1432.
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: IWRL1432 device, fileType=META_IMAGE1 detected -> OK
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: !! Files are valid for IWRL1432.
[6/25/2025, 1:51:17 PM] [INFO] Cortex_M4_0: Downloading [META_IMAGE1] size [172484]
[6/25/2025, 1:51:37 PM] [INFO] Cortex_M4_0: SUCCESS!! File type META_IMAGE1 downloaded successfully to SFLASH.
[6/25/2025, 1:51:37 PM] [INFO] Cortex_M4_0: Disconnecting from device on COM port COM14...
[6/25/2025, 1:51:37 PM] [INFO] Cortex_M4_0: Flashing instance clean-up initiated...
[6/25/2025, 1:51:37 PM] [INFO] Cortex_M4_0: Instance deinitialized!
[6/25/2025, 1:51:37 PM] [SUCCESS] Program Load completed successfully.

以下是 “工业示波器“的输出。

INFO     [gui_core.py:277] Data COM Port found: COM13
INFO     [gui_core.py:268] CLI COM Port found: COM14
INFO     [gui_parser.py:297] Connected (one port) with baud rate 115200
b'sensorStop 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>channelCfg 7 3 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>chirpComnCfg 8 0 0 256 4 24.3 3\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>chirpTimingCfg 28 37 0 160 77\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>frameCfg 64 0 4000 1 100 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>antGeometryCfg 0 0 1 1 0 2 0 1 1 2 0 3 \n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>guiMonitor 1 1 0 0 0 1 0 0 0 0 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>sigProcChainCfg 64 32 1 0 0 0 0 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>sensorPosition 0 0 0.3 0 45\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>cfarCfg 2 8 4 3 0 6.0 0 0.95 0 1 1 1 \n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>aoaFovCfg -60 60 -20 20\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>rangeSelCfg 0.1 5.0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>clutterRemoval 1\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>compRangeBiasAndRxChanPhase 0.0 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>adcDataSource 0 adc_data_0001_CtestAdc6Ant.bin\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>adcLogging 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>lowPowerCfg 0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>factoryCalibCfg 0 0 40 0 0x1ff000\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>configRANSAC 1 200 1.0\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>compressionCfg 0 0.5\n'
b'\n'
b'Done\r\n'
b'\n'
b'mmwDemo:/>baudRate 1250000\n'
b'\n'
b'8'
b''
b'sensorStart 0 0 0 0\n'
b'\n'
b''
b''
ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid

对这种情况有什么建议吗? 谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    真实行驶速度演示是否使用默认配置? 您是否也尝试过使用预编译的二进制文件而不是自己编译的工程来运行它? 我建议尝试使用预编译的二进制文件和预编译的配置。

    此外、您能否清楚地了解 IWRL1432 芯片本身? 我想看看上面的刻版画。

    此致、

    Pedrorm

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、Pedrorm、

    感谢您的答复。 二进制文件和配置均来自 radar_toolbox_3_10_00_05 软件包。 我更改的是 配置 文件中的以下行。 %之后的字符串由于以下错误而被删除。

    b'mmwDemo:/>clutterRemoval 1 % test without clutter removal as well\n'
    b'\n'
    b'Error: Invalid usage of the CLI command\n'
    b'Error -1\r\n'

    上一个日志是使用网络工具对电路板进行编程。 以下是 PC 上使用 UniFlash 进行的日志。

    [6/27/2025, 10:49:01 AM] [ERROR] DEBUGSSM_0: Failed CPU Reset: Unsupported GTI Function.
    [6/27/2025, 10:49:01 AM] [ERROR] DEBUGSSM_0: GEL: Error while executing GEL_Reset(): Reset failed: retcode=-1 at GEL_Reset()
    [6/27/2025, 10:49:01 AM] [ERROR] CS_DAP_0: Failed CPU Reset: Unsupported GTI Function.
    [6/27/2025, 10:49:01 AM] [ERROR] CS_DAP_0: GEL: Error while executing GEL_Reset(): Reset failed: retcode=-1 at GEL_Reset()
    [6/27/2025, 10:49:01 AM] [ERROR] Cortex_M4_0: Failed CPU Reset: Unsupported GTI Function.
    [6/27/2025, 10:49:01 AM] [INFO] Cortex_M4_0: GEL Output: An error occurred while resetting. --1-n
    [6/27/2025, 10:49:01 AM] [ERROR] Cortex_M4_0: GEL: Error while executing GEL_Reset(): Reset failed: retcode=-1 at GEL_Reset()
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Initialization complete.
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Flashing process starting...
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Connecting to COM Port COM14...
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Reset connection to device
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Set break signal
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Connection to COM port succeeded. Flashing can proceed.
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: ** 1 files specified for flashing.
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Checking file C:/ti/radar_toolbox_3_10_00_05/source/ti/examples/Industrial_and_Personal_Electronics/True_Ground_Speed/prebuilt_binaries/true_ground_speed_xWRL1432.Release.appimage for correct header for IWRL1432.
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: IWRL1432 device, fileType=META_IMAGE1 detected -> OK
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: !! Files are valid for IWRL1432.
    [6/27/2025, 10:49:04 AM] [INFO] Cortex_M4_0: Downloading [META_IMAGE1] size [172484]
    [6/27/2025, 10:49:24 AM] [INFO] Cortex_M4_0: SUCCESS!! File type META_IMAGE1 downloaded successfully to SFLASH.
    [6/27/2025, 10:49:24 AM] [INFO] Cortex_M4_0: Disconnecting from device on COM port COM14...
    [6/27/2025, 10:49:24 AM] [INFO] Cortex_M4_0: Flashing instance clean-up initiated...
    [6/27/2025, 10:49:24 AM] [INFO] Cortex_M4_0: Instance deinitialized!
    [6/27/2025, 10:49:24 AM] [SUCCESS] Program Load completed successfully.

    下面是芯片的照片。  

    祝你一切顺利

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我尝试调试从 SDK 导入的“true_ground_speed_xwrL14xx-evm_m4fss0-0_freertos_ti-arm-clang"工程“工程。

    清理并重新编译工程、按 NRST 按钮 重新启动电路板、按 F5 来调试工程、然后使用可视化工具发送   radar_toolbox_3_10_00_05 中的配置文件。 发送命令“sensorStart 0 0 0 0\n“后、调试器显示错误消息“Cortex_M4_0:asserted:12.865757s:./source/mmw_cli.c:CLI_MMWaveSensorStart:2413:0 failed!!!“ 如下所示。

    如果在  RetVal = rl_fecssRfPwrOnOff (M_DFP_DEVICE_INDEX_0、&gMmwMssMCB.channelCfg);) 添加断点、当步进进入时、CCS 20 显示未找到源文件“..\source\rl_device.c"。“。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    我检查了您的器件、似乎没有问题。 正如测试一样、您能否降低帧速率和突发数? frameCfg  32 0 4000 1. 100 0.理论上这不应该做,但我很好奇,如果错误最终是不同的。

    此致、

    Pedrorm

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、 Pedrorm、

    我将帧速率和突发数更改为'frameCfg  32  0 4000 1.  100  0 “,但没有幸运。 我也尝试降低它们到'frameCfg 8. 0 4000 1. 10. 0“但仍然失败。  

    INFO     [gui_parser.py:297] Connected (one port) with baud rate 115200
    b'sensorStop 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>channelCfg 7 3 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>chirpComnCfg 8 0 0 256 4 24.3 3\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>chirpTimingCfg 28 37 0 160 77\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>frameCfg 8 0 4000 1 10 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>antGeometryCfg 0 0 1 1 0 2 0 1 1 2 0 3 \n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>guiMonitor 1 1 0 0 0 1 0 0 0 0 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>sigProcChainCfg 64 32 1 0 0 0 0 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>sensorPosition 0 0 0.3 0 45\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>cfarCfg 2 8 4 3 0 6.0 0 0.95 0 1 1 1 \n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>aoaFovCfg -60 60 -20 20\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>rangeSelCfg 0.1 5.0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>clutterRemoval 1\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>compRangeBiasAndRxChanPhase 0.0 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>adcDataSource 0 adc_data_0001_CtestAdc6Ant.bin\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>adcLogging 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>lowPowerCfg 0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>factoryCalibCfg 0 0 40 0 0x1ff000\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>configRANSAC 1 200 1.0\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>compressionCfg 0 0.5\n'
    b'\n'
    b'Done\r\n'
    b'\n'
    b'mmwDemo:/>baudRate 1250000\n'
    b'\n'
    b'8'
    b''
    b'sensorStart 0 0 0 0\n'
    b'\n'
    b''
    b''
    ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
    ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
    ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
    ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
    ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out
    ERROR    [gui_parser.py:190]    Be sure that the device is in the proper SOP mode after flashing with the correct binary, and that the cfg you are sending is valid
    ERROR    [gui_parser.py:189] ERROR: No data detected on COM Port, read timed out

    根据调试信息、应用程序在以下行失败: RetVal =rl_fecssRfPwrOnOff (M_DFP_DEVICE_INDEX_0、&gMmwMssMCB.channelCfg);、

    RetVal 的值等于–105、应为  M_DFP_RET_CODE_RFS_PROTOCOL_ERROR。
    是否可能与硬件配置相关? 如手册中所述、 器件上的 S1.6 处于启用状态。 我将开关更改为下面的、但仍然无法运行演示应用程序。

    谢谢。