Forum Discussion

antoineb's avatar
antoineb
Icon for New Contributor rankNew Contributor
21 hours ago

NiosV µC/OS-II TCP-IP debug

Hello,

I am trying design a NiosV program with TCP/IP based on this example design:

Arria® 10 FPGA – Simple Socket Server for the Nios® V/m Processor Design Example

I don't have the proposed devkit, so I compiled it for two different Arria10 targets. For both targets, I get the error:

[network_init] Failed to NetIF_Start(): (2010).

TSE link seems to be OK.

Since I'm not experienced with Nios, I'm looking for help to debug it.

Thanks

3 Replies

  • Hello,

    I would like to know the Quartus Software version you are using to compile the design to get the SOF file?

    Thanks

  • antoineb's avatar
    antoineb
    Icon for New Contributor rankNew Contributor

    Yes of course. I forgot to mention it. Sorry.

    I use Quartus Version 25.1.0 Build 129 03/26/2025 Patches 0.36 SC Pro Edition.

    Thanks

  • No worries.

    We have seen these error messages in our internal testing; here are some details:

    This error message means device initialization failed. This can happen due to following reasons:

    • mSGDMA open failures
    • Memory / buffer allocation failures
    • Individual TX/RX descriptor init/add failures
    • PHY / MDIO / link failures
    • MAC-level failures
    • Descriptor system failure
    • MAC Tx/Rx enable failures

    So, we suspect it has something to do with the PHY/MDIO init. and linkup- PHY / MDIO / link failures

    As we do not have enough information on what PHY the A10 targets have and what are the corresponding MDIO and PHY init sequences.

    Questions:

    • What are the PHYs on the your A10 targets?
    • What is the TSE and MDIO configuration in the design?
    • Since it is mentioned "TSE link seems to be OK", can we read the PHY IDs? 

    Please let me know if you have any questions. Look forward to hear from you. thanks