Differences

This shows you the differences between two versions of the page.

Link to this comparison view

add-ons:dmm-shield:webserverdemouserguide [2021/05/14 23:04] – ↷ Page moved from reference:add-ons:dmm-shield:webserverdemouserguide to add-ons:dmm-shield:webserverdemouserguide Arthur Brownadd-ons:dmm-shield:webserverdemouserguide [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 3: Line 3:
 Digilent provides a Webserver demo for DMM Shield Zynq library for Digilent's Arty Z7-20 FPGA system board, to be used with the Xilinx SDK development tool.\\   Digilent provides a Webserver demo for DMM Shield Zynq library for Digilent's Arty Z7-20 FPGA system board, to be used with the Xilinx SDK development tool.\\  
 It accesses the DMM Shield hardware in order to implement some basic DMM Shield functionality. \\ It accesses the DMM Shield hardware in order to implement some basic DMM Shield functionality. \\
-It uses DMM Shield library, see [[https://reference.digilentinc.com/reference/add-ons/dmm-shield/zynqlibraryuserguide|DMMShield Zynq Library]].\\  +It uses DMM Shield library, see [[/add-ons/dmm-shield/zynqlibraryuserguide|DMMShield Zynq Library]].\\  
-The demo is based on Xilinx Webserver demo (included in [[https://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf|Xilinx LightWeight IP Application Examples]], page 6), which demonstrates the use of Xilinx LWIP networking stack. The Xilinx demo was modified to implement DMMShield functionality / requests.\\ +The demo is based on Xilinx Webserver demo (included in [[https://docs.xilinx.com/v/u/en-US/xapp1026|Xilinx LightWeight IP Application Examples]], page 6), which demonstrates the use of Xilinx LWIP networking stack. The Xilinx demo was modified to implement DMMShield functionality / requests.\\ 
 The demo uses a  Xilinx Memory File System (xilmfs), which stores the main page, together with page additional files (java script file, used images, css style file). The functionality implemented in the main page / javascript file only uses HTML / AJAX.  The demo uses a  Xilinx Memory File System (xilmfs), which stores the main page, together with page additional files (java script file, used images, css style file). The functionality implemented in the main page / javascript file only uses HTML / AJAX. 
  
Line 66: Line 66:
 ===== Download and Launch the Arty Z7-20 DMM Shield Webserver Demo ===== ===== Download and Launch the Arty Z7-20 DMM Shield Webserver Demo =====
  
->1) Follow the [[:learn:programmable-logic:tutorials:github-demos:start:|Using Digilent Github Demo Projects]] Tutorial. +>1) Follow the [[learn:programmable-logic:tutorials:github-demos:start:|Using Digilent Github Demo Projects]] Tutorial. 
 >2) If you choose to use the project whithout building the hardware platform in Vivado (SDK Hardware Handoff metod in the above mentioned tutorial), you will notice that sdk folder lacks the hardware platform folder (design_1_wrapper_hw_platform_0).\\ In order to build this, before importing the projects in SDK (step 4), follow this procedure: In SDK, select File/New/Others/Xilinx/Hardware Platform Specification, then browse for design_1_wrapper.hdf in hw_handoff folder, then select Finish. >2) If you choose to use the project whithout building the hardware platform in Vivado (SDK Hardware Handoff metod in the above mentioned tutorial), you will notice that sdk folder lacks the hardware platform folder (design_1_wrapper_hw_platform_0).\\ In order to build this, before importing the projects in SDK (step 4), follow this procedure: In SDK, select File/New/Others/Xilinx/Hardware Platform Specification, then browse for design_1_wrapper.hdf in hw_handoff folder, then select Finish.
 >3) Follow the steps from [[#memory_file_system_related_actions|Memory File System related actions]] chapter.  >3) Follow the steps from [[#memory_file_system_related_actions|Memory File System related actions]] chapter. 
Line 176: Line 176:
 >2) Run the mfsgen command, including all the files / folders to be included.\\ mfsgen -cvbf ../image.mfs 2048 css images index_files js generate-mfs index.html >2) Run the mfsgen command, including all the files / folders to be included.\\ mfsgen -cvbf ../image.mfs 2048 css images index_files js generate-mfs index.html
  
-Note that this step is also explained in the Xilinx documentation [[https://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf|Xilinx LightWeight IP Application Examples]], page 28.+Note that this step is also explained in the Xilinx documentation [[https://docs.xilinx.com/v/u/en-US/xapp1026|Xilinx LightWeight IP Application Examples]], page 28.
 === Download the memory file system file in the board memory === === Download the memory file system file in the board memory ===
-Although Xilinx proposes ([[https://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf|Xilinx LightWeight IP Application Examples]], page 28) the use of dow command in order to download the memory file system, we used a different approach: instruct Vivado SDK to download the memory file system file every time the configuration is run.\\ +Although Xilinx proposes ([[https://docs.xilinx.com/v/u/en-US/xapp1026|Xilinx LightWeight IP Application Examples]], page 28) the use of dow command in order to download the memory file system, we used a different approach: instruct Vivado SDK to download the memory file system file every time the configuration is run.\\ 
 In Vivado SDK, edit the desired debug (or running configuration) like this: In Vivado SDK, edit the desired debug (or running configuration) like this:
   * select Run / "Debug Configurations" menu (or Run / "Run Configurations"), then select the desired configuration that will be downloaded on the board.   * select Run / "Debug Configurations" menu (or Run / "Run Configurations"), then select the desired configuration that will be downloaded on the board.