Parallella FPGA Tutorials available

Using Zynq Programmable Logic and Xilinx tools to create custom board configurations

Re: Parallella FPGA Tutorials available

Postby yanidubin » Sat Jan 03, 2015 10:26 am

steddyman wrote:I've been trying to load and edit the source for the 7020 with HDMI without any success. I have used GIT to pull down the HDMI sources into Externals without any issues.

I can load the PPR project in PlanAhead but when I double click the System XPS it always reports that my license does cover XPS. I am using the ISE Webpack license which is supposed to cover the 7010, 7020 and 7030 devices.


Yes, as I mention in the tutorial, you can safely ignore this error. There appears to be no way to fix it - just put it down to shoddiness of Xiling tools. It actually it does not prevent anything from working, but is annoying to dismiss every time you run the XPS.

steddyman wrote:I am running Windows 8.1 and was getting this error in PlanAhead but fixed it after a little googling on renaming DLL's to allow ISE to run under 64 bit Windows. But nothing mentions XPS.

Is this a problem with the spurce or a problem with ISE?


Sorry, no idea on Windows - I use only Linux. I assume you mean a different error to the license thing? I'd be surprised if a DLL affected that one. If you post a link to the workaround, I can add this to the tutorial to improve things for people starting out with that version of Windows.

Is the problem with 7020/HDMI simply to do with the XPS licensing error (and Windows 8.1 issue you seem to have worked around)? Or is there a step in the tutorial which fails because the base project differs? Or a compilation issue? If there is an issue, and you give me a little more info, I might be able to help.
User avatar
yanidubin
 
Posts: 95
Joined: Mon Dec 17, 2012 3:23 am
Location: Christchurch, New Zealand

Re: Parallella FPGA Tutorials available

Postby steddyman » Sat Jan 03, 2015 11:03 am

I've downloaded and opened the project in PlanAhead again to double check for errors and I see this when he project is first loaded:

[Edk 24-162] The device settings for system.xmp does not match with the current project. Please change the device settings in the current project to match with XMP project.

I suspect this relates to my issue. This is the source project downloaded straight from the Github repository.
steddyman
 
Posts: 19
Joined: Thu Dec 25, 2014 8:44 pm

Re: Parallella FPGA Tutorials available

Postby steddyman » Sat Jan 03, 2015 11:25 am

yanidubin wrote:Yes, as I mention in the tutorial, you can safely ignore this error. There appears to be no way to fix it - just put it down to shoddiness of Xiling tools. It actually it does not prevent anything from working, but is annoying to dismiss every time you run the XPS.


Actually, I can't seem to ignore it. When I click YES to continue opening the project, it waits for about a minute, doesn't load anything then XPS just closes so I am unable to edit anything.
steddyman
 
Posts: 19
Joined: Thu Dec 25, 2014 8:44 pm

Re: Parallella FPGA Tutorials available

Postby yanidubin » Sat Jan 03, 2015 12:13 pm

Okay - but I suspect the license is a red herring (everyone gets that one, and generally it does continue to work). I don't see why the licensing would be handled differently on your version of windows.

If you are unable to open a known good working project with XPS, then we can determine that it isn't a source issue. I suggest you try opening an unmolested project (either one of the pre-canned tutorial projects from my github based on HDMI-less, or any of the ones from parallella-hw). If this works, then you have verified that firstly the XPS does work without the license, and secondly that the XPS is stable on your version of Windows, and the project is the problem. If it doesn't however, there are still two potential issues. Licensing, or general stability.

Unfortunately, I can't find any log file the tool would spit out with the reason for the crash. I don't think the one at sources_1/system/system.log will be of any help, as this seems to be the output of the compile command and you don't get that far. And while planAhead keeps a journal file (planAhead.jou), I don't believe the XPS does.

I have been lucky in that whenever I have tried to load a malformed project (invalid path in hand edited file, or missing folder), I got a dialogue box error before it crashed. If it tells you nothing before it dies, I would speculate it might be unstable. Does it exit cleanly, or does Windows report the application as having crashed?
User avatar
yanidubin
 
Posts: 95
Joined: Mon Dec 17, 2012 3:23 am
Location: Christchurch, New Zealand

Re: Parallella FPGA Tutorials available

Postby yanidubin » Sat Jan 03, 2015 12:22 pm

steddyman wrote:I've downloaded and opened the project in PlanAhead again to double check for errors and I see this when he project is first loaded:

[Edk 24-162] The device settings for system.xmp does not match with the current project. Please change the device settings in the current project to match with XMP project.

I suspect this relates to my issue. This is the source project downloaded straight from the Github repository.


Sorry, only just saw this post after I replied to the other.

This is an error I was familiar with - It is to do with two files getting out of sync. I believe it is the system.mhs and data/ps7_system_prj.xml files. I can't remember what triggered it exactly - maybe adding new IP / connections by manually editing the .mhs file. The GUI does sanity checking of the XML file - which is not particularly hand editable, and gets upset about these being out of sync.

If this is straight from github, then probably the project is broken. Is it one of mine? Which one? I can try and have to look at it tomorrow, as it is rather late here.
User avatar
yanidubin
 
Posts: 95
Joined: Mon Dec 17, 2012 3:23 am
Location: Christchurch, New Zealand

Re: Parallella FPGA Tutorials available

Postby steddyman » Sat Jan 03, 2015 7:48 pm

HI

Sorry for the delay in replying and thanks for your help once again. I have copied down your repo and placed it alongside the parallella-hw directory (mine was called parallella-hw-master but I renamed it).

When I open Tutorial004_SimpleALU, I get the same message as above about the device settings do not match. When I double click the system.xmp in PlanAhead, it again reports the license error (ignored) then reports it can't find axi4lite.... I point it at the correct directory in the edk_user_repository, then it goes away and thinks about it for a while then does exactly the same again and XPS just closes itself.

I noticed I also get this error reported twice before the device settings one (I get them with the original project too):

CRITICAL WARNING: [Edk 24-160] BXML file generation failed for source 'system'. Please see console for any errors/warnings that may be reported.

The last thing that appears before XPS closes after a long pause is the menu title changes to System Assembly View. If I close the License Manager window that pops up, then the XPS immediately goes Not Responding and then quits shortly after. If I leave the License Manager open then I see the System Assembly View title change then the window closes.

This problem is similar to what happened with PlanAhead prior to the DLL patch for Windows 8.1:

http://www.eevblog.com/forum/microcontr ... -8-64-bit/

I have also made the same DLL changes in the EDK/lib/nt64 directory but it makes no difference.
Thanks again for your help.
steddyman
 
Posts: 19
Joined: Thu Dec 25, 2014 8:44 pm

Re: Parallella FPGA Tutorials available

Postby yanidubin » Sun Jan 04, 2015 12:04 pm

I did a quick test before bed, and it looks like this project works to the point of loading/using the XPS for me. I did a clean checkout to a new folder of the two repos, and loaded that project (would not have been surprised if it was broken - this is a tutorial I have written 90%, but never got around to publishing it - so likely hasn't had many people try and build it). I had no issues locating the edk repository. I believe I deliberately used relative links, so you should not have had any issues here.

I launched the XPS from planAhead (via system.xmp right click and open), and could generate a netlist. I did note it deleting a bunch of ports when it fired up, but this was informational rather than a warning/error. When I try to build from planAhead however, it trips over this.

The issue is that while parallella-hw was barely changing when I wrote these, it seems to have been updated since. So I will post the compatible point in their repo for people to use in the first instance, and ultimately update the sources to work with the current tip. I daresay there is a fairly minimal change I need to apply to any files cloned into each project. Once that is done, they will work again.

I have a few other projects taking priority at present - so it may take a little while.
Last edited by yanidubin on Sun Jan 04, 2015 12:09 pm, edited 1 time in total.
User avatar
yanidubin
 
Posts: 95
Joined: Mon Dec 17, 2012 3:23 am
Location: Christchurch, New Zealand

Re: Parallella FPGA Tutorials available

Postby yanidubin » Sun Jan 04, 2015 12:06 pm

For anyone having incompatibility issues with parallella-hw, the working folder I was using when I last worked on this was at changeset ce97134bc01e8f3b8374e0e74b2ca191c8873f59. So it you want to work through the tutorials, go with this until I update the code.
User avatar
yanidubin
 
Posts: 95
Joined: Mon Dec 17, 2012 3:23 am
Location: Christchurch, New Zealand

Re: Parallella FPGA Tutorials available

Postby steddyman » Sun Jan 04, 2015 4:07 pm

I found a better fix for ISE under Windows 8.1 here, which instead copies over the DLL's from Vivado to fix startup and license issues:

http://forums.xilinx.com/t5/Installatio ... 650/page/6

However, I am still seeing the same behavior with XPS closing, but I now think it is a different issue to the device settings error. I have noticed that if I open the 7020 HDMI project, and click on system_i and look at the Source Node Properties, it reports the Part as: "No part found". If I open the 7020 Headless or the 7010 projects they all correctly report the relevant XC part number in that field. I have downloaded the entire tree again from Github, so this is definitely an issue with the repository.

When I open one of the other projects that correctly report the part number for the Zynq, they open without reporting the error. However, agin XPS reports the license error, waits about 1 minute then closes automatically (crashes?). So the error about device mismatch is not what is causing XPS to crash.
steddyman
 
Posts: 19
Joined: Thu Dec 25, 2014 8:44 pm

Re: Parallella FPGA Tutorials available

Postby steddyman » Sun Jan 04, 2015 9:11 pm

Confirmed. The crashing issue is an incompatibility with Windows 8.1.

I installed ISE on an old Windows 7 64-bit VM I have and XPS launches (still get license error) then loads perfectly fine showing me the full design I can then edit.

It just point blank refuses to work on Windows 7. The Project still reports the Part as No Part Found for the HDMI 7020 project, but it loads just fine and you can edit it.
steddyman
 
Posts: 19
Joined: Thu Dec 25, 2014 8:44 pm

PreviousNext

Return to FPGA Design

Who is online

Users browsing this forum: No registered users and 1 guest