harika Posted December 5, 2018 Share Posted December 5, 2018 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? Link to comment Share on other sites More sharing options...
jpeyron Posted December 5, 2018 Share Posted December 5, 2018 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 Link to comment Share on other sites More sharing options...
harika Posted December 6, 2018 Author Share Posted December 6, 2018 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. Link to comment Share on other sites More sharing options...
jpeyron Posted December 6, 2018 Share Posted December 6, 2018 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 More sharing options...
harika Posted December 6, 2018 Author Share Posted December 6, 2018 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 More sharing options...
jpeyron Posted December 6, 2018 Share Posted December 6, 2018 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 Link to comment Share on other sites More sharing options...
harika Posted December 7, 2018 Author Share Posted December 7, 2018 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. Link to comment Share on other sites More sharing options...
jpeyron Posted December 7, 2018 Share Posted December 7, 2018 Hi @harika, I have attached my deWebIOServerSrc.cpp which shows how to alter the # define in the addPINs() function. cheers, Jon deWebIOServerSrc.cpp Link to comment Share on other sites More sharing options...
harika Posted December 8, 2018 Author Share Posted December 8, 2018 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. Link to comment Share on other sites More sharing options...
harika Posted December 11, 2018 Author Share Posted December 11, 2018 Can u please give the reply fast we are in a hurry. Thank you Link to comment Share on other sites More sharing options...
jpeyron Posted December 11, 2018 Share Posted December 11, 2018 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 Link to comment Share on other sites More sharing options...
harika Posted December 12, 2018 Author Share Posted December 12, 2018 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. Link to comment Share on other sites More sharing options...
jpeyron Posted December 13, 2018 Share Posted December 13, 2018 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 More sharing options...
harika Posted January 30, 2019 Author Share Posted January 30, 2019 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. Link to comment Share on other sites More sharing options...
jpeyron Posted January 30, 2019 Share Posted January 30, 2019 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 More sharing options...
harika Posted February 1, 2019 Author Share Posted February 1, 2019 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 More sharing options...
jpeyron Posted February 1, 2019 Share Posted February 1, 2019 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 More sharing options...
harika Posted February 8, 2019 Author Share Posted February 8, 2019 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? Link to comment Share on other sites More sharing options...
jpeyron Posted February 8, 2019 Share Posted February 8, 2019 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 More sharing options...
harika Posted February 25, 2019 Author Share Posted February 25, 2019 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 More sharing options...
jpeyron Posted February 26, 2019 Share Posted February 26, 2019 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 More sharing options...
harika Posted February 26, 2019 Author Share Posted February 26, 2019 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 Link to comment Share on other sites More sharing options...
harika Posted February 27, 2019 Author Share Posted February 27, 2019 I have got "error lock down A303",our SD card has Linux files in it do we need to delete that in order to compress this error. thank you. Link to comment Share on other sites More sharing options...
jpeyron Posted February 27, 2019 Share Posted February 27, 2019 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 Link to comment Share on other sites More sharing options...
harika Posted March 14, 2019 Author Share Posted March 14, 2019 Should we connect PC as well as board (via Ethernet port)to router's switches and also should we supply internet connection to router with lan cables.Could you please suggest. Thank you. Link to comment Share on other sites More sharing options...
jpeyron Posted March 14, 2019 Share Posted March 14, 2019 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 More sharing options...
Question
harika
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?
Link to comment
Share on other sites
38 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.