Embedded Coder for zynq UltraSCALE - Hardware Setup Error

조회 수: 1 (최근 30일)
Kamil Sawicki
Kamil Sawicki 2022년 4월 7일
답변: Kamil Sawicki 2022년 4월 21일
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