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

Zed Board

Unsolved
41 posts / 0 new
aditya's picture
aditya
Junior(0)
Zed Board

Dear Sir/Madam,
                             In mine project i want to send data from ubuntu PC to ZedBoard using Wifi. I got one link http://zedboard.org/product/wilink-8-adaptor which talks about some kind of Wifi adpater for Micro-zed.
         Will this link and its given documents be seamlessly used with ZedBoard.
Regards
Aditya
 
 

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

If you refer to the product brief you will see that it is Zedboard compatable. As far as the documentation goes, for the most part it targets the MicroZed. So you will not be able to "seamlessly" use those designs with the Zedboard, some modifications will have to be made.

--Josh 

aditya's picture
aditya
Junior(0)
Hi Josh

Hi Josh
             Thaks for reply. You have mentioned that some modification will have to be done. Could you please suggest the kind of changes. The changes that need to be done,  is well obvious or subtle and if i start working on the basis of above link will i get success . Also i am new to Zync development environment ,, could younplease suggest me some links for kick start.....
 
Regards
Aditya
 

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

For a good introduction into the Zynq development environment I would suggest you go through the ZynqHW and ZynqSW Speedways.

http://zedboard.com/course/developing-zynq%C2%AE-7000-all-programmable-s...

http://zedboard.com/course/developing-zynq%C2%AE-7000-all-programmable-s...

 

As for using the Zedboard with WILINK8 I'd suggest using PMOD's JE and JD

Here’s the pinout for the JE and JD connectors, here is the Pinout. 

--Josh

 

       

*Predefined PS MIO peripheral function

J3 on Rev.B WL8 Adaptor

Signal Name

Pmod Pin#

ZB Pin Name

PS            MIO Pin

ZB Zynq pin#

WiLink8 Pmod        Signal Name

Zedboard Pmod-JE1           (PS Bank0)

PMOD_D0

1

JE1

MIO 13

A6

SDIO_D1

PMOD_D1

2

JE2

MIO 10

G7

SDIO_D0

PMOD_D2

3

JE3

MIO 11

B4

SDIO_CMD

PMOD_D3

4

JE4

MIO 12

C5

SDIO_CLK

GND

5

 

GND

 

GND

VCC

6

 

VCC

 

VCC

PMOD_D4

7

JE7

MIO 0

G6

WL_IRQ

PMOD_D5

8

JE8

MIO 9

C4

WLAN_EN_SOC

PMOD_D6

9

JE9

MIO 14

B6

SDIO_D2

PMOD_D7

10

JE10

MIO 15

E6

SDIO_D3

GND

11

 

GND

 

GND

VCC

12

 

VCC

 

VCC

             

J1 on Rev.B WL8 Adaptor

Signal Name

Pmod Pin#

ZB Pin Name

 

ZB Zynq pin#

WiLink8 Pmod        Signal Name

ZedBoard    Pmod JD1                 (IO Bank13)

PMOD_D0

1

JD1_P

 

V7

BT_HCI_CTS

PMOD_D1

2

JD1_N

 

W7

BT_HCI_TX

PMOD_D2

3

JD2_P

 

V5

BT_HCI_RX

PMOD_D3

4

JD2_N

 

V4

BT_HCI_RTS

GND

5

 

 

 

GND

VCC

6

 

 

 

VCC

PMOD_D4

7

JD3_P

 

W6

BT_EN_SOC

PMOD_D5

8

JD3_N

 

W5

BT_WAKE_HOST

PMOD_D6

9

JD4_P

 

U6

WL_RS232_TX

PMOD_D7

10

JD4_N

 

U5

WL_RS232_RX

GND

11

 

 

 

GND

VCC

12

 

 

 

VCC

 

aditya's picture
aditya
Junior(0)
Thanks Josh..........i will

Thanks Josh..........i will look into this.

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
              I am going through the tutorials that you suggested and it seems that it is really good and helpful. I am little relaxed now. But one thing that i am afraid and i want to ask here is that.......as i am very novice to Xilinx development environment....so after doing this tutorials for the above given two links, will i be able to start mine Zed Board Project or will i need some other exposure also apart from this tutorials that you have mentioned.???....Please comment on this.
 
Thanks 
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                  I was going through LAB 2 session of Softwrae flow link and i got some errors. Would you please help me out?? Here i am attached two snapshots which you can find out in the link :-http://zedboard.org/imce?app=ckeditor%7Csendto%40ckeditor_imceSendTo%7C&CKEditor=edit-comment-body-und-0-value&CKEditorFuncNum=2&langCode=en-gb.
1. mine_project_snap_shot
2.Tutorial_snap_shot
So as per lab 2 once i imported the .xml file in SDK it show the window screen as per  "Tutorial_snap_shot" mentioned above. But I am not getting this.What i am getting is as per  mine_project_snap_shot. The two differences are :
1- It is not able to open .xml file and showing the error that you can look into mine_project_snap_shot
2. Z_system_wrapper.bit is not getting included in the Project window
please tell me what is error behind this.
 
Regards
Aditya
 

 

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

I can't seem to be able to find the snap shots you are refering too. As a starter, which Vivado version are you using? Also which Tutorial version are you using, the 2014.4.1 or 2013.3 version?

--Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,

              I have downloaded two thing from the link:-- http://zedboard.com/course/developing-zynq%C2%AE-7000-all-programmable-s...
1-  Download the labs (Vivado 2013.3)

 2- Download the labs (Vivado 2014.4.1)
Actually i have left mine lab right now. So details i will be giving you tomorrow. As i have mentioned that right now i am going through the speedway s/w tutorial. So i have downloaded one prebuit h/w from that link mentioned above and started following the instruction given in LAB 2 tutorial. If you can open the link then you can also find the Lab2 tutorial. The problem i told you already....In SDK, in project explorer winow   system.xml file is not getting opened and some error is coming and also z_system_wrapper.bit is not getting loaded.
  On mine Desktop ISE 14.2 is installed so i am using the SDK that has been installed with ISE 14.2...............If it is the version issue then should i install Vivado?? But why this should be issue as SDK is just eclipse driven s/w development environment???
Regards
Aditya    

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

Just for your clarification, the two labs you downloaded are the same labs just ran on different Vivado versions. I would suggest going through the 2014.4.1 version since it is utilizing a more updated version of the tool.

For this lab you will need to update to the proper Vivado version that matches the lab you are doing. The reason why I stress the need to use the correct Vivado version for the lab is because the hardware export from Vivado to SDK has changed several times over the tool versions.

You can find it at this link :  https://www.xilinx.com/support/download.html Please make sure during your Vivado installation you check the box that installs SDK as well. 

As for any future projects, I would highly recommend utilizing Vivado design suite over Xilinx ISE design suite for any zynq based projects. You will find much more support doing so.

--Josh

 

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
        Thanks Josh for mentoring me...i will look into this and let you know the results.
 
Regards
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                 One more doubt i want to confirm here........Currently Vivado 2016.2 is available on Xilinx Download website but as the tutorial is in Vivado 2014.x .   So should i download the Vivado version that has been used in tutorial or download the latest Vivado 2016.2 ????
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

For completing the labs I would suggest downloading the 2014.4 Vivado Version.

--Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
               I downloaded Vivado 2014.4 and now that problem is gone and i again started mine lab tutorials. I am going through the tutorials that you suggested and it seems that it is really good and helpful.
Actually following things i posted you but you did not give your expert comment on this. Please comment on mine following concern:-
I am little relaxed now. But one thing that i am afraid and i want to ask here is that.......as i am very novice to Xilinx development environment....so after doing this tutorials for the above given two links, will i be able to start mine Zed Board Project or will i need some other exposure also apart from this tutorials that you have mentioned.???....Please comment on this.
 Please keep on mentoring me....Thanks
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

Since I'd assume you are going to be using the WILINK8, i'd suggest you go through the getting started guide for it.

It is located at : http://zedboard.org/support/documentation/6491 

As you can see, it is targeting the MicroZed, I know it can target the Zedboard, you may just have to work a little bit for it. For instance page 9 step one it sends you to http://architechboards-microzed.readthedocs.io/en/latest/quick.html which targets the MicroZed. So instead go to  http://architechboards-zedboard.readthedocs.io/en/latest/quick.html which targets the Zedboard.  

--Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                Thanks..............First i am targeting the tutorials part....once it get finishes i will follow your advice given in previous slide.So first let me finish the tutorials.
 
Regards
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                  Could you please suggest me the the link from where i can get the Zync Architecture Details. Mine lab courses are still going on.
Regards
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh ,

Hi Josh ,
                     While going through the S/W tutorial it has been told to install the Cypress USB-UART driver. But  the moment i connected the USB cable to mine PC windows has automatically installed the required device driver and after this when i tried to programmed the ZYNC it also got programmed.
      So my question is............should i forcefully install cypress USB-UART DEVICE DRIVER OR keep on working with windows installed driver.
 
Thanks
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                      As i mentioned above that mine Zync got programmed but Hello World did not get printed on the Console.So i want to ask here is that ......is this is problem related to the USB-UART DRIVER. If it is please suggest me some thing that i need to do...
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hello Aditya,

Hello Aditya,

Yes, if you haven't installed the Cypress USB-UART driver on your machine you should do that. Also,  make sure your terminal settings are correct (Baud rate - 115200,Data - 8 bit, parity - none, stop - 1 bit, flow control - none)

--Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                Actually i am just following the lab tutorial instruction and nothing else and as per lab instruction "Hello world" should get printed on the SDK terminal but it did not happen. As per the Lab 5 instruction of the s/w tutorial ....if i go to mine windows 7 professional device manager then under Ports(COM & LPT)---> Cypress Serial(COM4) should be there. But it mine case nothing is there. Also yesterday i found one link where there is a lot of discussion on similar kind of issue.Here is the link:"http://zedboard.org/content/uart-driver-does-not-work-new-pc".Please have a look. That is why i am doubting.I do not know mine problem is same or not.
                I did exactly what is there in the tutorial.....but even then as per your advice i will look it into again and come back to you.
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

Your creating a new BSP with the fsbl application correct? It should enable itself when you go to create the application(It just worked for me). To double check that it is enabled do the following. In the project explorer, open up the system.mss file that is in the fsbl_bsp. In the opened system.mss file click on Modify this BSP's Settings. Thats where you can see if the xilffs is enabled.

--Josh 

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                  Thanks for reply. mine problem got resolved. Actually in erlier BSP xilfss lib were not include. So again i included the xilfss library by going into BSP configuration setting and again building the BSP.
 
Regards
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,

                Actually i was going through the s/w tutorial--> Lab 9(Dual Processor) ,in which under experiment no 2 , our task was to  ""Creating Bare-Metal Application Project for CPU1",. But when i tried to follow the instruction and craeted the BSP for CPU1 ,i got the following error. 

 

 

14:40:01 ERROR :  [Hsi 55-1545] Problem running tcl command ::sw_standalone_amp_v3_11_a::generate : invalid command name "xget_libgen_proc_handle"

    while executing

"xget_libgen_proc_handle"

    (procedure "::sw_standalone_amp_v3_11_a::generate" line 8)

    invoked from within

"::sw_standalone_amp_v3_11_a::generate standalone_amp"

 [Hsi 55-1442] Error(s) while running TCL procedure generate()

14:40:01 ERROR : Failed to generate BSP.

14:40:01 INFO : BSP Project P/app_cpu1_bsp has been successfully migrated.

14:41:10 ERROR :  [Hsi 55-1545] Problem running tcl command ::sw_standalone_amp_v3_11_a::generate : invalid command name "xget_libgen_proc_handle"

    while executing

"xget_libgen_proc_handle"

    (procedure "::sw_standalone_amp_v3_11_a::generate" line 8)

    invoked from within

"::sw_standalone_amp_v3_11_a::generate standalone_amp"

 [Hsi 55-1442] Error(s) while running TCL procedure generate()

14:41:10 ERROR : Error generating bsp sources: Failed to generate BSP.

14:41:10 ERROR : Failed to generate sources for BSP project app_cpu1_bsp

org.eclipse.core.runtime.CoreException: Internal error occurred while generating bsp sources. Please check the SDK Log view for further details.

at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.internalGenerateBsp(RegenBspSourcesHandler.java:178)

at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler.access$2(RegenBspSourcesHandler.java:163)

at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1$1.run(RegenBspSourcesHandler.java:131)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2345)

at com.xilinx.sdk.sw.ui.handlers.RegenBspSourcesHandler$1.run(RegenBspSourcesHandler.java:135)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

 

 

Could u please tell me why this error is coming and what is the remedy of this.

 

Regards

Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                 One more information regarding the error that i posted you just above is:-- In the problem window proveded in the SDK GUI is is showing that  make:***No Rule to make target 'all'": as an error while creating the the BSP for CPU1.  While giving your advice you can also take this as consideration.
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya, 

Hi Aditya, 

In experiment 2, step 5 you add -DUSE_AMP=1 to the extra_compiler_flags. You did this correct? Also double check that you put a space infront of it. So based off of figure 16 it would look like "-g -DUSE_AMP=1". (see the space I put inbetween -g and Duse)

--Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                Thanks for this subtle information. Now i came to mine room ,tomorrow i will apply this and let you know.
 
Regards
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                      I applied the method that you told but it did not work.
 
Regards
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
               i tried mine bset but failed. But this is some tricky issue and i found that some other people have also faced this but the answer that they have got is not very clear. Like here i am giving here one link:-https://forums.xilinx.com/t5/Embedded-Development-Tools/AMP-on-Zynq-star...
But link content is not clear to me. I downloaded the things but it is not working???
Do you have some suggestion???
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

I'll explain to you what they are referencing in the link you provided. Prior to Vivado 2016.2, the standard BSP that you can generate within SDK could not target CPU1 in a baremetal application. To access CPU1 in a baremetal application you needed to take the BSP template that they offer for your SDK version and modify it to working with CPU1. Luckily for you we did this already. If you look in your 2014.4 lab you will find it at

ZynqSW ->2014.4.-->Support_documents-->sdk_repo-->bsp-->standalone_amp_v4_2

That is why we have you add sdk_repo into the repositories during Lab 9 experiment 2 step 1-2.

--Josh

JFoster's picture
JFoster
Moderator(51)
Hello Aditya, 

Hello Aditya, 

 There are 3 major steps that are required to generate the bsp that targets CPU 1(I just went through it myself sucessfully). They are all from lab 9.

1. Add your local repository (Experiment 2 steps 1-2)

     This is a very important step. It provides the building blocks for the BSP you will generate

2.Create new BSP (Experiment 2 steps 3-4)

     Must make sure your CPU is targeted to Ps7_cortexa9_1 as well as make the Board Support Package OS set to standalone_amp

3. Add -DUSE_AMP=1 to extra_compiler flags and click OK to create new BSP (Experiment 2 steps 5)

     This enables some code sections which prevent the reinitializaton of shared CPU resources.

 

Those are all the steps that are required to generate your BSP. You must have an issue with one of those steps.

--Josh

 

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
              Thanks for reply. As per your reference  "ZynqSW ->2014.4.-->Support_documents-->sdk_repo-->bsp-->standalone_amp_v4_2". Right now i can not confirm you but the reference design that i downloaded from the Speedway tutorial is ZynqSW ->2013.3.-->Support_documents-->sdk_repo-->bsp-->standalone_amp_v3.11. So there is a version mismatch. So either the website is not having updated reference file or i have downloaded the wrong thing(which is very less probability). So tomorrow i will check this again and come back to u.
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

We have both versions posted on the Website(2014.4.1 and 2013.3). As per my comment one Wednesday  August 18th, 2016, please make sure your Vivado version matches the appropriate Lab Tutorial you are following.

Regards,

Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                  Yes,you are right. I have installed Vivdo 2014.4 web edition but i have downloaded the labs reference design for Vivado 2013.3 in hurry and completed till lab 8. I just now cross checked  the tutorial link again and observed that there is also labs reference design for Vivado 2014.4.1. Now i have downloaded it and found that what you have said is correct. So tomorrow i will go to lab and try and let you know.
                    Once again thanks. But one thing ,when i will complete both h/w and s/w tutorial then should i continue mine original(Wifi) work on Vivado 2014.4 or should i install the latest Vivado 2016.2 version??
Regards
Aditya
      

JFoster's picture
JFoster
Moderator(51)
Hello Aditya,

Hello Aditya,

I would strongly suggest you install the latest Vivado version (2016.2) when you do your design. The newer versions tend to fix issues with earlier versions and also contains new content.

Regards,

Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
               I downloaded the 2014.4 version s/w tutorials and now BSP got generated. 
 
Thanks
Aditya

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
                 I went through lab 10(Interrupts). Here is mine FIRST observation:- When i follow the instructions for lab 10 and run the code for experiment 1 then:
1) There is console window in SDK. When i run the code it displayed on SDK console "for brightness press between 0 and 9". So whatever i pressed the LED kept on glowing with same brightness.
2) But if i use TERA TERM console rather than SDK console to feed the inputs then at this it worked prpoperly i.e led  brightness is as per the entered number between 0 and 9.
Second observation:
   When i run the second experiment then:-
1) There is console window in SDK. When i run the code it displayed on SDK console "for brightness press between 0 and 9". So whatever i pressed the LED will just glow on and then glow off .
2) But if i use TERA TERM console rather than SDK console to feed the inputs then at this it worked prpoperly i.e led  brightness is as per the entered number between 0 and 9.
So why this is happening??
Regards
Aditya
 

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
             I have completed the s/w and h/w courses suggested by you. Now  i am going through ​"Silica ArchiTech Yocto Linux for ZedBoard Community Project". In this there is "local.conf" file which i have opened in gedit text editor on virtual machine. There is line in this file where it is wriiten that    "Machine ??= "ZedBoard". It means that ZedBoard will be assigned to Machine.As per mine understanding there should not be double question mark . It should be one question mark in the above assignment. Please comment on this.
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hello Aditya,

Hello Aditya,

Unfortunatly I do not have enough experience with that design to offer much help. You could try reaching out to the developers of that reference design (Avnet Silica). Another option would be to reaching out on the Xilinx Forum https://forums.xilinx.com/ , or perhaps we have another user on this forum that could offer a bit more help.

--Josh

aditya's picture
aditya
Junior(0)
Hi Josh,

Hi Josh,
             Thanks for gentle reply. Now I have to do mine original work of Wifi.On the ZedBoard Website there is a page for for WiLInk8 adapter and they have provided  some scripts file for the integration of WiLInk adapter with Microzed board. So you were correct...i can not use these files for mine development and also these files are pre written and are the part of some repository which is not accessable. The problem that i am facing right now is...... i do not know how to do step by step process/development  or what thing need to be modified as i have never worked in this embedded linux domain that is why i am stuck again. As you suggested i will look on those forums also.But if could suggest some good links that gives some systematic approach then that would be helpful.
Again a lot of thanks to you to guiding me all the time in mine starting phase. i will be in touch with you.
 
Regards
Aditya

JFoster's picture
JFoster
Moderator(51)
Hi Aditya,

Hi Aditya,

I'd suggest moving over to the digilent forum as they are the main support for educational purposes. At the very least I would suggest posting on both this forum and Digilent forum, and I will help you when I can.

https://forum.digilentinc.com/

Regards,

Josh