Altera_Forum
Honored Contributor
9 years agoHelp in designing Simple Socket Server for the Stratix III development kit
Has anyone have a working Simple Socket Server (SSS) design for the Stratix III development kit for Quartus 11.1 (or 12.x or 13.x) that they are willing to share? I am seeking a hardware design for Quartus and software for the Nios II (via Eclipse) that function together.
I have made numerous attempts trying to use the Standard Nios II hardware design for the Stratix III dev kit using the files provided in the Quartus v11.1 kit installation here: https://www.altera.com/products/boards_and_kits/dev-kits/altera/kit-siii-host.html. After trying to work with the original design, I rewrote that hardware design from scratch in Qsys since the design I downloaded had older IP for the PLL. The Standard design in Qsys contains the following components: -Nios II processor -onchip_memory -tristate conduit bridge (to ext_flash) -tristate conduit pin sharer (connects to ext_flash and maxii_interface) -ext_flash -maxii_interface -reset bridge -sys_clk_timer, high_res_timer -sys_pll -jtaguart -led_pio, button_pio -sysid -sdram (DDR2 DIMM using UniPHY) -osc_clk -sgdma_tx, sgdam_rx -tse_mac (triple speed ethernet mac) -descriptor_memory (additional onchip ram) I have tried using various versions of the simple socket server software, since it seems those software files need to be tweaked for the particular board. Most typically when I run my hardware design using simple socket server files in Eclipse, the project builds but I get a "m_state == STATE_DEBUG" error like shown in this screenshot: http://www.alteraforum.com/forum/attachment.php?attachmentid=12503&stc=1 I have successfully been able to run the external memory with UniPHY tutorial (https://www.altera.co.jp/ja_jp/pdfs/literature/hb/external-memory/emi_tut_qdr.pdf) so I am reasonably confident that the external memory interface works correctly. I found this design for the Stratix III dev kit (in the second post of this forum thread http://www.alteraforum.com/forum/showthread.php?t=5886), but the design was made for Quartus/Nios II EDS 8.0 and does not work with Nios II EDS 11.1. Does anyone have any suggestions for a newbie like me about how to determine what components should or should not be in my hardware design? And how can I determine version of the SSS software files I should use or how I should modify the software files for my hardware? I am relatively new to FPGA, and I am self-taught. My understanding of exactly what is going on in the SSS software files is limited, so any suggestions on how to tackle understanding that code would be helpful too. Erin