• 0
harika

pmod wifi

Question

 i am getting errors while opening your zip file mentioned below. I want to add pins and leds in my deWebIOServerSrc.cpp what should i do now?

 

Screenshot (48).png

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0

1)Does the leds and switches that u added in deWebIOServerSrc.cpp of ur block diagram and the youtube video tutorial leds and switches that they added in deWebIOServerSrc.cpp are same?

2)Is the block diagram u have designed and the youtube video tutorial block diagram give same results? the only difference between them is placing pmod sd card in youtube video tutorial and not in ur block diagram, is it is correct or not please clarify it.

Thank you.

Edited by harika

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

Here is a YouTube tutorial about getting the Pmod WIFI going. It uses the Arty A7 which is not a zynq processor. In vivado you need to be using the Digilent board  Files for the Zedboard and the Vivado library.  Create a block design and add the ZYNQ processor. Next run block automation under default(board files). The select the board tab. Right click on the Pmod port you wish to use and select the pmod WIFI IP Core.  Run connection automation and do not change anything in the Zynq processor. Validate the design, create a wrapper and then generate a bitstream. Everything else should be the same in the YouTube video. You will not need a constraint file do to the board files and Vivado library handling the constraints.

thank you,

Jon

Zed_SD.jpg

Zed_SD_2.jpg

Zed_SD_3.jpg

Share this post


Link to post
Share on other sites
  • 0

we are not getting Pmod connectors as u got in the last picture . We just made external the JC port and run the bitstream, while we are processing through sdk, in deWebIOServerSrc.cpp we have added pins for zedboard but we got errors ,can u just give screenshot of ur deWebIOServerSrc.cpp where u have added pins for zedboard.664247067_Screenshot(49).thumb.png.3ce7940d5a4e8e49b7faa2182bf9f10a.png

Edited by harika

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

The demo examples have you add the axi_gpio_ip core to the block design. The example has you connect the on-board switches and led's to the design. The YouTube pmod WIFI tutorial here shows this.  I am not able to fully read the errors you are getting in SDK but it looks like either your vivado block design does not include the switches and leds or they are named something else and the XPAR_GPIO_(NAME OF IP BLOCK IN VIVADO)_BASADDR  XPARAMETER definition reflect the block design's AXI_GPIO IP cores's name.  If you add the Digilent board files and create a project using them the board tab will be available with the pmod ports ,switches and led's. 

cheers,

Jon 

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

1) They are the same.

2) Your block design should look like the screen shots that i have attached on the forum thread here.

What version of Vivado/SDK  are you using?

cheers,

Jon

Share this post


Link to post
Share on other sites
  • 0

we are using vivado 2016.1 version of vivado.

1)Eventhough I added pins as per the video and rectified as per video  I was getting errors in deWebIOServerSrc.cpp that our pins are not declared, In the video while adding pins there are list of pins coming down, for that we need to add any files or not necessary.

2)when we refer to some videos they are placing leds in one GPIO and switches in another GPIO but in our block diagram we are placing only one axigpio for both the setting for both issues are same or not.

Thank you.

FGG.PNG

Screenshot (59).png

Edited by harika

Share this post


Link to post
Share on other sites
  • 0

Thanks for attachment of your deWebIOServerSrc.cpp it helped to remove our errors.

1)We got an error in sd file when i referred I found that we have to add the folder titled "CopyTheseToYourSDCard" needs to be copied to the your sd card. Is there any particular procedure for how to copy the files into sd card in zedboard?

2)we have to connect sd card or pmod sd card to zedboard?

Thank you.

 

error file.PNG

Edited by harika

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

There is no special process to copy files to the SD Card. Make sure the SD card is formatted to FAT32.  Please use the the SD card slot on the Zedboard. The Digilent board files correctly configures the SD card reader in the ZYNQ processor. 

thank you,

Jon

Share this post


Link to post
Share on other sites
  • 0

Tera term is displaying empty,eventhough the prior process is completed.

We are using com1teraterm instead of com15 teraterm since our system supports.Is it okay to use com1 teraterm.

Thank you. 

Screenshot (66).png

Share this post


Link to post
Share on other sites
  • 0

Hi @harika

COM1 is not used to communicate with usb devices connected externally.  You should be using the other generated COM Port that you mentioned in your post(COM15). Typically Windows assigns the same com port to the same usb device each time it is connected. You do not get to choose the COM Port you would like to use to communicate to the device but rather Windows assigns a COM Port to the device. Window allows the user to un-assign COM Ports effectively allowing you to alter which COM Port the device uses.  My understanding is that when you re-connect the removed device then Windows will re-assign it the lowest unassigned COM Port. 

thank you,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now