tester11 Posted March 22, 2018 Share Posted March 22, 2018 On this tutorial in Vivado he can select from a memory folder and he also has memory folder on the Arty board . Arty z7-10 doesn't have have all the folders that are in video. https://image.prntscr.com/image/8fY7xt8qSW_2hFfgVlarMg.png Also if I want to use the usb port I see that I have to put petalinux on an SD card but is there a tutorial on how the Petalinux works with Pmods,what will change? Link to comment Share on other sites More sharing options...
tester11 Posted March 27, 2018 Author Share Posted March 27, 2018 19 hours ago, JColvin said: Hi @tester11, It's unlikely the error was caused by the microSD having 32 GBs of storage, provided that the microSD is in the FAT32 file format. Is the device that you are using to attempt to connect to the IP address on the same network as the Arty Z7-10? Thanks, JColvin Also on addPins functions ,even if I regenerated design wrapper the new elements won't appear in xparameters.h I renamed axi_gpio_1 to led and I can't find it anywhere.In the example it is used AXI and for me only PS7 works... addPINs(XPAR_PS7_GPIO_0_BASEADDR+0, 4, 0); addPINs(XPAR_LED_BASEADDR+0, 4, 0); doesn't work Link to comment Share on other sites More sharing options...
jpeyron Posted March 27, 2018 Share Posted March 27, 2018 Hi @tester11, Once you have opened a stream then i do not see a reason that you could not implement a send/receive function that uses a big string. thank you, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 27, 2018 Author Share Posted March 27, 2018 17 minutes ago, jpeyron said: Hi @tester11, You will have to decide if you want to spend time implementing a way to open a stream and accept the incoming data and saving it on the sd card with a smaller bare metal design or work on implementing a larger petalinux design and use pre made linux servers to implement your project. If you decide on the petalinux route i would look at Petalinux Support for Digilent Boards table for the arty-z7-10 petalinux project. cheers, Jon Well,is there an option to send in a form a huge string and be received as a a packet by the FPGA ?This looks way easier.I mean eveything can be send as a string even a movie. Link to comment Share on other sites More sharing options...
jpeyron Posted March 27, 2018 Share Posted March 27, 2018 Hi @tester11, You will have to decide if you want to spend time implementing a way to open a stream and accept the incoming data and saving it on the sd card with a smaller bare metal design or work on implementing a larger petalinux design and use pre made linux servers to implement your project. If you decide on the petalinux route i would look at Petalinux Support for Digilent Boards table for the arty-z7-10 petalinux project. cheers, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 27, 2018 Author Share Posted March 27, 2018 14 minutes ago, jpeyron said: Hi @tester11, Here is a completed and verified Arty-Z7-10-wifi http server example project in vivado 2017.3. You will need to add your network login and password in the "HTTPServerConfig.h". I apologize i mixed up which board you are using but the temperature range is still the same for the Arty-Z7-10. I asked a co-worker about uploading files and they resonded that you can use either way to upload files. Doing so over the bare http server will require more work on your part to get working, although the transport layer will already be there in the implementation, so you will need implement a way to open a stream and accept the incoming data. It will be easier to implement in petalinux, as you'll have the backing infrastructure of a linux environment and there are existing server backends that you could get going on the install to accomplish that for you. The downside there is that the amount of resources needed might be overkill for what you want to accomplish. It depends on what you want to do with the files once they have been uploaded, but petalinux might be your best bet. Just know that it can be done in either situation thank you, Jon I want to send 2 files that combined have under 5 mb only once .I thought to use tcp but the example is not very clear for me and I want to use the http server. Link to comment Share on other sites More sharing options...
jpeyron Posted March 27, 2018 Share Posted March 27, 2018 Hi @tester11, Here is a completed and verified Arty-Z7-10-wifi http server example project in vivado 2017.3. You will need to add your network login and password in the "HTTPServerConfig.h". I apologize i mixed up which board you are using but the temperature range is still the same for the Arty-Z7-10. I asked a co-worker about uploading files and they resonded that you can use either way to upload files. Doing so over the bare http server will require more work on your part to get working, although the transport layer will already be there in the implementation, so you will need implement a way to open a stream and accept the incoming data. It will be easier to implement in petalinux, as you'll have the backing infrastructure of a linux environment and there are existing server backends that you could get going on the install to accomplish that for you. The downside there is that the amount of resources needed might be overkill for what you want to accomplish. It depends on what you want to do with the files once they have been uploaded, but petalinux might be your best bet. Just know that it can be done in either situation thank you, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 27, 2018 Author Share Posted March 27, 2018 Just now, jpeyron said: Hi @tester11, The Artix 7 FPGA on the Nexys Video can get hot but its temperature rating is commercial 0°C to +85°C. If you are concerned with thermal damage you can use a fan on it. Make sure to follow the sdk instructions from the youtube video you linked. I would open the xparameters.h and search for led. This should get you the definition you should be using. thank you, Jon I did that already,it isn't defined there and I updated the design wrapper. Uploading files with http server can be done for Arty or it needs linux ? Link to comment Share on other sites More sharing options...
jpeyron Posted March 27, 2018 Share Posted March 27, 2018 Hi @tester11, The Artix 7 FPGA on the Nexys Video can get hot but its temperature rating is commercial 0°C to +85°C. If you are concerned with thermal damage you can use a fan on it. Make sure to follow the sdk instructions from the youtube video you linked. I would open the xparameters.h and search for led. This should get you the definition you should be using. thank you, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 27, 2018 Author Share Posted March 27, 2018 13 minutes ago, jpeyron said: Hi @tester11, Can you attach a screen shot of your vivado block design? I would think that the gpio 1 would be addPINs(XPAR_PS7_GPIO_1_BASEADDR+0, 4, 0); thank you, Jon https://image.prntscr.com/image/knicdkf7RV_HCneXUPsWqw.png Also is there some tutorial to upload files with HTTP server to the FPGA ? Also with addPINs(XPAR_PS7_GPIO_0_BASEADDR+0, 4, 0) on website I can't make anything change on website and the FPGA get's hot near the switch area Link to comment Share on other sites More sharing options...
jpeyron Posted March 27, 2018 Share Posted March 27, 2018 Hi @tester11, Can you attach a screen shot of your vivado block design? I would think that the gpio 1 would be addPINs(XPAR_PS7_GPIO_1_BASEADDR+0, 4, 0); thank you, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 26, 2018 Author Share Posted March 26, 2018 17 hours ago, JColvin said: Hi @tester11, It's unlikely the error was caused by the microSD having 32 GBs of storage, provided that the microSD is in the FAT32 file format. Is the device that you are using to attempt to connect to the IP address on the same network as the Arty Z7-10? Thanks, JColvin For the Arty I use my phone hotspot and I try to connect with the laptop....I saw that you had the same problem in the past on another post,my problem is exactly the same Works ,but only on the same networks as I can see... Link to comment Share on other sites More sharing options...
JColvin Posted March 26, 2018 Share Posted March 26, 2018 Hi @tester11, It's unlikely the error was caused by the microSD having 32 GBs of storage, provided that the microSD is in the FAT32 file format. Is the device that you are using to attempt to connect to the IP address on the same network as the Arty Z7-10? Thanks, JColvin Link to comment Share on other sites More sharing options...
tester11 Posted March 24, 2018 Author Share Posted March 24, 2018 12 hours ago, jpeyron said: Hi @tester11, This error is do to something being different with the gpio ip in the code vs the hardware design. Please attach a screen shot of your projects block design. Did you alter the wifi scan project linked above for your http server project? If so i did not include the gpio blocks in the hardware design. To get it working from the wifi scan project you will need to add the gpio blocks to the hardware design in vivado. thank you, Jon Thanks,worked ,it shows 5 Sockets Listening on IP: ***, but if I connect to that ip it doesn't load "took too long to respond" .Can this problem be generated because the micro SD has 32 Gbs storage capacity? Link to comment Share on other sites More sharing options...
jpeyron Posted March 23, 2018 Share Posted March 23, 2018 Hi @tester11, This error is do to something being different with the gpio ip in the code vs the hardware design. Please attach a screen shot of your projects block design. Did you alter the wifi scan project linked above for your http server project? If so i did not include the gpio blocks in the hardware design. To get it working from the wifi scan project you will need to add the gpio blocks to the hardware design in vivado. thank you, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 23, 2018 Author Share Posted March 23, 2018 38 minutes ago, jpeyron said: Hi @tester11, I linked a working project for the arty-z7-10 using vivado 2017.3 with the pmod WIFI attached to JA on your other forum thread here. Make sure to have the files added to the SD card and have it inserted while running the project. thank you, Jon No errors on Wifi Scan but on HTTP server code I get https://image.prntscr.com/image/w0OjwR9USFWex7VnTk10Nw.png Link to comment Share on other sites More sharing options...
jpeyron Posted March 23, 2018 Share Posted March 23, 2018 Hi @tester11, I linked a working project for the arty-z7-10 using vivado 2017.3 with the pmod WIFI attached to JA on your other forum thread here. Make sure to have the files added to the SD card and have it inserted while running the project. thank you, Jon Link to comment Share on other sites More sharing options...
tester11 Posted March 23, 2018 Author Share Posted March 23, 2018 23 hours ago, jpeyron said: Hi @tester11, This demo was made for the arty-a7-35t. On the arty-z7-10 the uart is connected to the Zynq processor. You do not need petalinux to use the uart. You can also use the zynq processor along with sdk to communicate through uart. Here is a forum thread where we get the zedboard(zynq processor) working with the pmod wifi and the sd card reader on the board. If you are wanting to use petalinux with the arty-z7-10 here is the Petalinux Support for Digilent Boards table. I would look into the read me as well. To add an ip core to a petalinux platform my understanding is that you would need to add the desired ip core in the vivado design associated with this platform. Then updated the platform in petalinux ide. thank you, Jon I tried to change the code on the ZED board and got the bitstream genererated but I couldn't export it,tried some commands from the internet and now I can't even generate the bitstream . Here is the changed project on the last Vivado version.Also changed the output to JC to be to JA . https://mega.nz/#!AoUn1I7S!-hSHcL-UiaNvnlkvkg5YuUjavZh_p43jfzHJJ7mwV2s Link to comment Share on other sites More sharing options...
jpeyron Posted March 22, 2018 Share Posted March 22, 2018 Hi @tester11, This demo was made for the arty-a7-35t. On the arty-z7-10 the uart is connected to the Zynq processor. You do not need petalinux to use the uart. You can also use the zynq processor along with sdk to communicate through uart. Here is a forum thread where we get the zedboard(zynq processor) working with the pmod wifi and the sd card reader on the board. If you are wanting to use petalinux with the arty-z7-10 here is the Petalinux Support for Digilent Boards table. I would look into the read me as well. To add an ip core to a petalinux platform my understanding is that you would need to add the desired ip core in the vivado design associated with this platform. Then updated the platform in petalinux ide. thank you, Jon Link to comment Share on other sites More sharing options...
Question
tester11
On this tutorial
in Vivado he can select from a memory folder and he also has memory folder on the Arty board .
Arty z7-10 doesn't have have all the folders that are in video.
https://image.prntscr.com/image/8fY7xt8qSW_2hFfgVlarMg.png
Also if I want to use the usb port I see that I have to put petalinux on an SD card but is there a tutorial on how the Petalinux works with Pmods,what will change?
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.