Forum Discussion

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

tse_mac with dp83848 phy in MII interface

Hi

I am trying to make a design with a triple speed ethernet MAC from Altera work. I am using a National DP83848 PHY and the small 10/100 version of the MAC.Currently I have this problem:

when I run the nichestack init, I get this output:

InterNiche Portable TCP/IP, v3.1

Copyright 1996-2008 by InterNiche Technologies. All rights reserved.

prep_tse_mac 0

prepped 1 interface, initializing...

[tse_mac_init]

INFO : TSE MAC 0 found at address 0x00000400

INFO : PHY National DP83848C found at PHY address 0x1f of MAC Group[0]

INFO : PHY[0.0] - Automatically mapped to tse_mac_device[0]

INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...

INFO : PHY[0.0] - Auto-Negotiation PASSED

INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...

INFO : PHY[0.0] - Auto-Negotiation PASSED

INFO : PHY[0.0] - Checking link...

INFO : PHY[0.0] - Link established

INFO : PHY[0.0] - Speed = 100, Duplex = Half

OK, x=0, CMD_CONFIG=0x01000000

MAC post-initialization: CMD_CONFIG=0x05000603

[tse_sgdma_read_init] RX descriptor chain desc (1 depth) created

IP address of et1 : 0.0.0.0

Created "Inet main" task (Prio: 2)

Created "clock tick" task (Prio: 3)

DHCP timed out, going back to default IP address(es)

Simple Socket Server starting up

at the same time DP83848 is very hot?

Could someone give me the golden tip to get this running?I would really appreciate your reply!

14 Replies

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

    Did you try Wireshark and SignalTap as I suggested in my last message?

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

    I am working on a similar system. I have gone over the user manuals and such but it is not clear how to set up the software to run on the nios and use the TSE mac. All I want to be able to do is send out packets over the ethernet. How do you "run the interniche init".

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

    The easiest way to start is to use the Simple Sockets Server design example in the IDE and modify it to suit your needs. Just use the standard sockets API to send/receive packets.

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

    "DHCP timed out, going back to default IP address(es)"

    is does not matter,you could not be troubled by this,you only to set the MAC address by yourself,if the PC can ping,there is nothing to bother~then you can use hyperterninal of pc to view application layer transmition.