Embedded Coder for zynq UltraSCALE - Hardware Setup Error

1 次查看(过去 30 天)
Iam following example: "Getting Started with Targeting Zynq UltraScale+ MPSoC Platform". I have connected board via ethernet directly to my PC, same with UART. Instaled latest drivers for "CP210x USB to UART Bridge", set all the Switches to designated positions for programing from SD Card and tried going with Setup for embadded coder. After instaling image onto SD Card and inserting it into SD card slot I try to move on yet I get Hardware Setup Error that states:
Undefined function 'loc_isConnected' for input arguments of type 'struct'.
Thank you in Advance

采纳的回答

Kamil Sawicki
Kamil Sawicki 2022-4-21
So I got response from Matlab support, apparently there is a bug caused by latest update of Matlab 2022a. In order to fix this bug you are supposed to:
1. In the MATLAB command line, run the following: cd(matlabshared.supportpkg.getSupportPackageRoot)
2. In the MATLAB command line, then run the following: cd('toolbox\target\supportpackages\shared_linuxservices\+matlabshared\+internal\+linuxhwsetup')
3. Rename the existing 'WindowsHardwareModule.p' to 'WindowsHardwareModule_bak.p'
4. Copy the 'WindowsHardwareModule.p' (that I have attached in this email) to the MATLAB you are currently in
5. Run the following in the MATLAB command line: rehash toolboxreset
6. Exit and restart MATLAB
This bug might occure with other boards. I got my hands on Zynq 702 and the error is the same.

更多回答(0 个)

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by