Failed to Connect to Hardware when Building and Loading for External Mode

6 次查看(过去 30 天)
While trying to run the example of event-driven task ( https://www.mathworks.com/help/soc/ug/event-driven-task-example.html ) in my Zedboard for the external mode, I experienced a hardware connection error in the SoC Builder window like this:
Unable to load screen soc.ui.ConnectHardware
Details: index exceeds the number of array elements. Index must not exceed 1.
In the MATLAB command window, the error shows like:
Cannot connect to Zynq Hardware at IP Address "zynq-zed8seJ9qTzaC".
Click here to view the troubleshooting guide and verify the IP Address settings of your hardware.
How to fix this issue in R2023b? I didn't see that issue in R2022a.

采纳的回答

Chao-Hwa Chen
Chao-Hwa Chen 2024-8-31
编辑:Chao-Hwa Chen 2024-8-31
I found a fix for the hardware connection error, verified in both R2023b and R2024a.
  1. On the "SYSTEM ON CHIP" tab, click "Hardware Settings".
  2. On the "Hardware Implementation" tab, expand "Target hardware resources", enter your device IP address, and select OK to close the window.
  3. Click "Configure, Build & Depoly" and the error is gone.

更多回答(0 个)

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by