running open_syste​m('hdlcode​r_led_blin​king') for zynq, but no connection?

Hi, i am using usb jtag cable for communication with zynq-zc702, but i can't see serialport as instructed in the webinar, how should i connect with zynq? ethernet(ip address)? uart? jtag? i'm confused...
Trial>> z =zynq; Trial>> z
z =
LinuxServices with properties:
SerialPort: []
hostname: '10.10.10.1'
username: 'root'
port: 22
protocol: 'ssh'
BR
Owen

5 Comments

Hi, i use sd card for booting, and connect both usb-jtag and usb-uart to zc702, now i can go further and try to run embedded coder... however, while i execute "Build Model" :
Warning: The following error was caught while executing 'coder.internal.ModelBuilder' class destructor: Error: File: execstring Line: 1 Column: 26 syntax error
anything else needed to be re-configured?
Thanks
Owen
To run the demo you need three connections: Ethernet cable, UART, and programming cable.
Embeded Coder needs the Ethernet connection to operate in External Mode, which is what is expected in the example.
-noam
Hi noam,
Thanks for your information, now i can connect with zynq, and proceed with embedded coder build.
but there is a "Model Error reported by Simulink" "Error: File: execstring Line: 1 Column: 26 syntax error "
i am running "zynq_gettingstarted" Simulate Sum-Diff Algorithm example (pure embedded coder), what could be the problem here?
thanks
Owen
Hi noam,
the syntax error is because the ip address should use 'xxx.xxx.xxx.xxx' instead of "xxx.xxx.xxx.xxx". i could run the example now.
i am running "sobel filter example" with zc702, but both behavior model and hardware result windows are showing black(no data?)
what could be the problem here?
thanks
Owen
the log as below:
*starting the model*
*simulation finished* resolution set @ id = 0 .... 1920*1080 incorrect input [..] turning on the previous pattern
log on simulink window:
"Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. Possible reasons for the failure: a) The target is not switched on. b) The target is not connected to your host machine. c) The application for the model is not running on the target. You might have clicked the Stop button.
Caused by: An error occurred attempting to open an rtIOStream. More detail may be reported in the MATLAB command window"
it seems that i should change the default image source?

Sign in to comment.

Answers (1)

To run the hdlcoder_led_blinking demo you need three connections: Ethernet cable, UART, and programming cable.
Embeded Coder needs the Ethernet connection to operate in External Mode, which is what is expected in the example.

Asked:

on 18 Nov 2013

Edited:

on 24 Nov 2013

Community Treasure Hunt

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

Start Hunting!