Zynq UDP Server Model example not working

조회 수: 5 (최근 30일)
Correus Basura
Correus Basura 2015년 12월 16일
답변: Correus Basura 2016년 1월 4일
Hello,
I am trying to run the zynq_udp_server model but it does not work. I followed the steps written in this manual. It compiles well, but then, when the command window opens to download the program on the Zynq it says:
"C:/Xilinx/14.4/ISE_DS/EDK/gnu/arm/nt/bin/arm-xilinx-linux-gnueabi-gcc.exe" ./Ho
stLib_Network.o ./HostLib_rtw.o ./linuxUDP.o ./MW_csl.o ./zynq_udp_server.o ./zy
nq_udp_server_data.o ./zynq_udp_server_main.o -lm -ldl -lrt -lpthread -o
./CustomMW/zynq_udp_server
"Evaluating build target..."
"Evaluating execute target..."
"C:/MATLAB/SupportPackages/R2013b/zynq/download.bat" "C:\Program Files\MATLAB\R2
013b\toolbox\idelink\foundation\hostapps" "root" "root" "10.20.43.95" "/tmp" "./
CustomMW/zynq_udp_server"
'"C:/MATLAB/SupportPackages/R2013b/zynq/download.bat"' is not recognized as an i
nternal or external command,
operable program or batch file.
cs-make: *** [execute] Error 1
C:\Users\Home\Documents\MATLAB\zynq_udp_server_xilinxise>
There is no download.bat in that folder. I am using ISE 14.4 and Matlab 2013b.
I found a download.bat somewhere, but it does not work either:
@echo off
IF "%PROCESSOR_ARCHITECTURE%"=="x86" set XMD_DIR=D:\Xilinx\14.4\ISE_DS\EDK\bin\nt
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" set XMD_DIR=D:\Xilinx\14.4\ISE_DS\EDK\bin\nt64
%XMD_DIR%\xmd.exe -tcl zynq_udp_server
pause
When trying with it, it says The device is not ready but Zynq does respond to h.checkConnection() on Matlab:
"C:/Xilinx/14.4/ISE_DS/EDK/gnu/arm/nt/bin/arm-xilinx-linux-gnueabi-gcc.exe" ./Ho
stLib_Network.o ./HostLib_rtw.o ./linuxUDP.o ./MW_csl.o ./zynq_udp_server.o ./zy
nq_udp_server_data.o ./zynq_udp_server_main.o -lm -ldl -lrt -lpthread -o
./CustomMW/zynq_udp_server
"Evaluating build target..."
"Evaluating execute target..."
"C:/MATLAB/SupportPackages/R2013b/zynq/download.bat" "C:\Program Files\MATLAB\R2
013b\toolbox\idelink\foundation\hostapps" "root" "root" "10.20.43.95" "/tmp" "./
CustomMW/zynq_udp_server"
The device is not ready.
Press any key to continue . . .
I do not know what else to try.
Thanks in advance if someone can help.

채택된 답변

Correus Basura
Correus Basura 2016년 1월 4일
Ok, could be that the ISE installation did not work properly. I installed ISE 14.4 in another computer and this time there was a download.bat in the folder.
I attach the file here. You just need to remove .txt from the file name and copy it in the proper Matlab folder (depends on your version). Mine is this one:
C:\MATLAB\SupportPackages\R2013b\zynq
Cheers!

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by