Nios V uC/TCP IP Failed - Nios V uC/TCP IP Failed
Hi support, I am learning the simple socket server design on Cyclone 10 GX. For unknown reason, the initialization process stopped with the error code (2010), It's the TSE with DP83848. The signals on MDIO and MDC is working. Therefore I would like to know how to debug this issue. Thank you. BRs, Johnson
Replies:
Re: Nios V uC/TCP IP Failed
Hi I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘ https://supporttickets.intel.com/s/?language=en_US’ , view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions. Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi Jingyang, Thank you for the link.. I can see the example running now.
Replies:
Re: Nios V uC/TCP IP Failed
Hi Did you managed to run the example design on the Cyclone10 EVB yet? Please note the following setting when trying to generate the BSP for the application. 5.5.2.2. Configuring the BSP (intel.com) For the application you could reuse the application code from the latest design example. https://www.intel.com/content/www/us/en/design-example/776159/intel-arria-10-fpga-simple-socket-server-for-the-nios-v-m-processor-design-example.html Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi Jungyang, Thank you for the update. Let me check on the C10 EVB and get back to you my finding later. BRs, Johnson
Replies:
Re: Nios V uC/TCP IP Failed
Hi I managed to get pass the error. It seems that in the previous design I did not connect the reset for the ethernet phy. Please find the latest project with the correct pin placement. You would need to assign these pin in the pin planner. Screenshot of the results Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi Johnson Could you try with the latest 23.4 Quartus? I have migrated the latest NiosV example design to the cyclone10 gx board. I managed to solved the error code 20014. Now i am stuck with the same error code that you are facing. 2010 Right now i am asking around what could be the cause for this. Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi Jingyang, I just saw the update. After download the qar but I can't open it at Quartus Pro 23.2.. By the way, what's the error code 20014 you mentioned? It's in my previous shared package? BRs, Johnson
Replies:
Re: Nios V uC/TCP IP Failed
Hi Sorry for being so slow. I got a hard time getting your project to work . I think in your project you did not assigned the pins correctly. Still trying to migrate and testing out the example design. attached is so far i managed to get the application running boot into initialization. Still solving the error code 20014 that i am looking at. Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi Jingyang, Do you have any update on the C10 project? Thank you.
Replies:
Re: Nios V uC/TCP IP Failed
Hi Jingyang, Thank you for the update. I hope to receive the C10 project soon. BRs, Johnson
Replies:
Re: Nios V uC/TCP IP Failed
Hi I tried it on an Arria10 board. I think it should be okay if we migrate it over to the Cyclone10. Attached is my project for the Arria10. Let me try to migrate it to the Cyclone10 board and share u the project again. Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi Jingyang, Thank you for the update. So you can run the example design on the Cyclone 10 GX device and can telnet it? If this is the case, would you share me the example? As I never have any change to connect to the board. BRs, Johnson
Replies:
Re: Nios V uC/TCP IP Failed
Hi Sorry there is a current surge in case and I will need more time in this case.I managed to run the example design and able to connect to the board through Telnet. Currently I will need more time to acquire the signalTap waveform. Previously when you switch the Example Design to DHCP. Are you able to connect to the board through Telnet? Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
HI I am Jingyang and I will be taking over the case from Eber. Sorry for the late response as there are a surge in cases at the moment. Please give me sometime to try get the example design running and try probe the behavior of the ff_rx_rdy pin. Regards Jingyang, Teh
Replies:
Re: Nios V uC/TCP IP Failed
Hi, I tried OCRMA before EMIF and it's not working for unknown reason. I upload the QAR for your reference. The STP content is the same as EMIF... Perhaps some components are with wrong settings..
Replies:
Re: Nios V uC/TCP IP Failed
Hi, Since we currently do not have the example for the Simple Socket Server with EMIF for Nios V, can you try with the OCRAM as per the Nios V handbook?: https://www.intel.com/content/www/us/en/docs/programmable/726952/23-4/processor-using-the-microc-tcp-ip-stack.html Try with OCRAM, if it works then I can recommend to try with EMIF.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, I believe so, as and
Replies:
Re: Nios V uC/TCP IP Failed
Hi, Is the DMA & EMIF visible in the "drivers" tab in BSP-editor?
Replies:
Re: Nios V uC/TCP IP Failed
Hi, I modify the design with Nios V to EMIF through a memory mapped clock crossing bridge and DMA through another bridge. But for unknown reason the DMA bridge is not running... I STP the bus and found only Nios V is running.. Any suggestions ? DMA driver or ...
Replies:
Re: Nios V uC/TCP IP Failed
Hi, From the STP content below, I think the ff_rx_rdy is a signal from DMA. After downloading the sof and elf, the system booted with ff_rx_rdy high, which indicate to the core ready to receive data. But it went low after with the network connected.. Therefore I guess there are problems on the msgdma .. I read back some register settings on TSE core, and thought it should be configured correctly.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, Does the issue always have the "ff_rx_rdy" high? OR do you have it work at random times? One of the workaround I could find was implementing a reset. I am not that familiar with the TSE IP, you could try to perform a reset signal: https://www.intel.com/content/www/us/en/docs/programmable/683402/22-4-21-1-0/clock-and-reset-signals.html
Replies:
Re: Nios V uC/TCP IP Failed
Hi, From my findings, the signal issue you mentioned, it seems that it has something to do with some settings that need to be tweaked. I will further investigate towards that and get back to you soon with some suggested workaround. Thanks for your patience.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, I may need some days to debug this issue, I shall update to you again in the next few days.
Replies:
Re: Nios V uC/TCP IP Failed
I am using Quartus Prime Pro 23.2.0 in Win 10. Thank you.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, What is the Quartus version that you are working on?
Replies:
Re: Nios V uC/TCP IP Failed
Hi, Thanks, I will check out the design.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, Please use the attached QAR for analysis. Thank you.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, I think the problem is the TSE not responding for unknown reason after the SSS running... I STP the signals between TSE RX and the RX MSGDMA. The ff_rx_rdy going low and not returned to high. Perhaps something wrong on my Qsys setting or.. I feel the MSGDMA is not working and there's not much data about this IP.. I upload the QAR file for your analysis. Thank you.
Replies:
Re: Nios V uC/TCP IP Failed
Hi Eberlazare, No, just through a switch. And I am debugging the qsys.. I can see the mii_rx_d to TSE. But for unknown reason, the ff_rx_a_full going high and ff_rx_rdy goes low after the SSS starting.
Replies:
Re: Nios V uC/TCP IP Failed
Hi, How is your setup? Does your computer (that is connected to the board) connected to a VPN or secure connection?
Replies:
Re: Nios V uC/TCP IP Failed
Hi, I tried telnet and ping command. But no reply from the server
Replies:
Re: Nios V uC/TCP IP Failed
Hi, Okay, we are moving in the correct direction, at least we can see what we can do next. With the addresses now configure properly, and that the message “[sss_task] Simple Socket Server listening on port <port number>” is displayed when the µC/TCP-IP Stack is ready for connection. Can you show/screenshot on your Host PC's CMD, running below steps?: After the µC/TCP-IP Stack is ready, you can start a telnet session to interact with the stack. To start a telnet session, follow these steps: 1. From your operating system, open a command shell or a terminal. Note: On Windows, you can also use Run on the Start menu. 2. Type the following command, specifying either the static IP address or the DHCPserver-provided IP address: telnet <IP Address> <Port> telnet 192.168.1.110 80
Replies:
Re: Nios V uC/TCP IP Failed
Hello, It's a custom board with C10 GX and DP83848. We use Nios II with NicheStack in the past and are porting the Niso V now. So the Hareware should be fine. The qsys connection is like below. The Nos V is running on EMIF. Following your instruction, the socket is running now. But I can not connect to the server and ping to the specific is not responding.. Form the STP, the ff_rx_a_full is always high. I think there are problems on the FPGA side since the TSE IP is not responding.. BRs, Johnson
Replies:
Re: Nios V uC/TCP IP Failed
Hi, This case just got routed to me today. May I know your setup? Are you directly connecting the board to your PC? If yes, then you may need to disable the "DHCP feature (!DEF_TRUE)": https://www.intel.com/content/www/us/en/docs/programmable/726952/23-4/configuring-mac-and-ip-addresses.html Once you have set your IP address etc, rebuild the application and re-program the new .hex/.elf whichever you were using. - 2024-03-20
external_document