egnanam Posted March 9, 2017 Share Posted March 9, 2017 Hi I am trying out the tutorial 1C on LED test from Zynq book tutorials with Vivado SDK 2015.4 and I get missing include files xgpio.h. I rather see only an xgpiops.h in the bsp include directory. What might be the basic issue? Link to comment Share on other sites More sharing options...
Notarobot Posted March 9, 2017 Share Posted March 9, 2017 Hi, In my experience Vivado and SDK are closely following date and time of the files in the project. All files should be in sync, otherwise, SDK doesn't see them. Usually I do click "Refresh" on the tree containg the missing file. The most efficient way is to start SDK from the Vivado after exporting hardware to SDK. In my opinion this is all about syncing files. Hope this will help! Link to comment Share on other sites More sharing options...
jpeyron Posted March 9, 2017 Share Posted March 9, 2017 Hi @egnanam, Could you please take a screen shot of the issue in sdk and attach it? Also I have had sdk have an issue finding certain #includes before. Closing sdk and relaunching it will fixed it if that is the problem. cheers, Jon Link to comment Share on other sites More sharing options...
egnanam Posted March 9, 2017 Author Share Posted March 9, 2017 Hi, Thanks for the responses and getting me warmed up to the forum. I see that in all the BSP include files generated, the xgpiops.h files exists but not the xgpio.h file which is the file thaat LED_test_tut_1C.c is including. /* Include Files */ #include "xparameters.h"#include "xgpio.h" #include "xstatus.h" #include "xil_printf.h" I am doing the tutorial 1C Zynq PS with AXI GPIO IP instantiation with 2015.4 -Gnanam Link to comment Share on other sites More sharing options...
jpeyron Posted March 10, 2017 Share Posted March 10, 2017 Hi @egnanam, My last 2 steps in vivado are usually clicking on file and exporting hardware with bitstream and then launching sdk as described in this tutorial. I just did your tutorial but did my last two steps instead of separately opening sdk and importing file and xgpio.h was in the BSP. This shouldn't make a difference for sdk. I attached a screen shot of a portion of my BSP #includes folder. You might want to delete the sdk folder in your project and re-export hardware with bitstream. I would then try launching sdk from Vivado and see if that fixes your issue. cheers, JOn Link to comment Share on other sites More sharing options...
egnanam Posted March 10, 2017 Author Share Posted March 10, 2017 Jon, Thanks for following up with your test results. Meanwhile, I reviewed what could have gone wrong and started doing the project from scratch which seemed to have solved the issue of generating the xgpio.h files as well. Previously, I had used the bitfile from a different project with the same block design and imported it into the current project which seemed to have the issue. It has the same block design and bit files should be not different in the 2 approaches. There are probably nuances in the 2 approaches causing the mismatch in the header files generated. Now I see the same results as yours as well. Thank you again for the quick response. regards, Gnanam Link to comment Share on other sites More sharing options...
electronicsdevices Posted June 19, 2017 Share Posted June 19, 2017 Just tried this demo today and I'm getting the same error. I tried the current solution, but it didn't work for me. Do you need to have the AXI GPIO IP in order for it to generate xgpio.h? Link to comment Share on other sites More sharing options...
jpeyron Posted June 19, 2017 Share Posted June 19, 2017 Hi @electronicsdevices, What zynq board are you using? could you please include screen shots of your block design and error's in sdk. Are you launching sdk from vivado? What version of vivado? What OS are you using? Our resource pages are available for the 3 zynq boards(zybo,zedboard and arty-Z7) we support Here. cheers, Jon Link to comment Share on other sites More sharing options...
electronicsdevices Posted June 20, 2017 Share Posted June 20, 2017 Thanks for the response @jpeyron. After looking at the requirements, I realized that you need NeoPixels in order to make the demo, when all I really wanted was to use the board's LEDs, so I switched to the "Getting Started" tutorial and that worked for me. If I ever get some NeoPixels I might revisit this demo, but for now, I'm good. Actually, while I have your attention, I should point out that initially says to use the Zynq Processor, but later on switches to MIcroBlaze for no apparent reason. Is the Zynq Processor not sufficient, or is this a typo? Finally, could you explain the difference between the RGB and the HSV option in step 5.2? Link to comment Share on other sites More sharing options...
jpeyron Posted June 20, 2017 Share Posted June 20, 2017 Hi @electronicsdevices, Which tutorial has both Zynq and Microblaze in it? My guess is that it is a typo. cheers, Jon Link to comment Share on other sites More sharing options...
electronicsdevices Posted June 20, 2017 Share Posted June 20, 2017 @jpeyron https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-led-demo/start Link to comment Share on other sites More sharing options...
jpeyron Posted June 20, 2017 Share Posted June 20, 2017 Hi @electronicsdevices, Thank you for catching this! I have fixed the typo on the tutorial. cheers, Jon Link to comment Share on other sites More sharing options...
electronicsdevices Posted June 22, 2017 Share Posted June 22, 2017 @jpeyron There's another typo in the "Getting Started" tutorial in step 3.5. You add another IP core by repeating step 3.3, not 3.4 https://reference.digilentinc.com/learn/programmable-logic/tutorials/zybo-getting-started-with-zynq/start Link to comment Share on other sites More sharing options...
jpeyron Posted June 22, 2017 Share Posted June 22, 2017 Hi @electronicsdevices, That you again! I have updated the tutorial to reflect the correct section. cheers, Jon Link to comment Share on other sites More sharing options...
TonyIta Posted June 10, 2018 Share Posted June 10, 2018 Hello Guys I have the same problem how can i update this file please Cheers AA Link to comment Share on other sites More sharing options...
jpeyron Posted June 11, 2018 Share Posted June 11, 2018 Hi @TonyIta, Please attach a screen shot of your vivado block design. Also try right clicking on the bsp of the application and re-generate the bsp. thank you, Jon Link to comment Share on other sites More sharing options...
Question
egnanam
Hi I am trying out the tutorial 1C on LED test from Zynq book tutorials with Vivado SDK 2015.4 and I get missing include files xgpio.h. I rather see only an xgpiops.h in the bsp include directory. What might be the basic issue?
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.