• 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

19 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

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
  • 0

1)IP address was not generated and the error says opening of default html page. How should i proceed?

 2)Can you tell me how can we utilize this ip address or wifi interference in any of the projects.

fghj.PNG

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

I believe the HTML web page error is related to the materials on the SD card. 

1)  Please attach a screen shot of the contents of the Sd card you are using.

2) Please follow the YouTube video here from about 6 minutes and 28 seconds on for how to set up the HTTP server project. Make sure to update the login an password for the router/modem you are using.

thank you,

Jon

Share this post


Link to post
Share on other sites
  • 0

Hi @jpeyron

1) I just placed sd card onto the zedboard .Actually I don't know how to write data into SDcard so i didnot place any contents into SDcard. Please help me with the functionality of sd card?

2)I will update my login password and modem as you mentioned.

thank you.

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

Put the SD card into a SD card reader in a compatible PC. Then open the SD card under the computer section after opening a folder. Then copy the contents of the folder named CopyTheseToYourSDCard from the vivado library here: vivado-library\ip\Pmods\PmodWIFI_vv1_0\drivers\examples\HTTPServer.

thank you,

Jon

Share this post


Link to post
Share on other sites
  • 0

In the folder "copy these to your sdcard" all HTML homepages are present, then what is the use of modem and how we are utilizing this in this project?

Share this post


Link to post
Share on other sites
  • 0

Hi @harika,

1) The readme on the GitHub for the HTTPServer example in the PmodWIFI IP Core says that "the HTTP Server demo allows users to interact with GPIO pins on their boards via Wi-Fi. For example, users will be able to turn LEDs on or off and read the positions of the board's switches. A video tutorial for this demo is available here."

The PmodWIFI IP Core HTTPServer does the above description by connecting to an existing WIFI network provided by your modem and has an HTTPServer that  interacts (in your case for the Zedboard ) with on-board GPIO. The HTTPServer made by the development board/PmodWIFI is accessible from any other WIFI device using that WIFI network.  Hope this clears up any confusion about the HTTPServer demo. 

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