Sorry, you need to enable JavaScript to visit this website.

MicroZed Run sdk application

Unsolved
9 posts / 0 new
raymadigan's picture
raymadigan
Junior(0)
MicroZed Run sdk application

I bought a MicroZed a long time ago and am finally getting to it. I have built an application following the Adam Taylor blog to write Hello World to the console. I have build the application and it seems ok, but I can't get it to run.

At first I got a message that there was no ARM device on connection local. Cable is not connected to host.

I have created a Target connection to connect to the device:

Type: Hardware Server
Host: 192.168.1.10
Port: 3121

I get the message that the hardware server is not running on the machine. I can't find the hardware server to run it. On some pages I found while googling I found where I was told to run hw_server but that doesn't exist anymore.

What did I miss? I will work to figure this out, I just need a pointer.

TroutChaser's picture
TroutChaser
Moderator(18)
Do you have a JTAG

Do you have a JTAG programming cable, such as an HS3 cable connected to your MicroZed?
http://www.em.avnet.com/en-us/design/drc/Pages/Digilent-JTAG-HS3-Program...
 
You connect this cable directly to the J3 Connector on your MicroZed Board if you are using it 'standalone' and powered from the USB connector. If you have the MicroZed plugged into a Carrier Card you will need to connect the programming cable to the Carrier Card JTAG connector.
 
Then I would suggest you take a look at the MicroZed tutorials available on the MicroZed Reference Designs page:
 
http://zedboard.org/support/design/1519/10
 
There are also solution files for the tutorials as well as instructions for programming the QSPI Flash on the same page.
 
-Gary

raymadigan's picture
raymadigan
Junior(0)
I have the HS2 RevA cable.

I have the HS2 RevA cable.

Thank you for the reference. I had actually downloaded one of the pages before. I did get further because:

1. Set the Boot Mode jumpers to Cascaded JTAG Mode.

Which I didn't know before. Now I get the message that it can't find the fpga. I am sure the cable is setup correctly, but I can't find how to set the Xilinx/Digilent cable switch settings. In previous SDK there was a menu item to accomplish this which is not available.

TroutChaser's picture
TroutChaser
Moderator(18)
Can you check and see if your

Can you check and see if your host PC is recognizing the HS2 JTAG cable? When you plug the HS2 into your PC USB (even wtihout being connected to the MicroZed) you should hear a 'notification' sound and, in the Windows Device Manager under Universal Serial Bus controllers, you should see a 'USB Serial Converter' added to the list of controllers.
 
If you disconnect the HS2 from the PC the USB Serial Converter entry should disapear.
 
If not you might want to go back and install the cable drivers in your Vivado/SDK installation.
 
-Gary

raymadigan's picture
raymadigan
Junior(0)
I am running Linux, ubuntu 14

I am running Linux, ubuntu 14.04.

I have installed the kernel driver,

if I lsmod | grep cp210x

I get
cp210x 23512 0
usbserial 45014 2 cp210x, ftdi_sio

before the board is plugged in
/dev/ttyUSB0 is present

when I plug the board in
/dev/ttyUSB1 is also present.

if I
dmesg | grep cp210x I get
[ 300.683313] usbcore: registered new interface driver cp210x
[ 300.683330] usbserial: USB Serial support registered for cp210x
[ 300.683372] cp210x 8-1:1.0: cp210x converter detected
[ 300.685010] usb 8-1: cp210x converter now attached to ttyUSB1

I don't know what else to check?

raymadigan's picture
raymadigan
Junior(0)
I did the exact same

I did the exact same procedure on a windows machine and there are no problems. One thing that is different is that on the the linux machine I am unable to get the terminal that is part of the SDK to work. All I get is

No Such Port: ttyUSB1 or /dev/USB1

it I dmesg | tail

it shows the same messages that the converter is connected to /dev/ttyUSB1.

TroutChaser's picture
TroutChaser
Moderator(18)
See if this forum post is

See if this forum post is helpful:
 
http://microzed.org/content/usb-uart-problem
 
-Gary

raymadigan's picture
raymadigan
Junior(0)
I did all of that and it

I did all of that and it worked just as before. When I have the MicroZed boot in sd card mode I can watch the boot process on the terminal device as it is connected to /dev/ttyUSB1. When I try to program the FPGA after I put the device in cascade boot mode I get the message that it can't find the device on local. When I look at local it is the localhost IP address and the cable is connected to a usb port. It is just like in the windows setup. There is no IP cable connected. I hate windows and I hope I don't have to use it for this project.

TroutChaser's picture
TroutChaser
Moderator(18)
I am not sure what is causing

I am not sure what is causing your issue but, since it is really a Xilinx tools working with your Linux host PC, you might get an audience with more experience in the area on one of the Xilinx Community Forums:
 
https://forums.xilinx.com/
 
Probably one of the Design Tools forums.
 
I did notice that there is a note in the latest Vivado Release Notes and Installation document (on page 24) about changes to how the cable drivers are installed under Linux: 
 
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2015_4/ug97...
 
Good luck with your search. Please post back if you find a solution.
 
-Gary