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

SDK can't program FPGA on MiniZed

Unsolved
4 posts / 0 new
ph2017's picture
ph2017
Junior(0)
SDK can't program FPGA on MiniZed

Hello,
I've been going through the MiniZed tutorial, and I'm getting caught on step 02 - the Hello World application. The SDK can't seem to program the Zynq, although I'm able to connect to it via TTL USB (when the boot switch in the F position) and have set the switch to J (JTAG) boot before plugging it in.
My OS is Ubuntu 16.04.3 LTS, and the SDK is version 17.1.

Below is a screenshot of the issue: https://i.imgur.com/fGSzrGu.png

JFoster's picture
JFoster
Moderator(48)
Hello poh2017,

Hello poh2017,

I would just like to verify a few things.

Did you generated a standalone BSP?

In the BSP did you changed STDIN and STDOUT to ps7_uart_1?

You have your MicroUSB connected between J2 and you PC?

Did you recieve any errors when you imported your hardware platform? Also double check you imported the correct hardware platform.

Are you able to try this on a Windows 7 PC? That would be worth trying seeing as the tutorials were generated using Windows 7.

Did you install the Board Definition Files in Vivado? 

 

From my understanding your issue occurs when your MiniZed is in JTAG boot and you attempt to load the bitstream over the MicroUSB cable connected to J2 via JTAG correct? However, the device is recognizable via a terminal connection.

I have seen this in the past with MiniZed, this has occured for me when Tera Term was not shutdown or explicitly disconnected when I powered down my MiniZed. This in turn locked up my COM port for an extended period of time.

Thanks,

Josh

ph2017's picture
ph2017
Junior(0)
Yes, I first generated a base

Yes, I first generated a base hardware platform and then a standalone BSP as shown in the guide. 
STDIN and STDOUT are both "ps7_uart_1", yes. 
I have it connected to the computer through J2 only, and there is no disk in USB1.
I didn't receive any errors, and the hardware platform is definitely the MiniZed.
This is on a Linux (Ubuntu 16.04) desktop computer. The Board Definition files are installed.
 
To connect with it for a normal TTL boot, I use the Linux command "screen /dev/ttyUSB1 115200" and get the petalinux root login as expected. The issue seems to be with the SDK's internal terminal program.

JFoster's picture
JFoster
Moderator(48)
Hello Ph2017,

Hello Ph2017,

Does the Hello World application run if you use a different terminal application and then run hello world?(Not the SDK Terminal)

--Josh