Jump to content
  • 0

pmod wifi


harika

Question

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

1)what is the actual usage of pmod WiFi and how we know that it is connected to our board.

2)can we use our mobile's hotspot user name and password in HTTPserverconfig.h instead of router or we should use router's username and password only

 

Link to comment
Share on other sites

Hi @harika,

1) The Pmod WIFI facilitates the connection to a WIFI Network. We have provide a few example for usage. 

                       a) You should see the Pmod WIFI connecting through the serial terminal text.

2) I haven't tried using a WIFI Hotspot but i do not see a reason why you can not use the hotspot. If the Pmod WiFI connects to your mobile hotspot then there shoulds not be an issue.

thank you,

Jon

Link to comment
Share on other sites

1)we made SD settings in zynq processor so that errors have been removed likewise we have to place any UART settings in zynq for modem signals if so can u please tell what are the signals we have to enable.

2)So,can we write mobile's username and password in  HTTPserverconfig.h

Screenshot (81).png

Link to comment
Share on other sites

Hi @harika,

I have not ran into the error lock down A303 error before.

I did find a refernce to a error lock down A304 on this Xilinx forum thread.

1) I would suggest not having the Linux files on the SD card.

2) Here is the zedboard reference manual. What mode setting do you have on the Zedboard (page 28 and attached screen shot).

3) In regards to the Zynq processor make sure you are using the digilent board files. The board files become the default setting for the ZYNQ processor when you are running block automation. I would suggest not altering the default settings, until you have a working project. Then I would worry about optimizing the project. 

thank you,

Jon

Zedboard_mode_settings.jpg

Link to comment
Share on other sites

Hi @harika,

Using the Pmod WIFI's HTTP server you do not need to connect a PC to the router.  You will  need a device on the routers network to access the HTTP server. I used a WIFI enabled device like a smart phone and logged onto the routers network then from an internet browser on my smart phone I accessed the specific IP address of the HTTP server.

thank you,

Jon

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...