Part Number:DCA1000EVMOther Parts Discussed in Thread: IWR6843
我要解决"Unable to read FPGA version. [error -5]"的问题,在 DCA1000EVM Data Capture Card User's Guide (Rev. A)搜索reflash没有找到相关内容
Nancy Wang:
请查看 9 FPGA Programming
https://www.ti.com/lit/ug/spruij4a/spruij4a.pdf
,
Xiaonan Zhang:
之前有点事没来得及尝试,今天用Diamond Programmer试了下,PDF上这一步要求Device和Package如此设定,,但是我这里没有PDF里提到的这两个选项,Package也只有两个8pin的
,
Nancy Wang:
请问device和package还是找不到吗?我试一下再给您回复。
,
Xiaonan Zhang:
我找到了,照着PDF的流程到LD14亮,中间用的文件是DCA1000_FPGA_RECORD_V2.8_05JUL2019.bit,再用mmwave studio,,前面的蓝色按钮都点好了,再点set up DCA1000,点connect,reset and,然后还出现之前的那个错误,
,
Xiaonan Zhang:
GM: ConstructorGM: Wed Jul 28 17:16:10 2021RSTD.Transmit("/Settings")[17:16:11] [17:16:11] ### Running Startup script: "D:\Ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###[17:16:11] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")[17:16:11] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")[17:16:11] Scripter ignored: Attempt to UnBuild() again or before Build.[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "D:\\Ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")[17:16:11] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "D:\\Ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")[17:16:11] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")[17:16:11] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")[17:16:11] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")[17:16:11] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")[17:16:11] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")[17:16:11] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")[17:16:11] RSTD.Transmit("/")[17:16:11] RSTD.SaveSettings(): Settings saved to "C:\Users\lenovo\AppData\Roaming\RSTD\config.xml"[17:16:11] RSTD.Build()[17:16:11] RSTD.SaveSettings(): Settings saved to "C:\Users\lenovo\AppData\Roaming\RSTD\config.xml"[17:16:11] RSTD.Transmit("/")[17:16:11] RSTD.AL_Build()[17:16:11] RSTD.AL_LoadXml()[17:16:11] RSTD.Transmit("/")[17:16:11] RSTD.AL_Init()[17:16:11] RSTD.Clients_Build()[17:16:11] GM: Init[17:16:11] GM: Loaded 'D:\Ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'[17:16:11] GM: 1 Guest (s) init[17:16:11] GM: 1 Module(s) init[17:16:11] GM: 2 Tab (s) init[17:16:11] RSTD.Client_LoadXml()[17:16:11] [RadarAPI]: ar1.selectRadarMode(0)[17:16:11] [RadarAPI]: Status: Passed[17:16:11] Matlab Runtime Engine is installed[17:16:11] [RadarAPI]: Starting Matlab Engine..[17:16:17] [RadarAPI]: Matlab Engine Started![17:16:19] [RadarAPI]: ar1.selectCascadeMode(0)[17:16:19] [RadarAPI]: Status: Passed[17:16:19] [RadarAPI]: ar1.LoadSettings('C:\Users\lenovo\AppData\Roaming\RSTD\ar1gui.ini')[17:16:19] TESTING = false[17:16:19] RstdNet: Port 2777: Listening..[17:16:19] [17:16:19] ***Script completed successfully.***[17:18:37] [RadarAPI]: Opening Gpio Control Port()[17:18:37] [RadarAPI]: Status: Passed[17:18:38] [RadarAPI]: Opening Board Control Port()[17:18:38] [RadarAPI]: Status: Passed[17:18:39] [RadarAPI]: ar1.FullReset()[17:18:39] [RadarAPI]: Status: Passed[17:18:39] [RadarAPI]: Closing Board Control Port()[17:18:39] [RadarAPI]: Status: Passed[17:18:39] [RadarAPI]: Closing Gpio Control Port()[17:18:39] [RadarAPI]: Status: Passed[17:18:39] [RadarAPI]: ar1.SOPControl(2)[17:18:39] [RadarAPI]: Status: Passed[17:18:40] [RadarAPI]: ar1.Connect(7,115200,1000)[17:18:41] [RadarAPI]: ar1.Calling_IsConnected()[17:18:42] [RadarAPI]: ar1.SelectChipVersion("IWR6843")[17:18:42] [RadarAPI]: Status: Passed[17:18:42] [RadarAPI]: ar1.frequencyBandSelection("60G")[17:18:42] [RadarAPI]: ar1.SelectChipVersion("IWR6843")[17:18:42] [RadarAPI]: Status: Passed[17:18:42] Device Status : IWR6843/QM/SOP:2/ES:2[17:18:42] [RadarAPI]: ar1.SaveSettings('C:\Users\lenovo\AppData\Roaming\RSTD\ar1gui.ini')[17:18:45] [RadarAPI]: ar1.DownloadBSSFw("D:\\Ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")[17:18:45] [RadarAPI]: Downloading BSS ROM RPRC Binary..[17:19:33] [RadarAPI]: ar1.GetBSSFwVersion()[17:19:33] [RadarAPI]: BSSFwVersion:(06.02.01.05 (09/03/20))[17:19:33] [RadarAPI]: ar1.DownloadMSSFw("D:\\Ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")[17:19:34] [RadarAPI]: Downloading MSS RPRC Binary..[17:19:53] [RadarAPI]: ar1.GetMSSFwVersion()[17:19:53] [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))[17:20:00] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)[17:20:00] [RadarAPI]: Status: Passed[17:20:00] MSS power up done async event received![17:20:02] [RadarAPI]: ar1.SelectChipVersion("IWR6843")[17:20:02] [RadarAPI]: Status: Passed[17:20:02] [RadarAPI]: ar1.SelectChipVersion("IWR6843")[17:20:02] [RadarAPI]: Status: Passed[17:20:02] Device Status : IWR6843/QM/SOP:2/ES:2[17:20:02] [RadarAPI]: ar1.RfEnable()[17:20:02] BSS power up done async event received![17:20:02] [RadarAPI]: Status: Passed[17:20:03] [RadarAPI]: ar1.GetMSSFwVersion()[17:20:03] [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))[17:20:03] [RadarAPI]: ar1.GetBSSFwVersion()[17:20:03] [RadarAPI]: BSSFwVersion:(06.02.01.05 (09/03/20))[17:20:08] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)[17:20:08] [RadarAPI]: Status: Passed[17:20:11] [RadarAPI]: ar1.LPModConfig(0, 0)[17:20:11] [RadarAPI]: Status: Passed[17:20:11] [RadarAPI]: ar1.RfInit()[17:20:11] RF Init async event received![17:20:11] [RadarAPI]: Status: Passed[17:20:11] [RadarAPI]: Time stamp, Temperture: 8790,52; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 1, 1; RxIQMM Status, Update: 1, 1; [17:20:14] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)[17:20:14] [RadarAPI]: Status: Passed[17:20:15] [RadarAPI]: ar1.LvdsClkConfig(1, 1)[17:20:15] [RadarAPI]: Status: Passed[17:20:16] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)[17:20:16] [RadarAPI]: Status: Passed[17:20:20] [RadarAPI]: ar1.ProfileConfig(0, 60, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 131072, 30)[17:20:20] [RadarAPI]: Status: Passed[17:20:22] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)[17:20:22] [RadarAPI]: Status: Passed[17:20:22] Test Source Already Disabled…!!![17:20:22] [RadarAPI]: ar1.DisableTestSource(0)[17:20:22] [RadarAPI]: Status: Passed[17:20:22] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)[17:20:23] [RadarAPI]: Status: Passed[17:20:23] [RadarAPI]: ar1.GetCaptureCardDllVersion()[17:20:23] [RadarAPI]: Sending dll_version command to DCA1000[17:20:23] [RadarAPI]: [17:20:23] DLL Version : 1.0[17:20:23] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")[17:20:23] [RadarAPI]: Status: Passed[17:21:41] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)[17:21:41] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)[17:21:41] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)[17:21:41] [RadarAPI]: Sending fpga command to DCA1000[17:21:51] [RadarAPI]: [17:21:51] FPGA Configuration : [17:21:51] Timeout Error! System disconnected[17:21:51] [RadarAPI]: Sending record command to DCA1000[17:22:01] [RadarAPI]: [17:22:01] Configure Record : [17:22:01] Timeout Error! System disconnected[17:22:01] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()[17:22:01] [RadarAPI]: Sending fpga_version command to DCA1000[17:22:11] [RadarAPI]: [17:22:11] [17:22:11] Unable to read FPGA Version. [error -5][17:22:11]
,
Xiaonan Zhang:
另外我前两天开了新问题问这件事
,
Nancy Wang:
是不是防火墙的问题
参考以下FAQ中FPGA Issues总结看一下。
https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/872161/faq-dca1000evm-dca1000evm-debug-resources
,
Xiaonan Zhang:
的确是防火墙的问题。把Windows Defender 防火墙的来宾或公用网络关了即可。如图