Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Having Trouble Starting TSE MAC

When my program NIOS IDE is starting and Ethernet port are connnected, I've had this error.

I'm using Cyclone III embedded evaluation kit (neek board)

I've configured TSE MAC as GMII interface and Small MAC 10/100


Your Ethernet MAC address is 00:07:ed:ff:76:2b
prepped 1 interface, initializing...
 Error opening TX SGDMA
init error -22 on net

Any idea??

Thanks in advance!!

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you have the two sgdma components in your design and do they have the correct name?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I've used the same name assigned in a reference design I've seen. You can see in the pic attached.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The configuration looks ok...

    Can you run the software in a debugger, put a breakpoint just before the TX SGDMA init and see what happens? Check if the open call returns any error code.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks, I've changed some names in SOPC BUILDER and now it works fine!!!!

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Very old thread but I am facing the same issue and have not seen a fix.

    I have a working example for one board and have copied their device names exactly and cannot get it to work in my board.

    Any suggestions?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    @bertronicom: i am facing the same problem...hixxx can you share me your project (or exactly name what you changed in your SOPC) ?

    thank you very much!

    my mail is hoanglongroyal@gmail.com
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    To Bertronicom,

    Could you please us know which component's name you have made changes?

    Thank you,

    Caridee
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    David,

    Did you solve your problem?

    Have you succeed to make a TSE Small AMC working with Linux/MMU?

    Thanks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Dear pals,

    The problem were fixed when I put the next name to the components

    'descriptor_memory' to the on chip memory.

    i hope this help you