My name is Sven Andersson and I
work as a consultant in embedded
system design, implemented in ASIC
In my spare time I write this blog
and I hope it will inspire others to
learn more about this fantastic field.
I live in Stockholm Sweden and have
my own company
You are welcome to contact me
and ask questions or make comments
about my blog.
After installing the JTAG cable drivers and having a working connection to the ZedBoard we are ready to run the "Hello World" program. We will use Xilinx SDK to configure the ARM processing system load and run the program. Before we start SDK let's setup a terminal emulator.
Terminal emulator setup
We need to connect a terminal to the Zynq Processing system to be able to print out the "Hello World" string. We could of course connect a real hardware terminal but i think that is overkill. We will connect a terminal emulator instead. I have been using GTKterm for many years and find it very easy to use. Let's install it:
sudo apt-get install gtkterm
First time we start GTKterm we will get an error and this window pops up:
Here is the explanation.
This can easily be fixed by adding us to the dialout group using the following command:
sudo addgroup svenand dialout
Logout and login for the group add to take place.
Select port: /dev/ttyACM0 and set the baud rate to 115200.
If this window pops up just try a few more times and all of sudden it works. I have no explanation why this happens. Executing this command before starting GTKterm seems to fix the problem:
Hi, thanks for the great tutorials. I recently started in on the microzed board and could not get the system debugger to work! The xilinx documents showing how to do this use the built in terminal and SDK crashed everytime. I took your example and used CU terminal and the debugger works fine for me now!
Brandon J June 27, 2014 03:31 PM PDT
djtgcfg enum also didn't work for me. I used minicom to monitor uart and it worked great.
Huse June 25, 2014 11:56 AM PDT
Eventhough i still can´t find the device with " djtgcfg enum", i have been able to complete this examples conecting the console to "/dev/ttyUSB0 " port.
Thanks for the great tutorial
svenand June 18, 2014 08:13 PM PDT Hi Huse,
I have used Vivado 2013.4 and 2014.1. Maybe something has changed in Vivado 2014.2. I will install Vivado 2014.2 and give it a try.
Huse June 18, 2014 06:12 PM PDT
I'm following your tutorial with Vivado 2014.2 and Microzed, but some steps don't come out as yours. The hardware manager locates the board but when i run "djtgcfg enum" it says that no device is found. in gtkterm, there is no ACM0, only ttyS0 to ttyS11.
So eventhough i can run HelloWorld i can't see the result, and SDK alerts me that "Process STDIO not connected to console".
I would truely apreciate a hint.