TI中文支持网
TI专业的中文技术问题搜集分享网站

IWRL1432BOOST: 按照流程,已经全都执行,但是最后执行LUA文件还是失败

Part Number:IWRL1432BOOST

1.硬件配置按照DCA1000 mmWave Studio User Guide (ti.com)的Hardware Setup: xWRL6432BOOST and xWRL1432BOOST Low Power Evaluation Modules设置(没有进行flashing等操作,将SOP按照教程的图片调整,然后按下S2进行reset)

2.软件配置方面,软件都按照流程下载好了,以太网也按照文档的地址输入。出现弹窗,点击“是”。然后网络连接界面如下:

3.根据设备管理器提供的端口号,我在C:\ti\mmwave_studio_04_01_00_06\mmWaveStudio\Scripts\MatlabExamples\LUA_examples\common_device_setup_77G.lua的代码中修改。

固件目录写的根据文档的内容结合我下载的SDK路径写的

但是最后出现

[13:32:17] s_version = mws.GetPostProcVersion()
[13:32:17] mws.ftdiResetAllDevices()
[13:32:17] –xw_status = 0
[13:32:17] xw_status = mws.selectBDType(0, 0, 1, 0)
[13:32:17] –xw_status = 0
[13:32:17] xw_status = mws.selectComIfType(1, 1000, 0, 2, 0)
[13:32:17] –xw_status = 0
[13:32:17] [RadarAPI]: mws.SelectCaptureDevice("DCA1000")
[13:32:17] [RadarAPI]: Status: Passed
[13:32:17] xw_status = mws.captureCardCfgResetFPGA()
[13:32:17] [RadarAPI]: Sending reset_fpga command to DCA1000
[13:32:17] [RadarAPI]:[13:32:17] Reset FPGA command : Success
[13:32:17] –xw_status=0
[13:32:17] xw_status = mws.captureCardEthernetCfg("192.168.33.30", "192.168.33.180", "12.34.56.78.90.12", 4096, 4098, 1)
[13:32:17] [RadarAPI]: Sending eeprom command to DCA1000
[13:32:17] [RadarAPI]:[13:32:17] EEPROM Configuration command : Success
[13:32:17] –xw_status=0
[13:32:17] xw_status = mws.captureCardModeCfg(1,1,1,2, 1, 25)
[13:32:17] [RadarAPI]: Sending fpga command to DCA1000
[13:32:17] [RadarAPI]:[13:32:17] FPGA Configuration command : Success
[13:32:17] [RadarAPI]: Sending record command to DCA1000
[13:32:17] [RadarAPI]:[13:32:17] Configure Record command : Success
[13:32:17] –xw_status=0
[13:32:17] xw_status, s_version, s_dllVersion = mws.getCaptureCardFPGAVersion()
[13:32:17] [RadarAPI]: Sending fpga_version command to DCA1000
[13:32:17] [RadarAPI]:[13:32:17][13:32:17] FPGA Version : 2.8 [Record]
[13:32:17][13:32:17] [RadarAPI]: Sending dll_version command to DCA1000
[13:32:17] [RadarAPI]:[13:32:17] DLL Version : 1.0
[13:32:17] –xw_status=0
[13:32:17] xw_status = mws.sopControl(0, 3)
[13:32:17] –xw_status = 0
[13:32:17] xw_status = mws.nReset(0)
[13:32:18] –xw_status = 0
[13:32:18] xw_status = mws.rs232Config(0, 7, 0, 0)
[13:32:20] xw_status, lot, wafer, devX, devY = mws.decodeDieId(3357625344, 1074349252)
[13:32:20] DeviceType:36893x
[13:32:20] SafetyType:1
[13:32:20] ES_PG_Version1
[13:32:20] SOP_MODE:3
[13:32:20] DieId:28802.1260752896.3357625344.1074349252
[13:32:20] XTAL_Type:1
[13:32:20] –xw_status = 0
[13:32:20] xw_status = mws.sopDebugFwPreBootCfg(0, 1, 0, 0)
[13:32:20] –xw_status = 0
[13:32:20] xw_status = mws.fwRprcDownload(0, 2, "C:\\ti\\MMWAVE_L_SDK_05_04_00_01\\firmware\\mmwave_dfp\\rfevalfirmware\\appss\\mmwave_plt_rfeval_rprc.bin")
[13:32:28] –xw_status = 0
[13:32:28] xw_status = mws.sopDebugFwPostBootCfg(0, 0, 0, 0, 0, 0)
[13:32:28] –xw_status = 0
[13:32:28] xw_status = mws.fwRprcDownload(0, 0, "C:\\ti\\MMWAVE_L_SDK_05_04_00_01\\firmware\\mmwave_dfp\\rfsfirmware\\xWRL1432\\mmwave_rfs_rprc.bin")
[13:32:38] –xw_status = 0
[13:32:38] xw_status = mws.fwRprcDownload(0, 1, "C:\\ti\\MMWAVE_L_SDK_05_04_00_01\\firmware\\mmwave_dfp\\rfevalfirmware\\rfsatecal\\xWRL1432\\mmwave_rfs_atecal_rprc.bin")
[13:32:39] –xw_status = 0
[13:32:39] xw_status, t_deviceStatus = mws.devicePowerup(0, 0, 0, 0)
[13:32:42] ———–rfEvalDevAppStsGet———–[13:32:42][13:32:42] [DFP API]xw_status, response=mws.rfEvalDevAppStsGet(0)
[13:32:42] –[[ Response
[13:32:42] c_GenVerNum = 0[13:32:42] c_MajorVerNum = 0[13:32:42] c_MinorVerNum = 0[13:32:42] c_BuildVerNum = 0[13:32:42] c_Year = 0[13:32:42] c_Month = 0[13:32:42] c_Date = 0[13:32:42] c_Reserved = 0[13:32:42] h_FwState = 0[13:32:42] c_XtalType = 0[13:32:42] c_DigPllStatus = 0[13:32:42] c_AppCoreClockType = 0[13:32:42] c_SafetyType = 0[13:32:42] h_CoreFreqFcount = 0[13:32:42] c_PlatformId = 0[13:32:42] c_RfType = 0[13:32:42] c_TestTarget = 0[13:32:42] c_TestStatus = 0[13:32:42] w_reserved1 = 0[13:32:42] ]]
[13:32:42] –xw_status: -2007 (RL_SPIBUSY_TIMEOUT)
[13:32:42][13:32:42] Device Power Up Failed-2007
[13:32:42] –xw_status = -2007
[13:32:42][13:32:42] &&&&&&&&&&&&&&&&&&&&
[13:32:42] ***Script FAILED!***
[13:32:42] &&&&&&&&&&&&&&&&&&&&
[13:32:42] Exception message is:
[13:32:42] …labExamples\LUA_examples\common_device_setup_77G.lua:70: ERROR: API failed

Chris Meng:

你好,

报错是SPI相关,请检查一下板上上SPI相关开关。

Thanks,

Chris

,

Research Cen:

您好

可以帮忙再详细解释一下吗?在SOP开关设置和接线上我都和文档上一样,但是没有看到文档里哪里涉及到SPI相关的开关。我很抱歉不知道该怎么找到问题所在。

谢谢您。

赞(0)
未经允许不得转载:TI中文支持网 » IWRL1432BOOST: 按照流程,已经全都执行,但是最后执行LUA文件还是失败
分享到: 更多 (0)