- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys,
I am trying to connect the micrel ksz8081 phy to cyclone altera using the TSE mac based on simple socket server ( by nichestack ). I used a file called "tse_my_sysetm.c"(attached) -cause this phy is not supported in the nios sw. from some reson the phy to mac mapping failes-and i am not able to ping from PC to FPGA mac. The nios prints:# ################################################################ InterNiche Portable TCP/IP, v3.1 Copyright 1996-2008 by InterNiche Technologies. All rights reserved. prep_tse_mac 0 Can't read the MAC address from your board. We will assign you a MAC address. Your Ethernet MAC address is 00:07:ed:24:01:5e Static IP Address is 10.0.1.3 prepped 1 interface, initializing... [tse_mac_init] INFO : TSE MAC 0 found at address 0x00143000 INFO : PHY Micrel KSZ8081MNXIA found at PHY address 0x00 of MAC Group[0] WARNING : PHY[0.X] - Mapping of PHY to MAC failed! Make sure the PHY address is defined correctly in tse_mac_device[] structure, and number of PHYs connected is equivalent to number of channel INFO : PHY Micrel KSZ8081MNXIA found at PHY address 0x01 of MAC Group[0] INFO : PHY[0.0] - Explicitly mapped to tse_mac_device[0] INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link... WARNING : PHY[0.0] - Auto-Negotiation FAILED PHY reset Configuration written to PHY register 0 Configuration written to PHY register 1F PHY reset Configuration written to PHY register 0 Configuration written to PHY register 1F WARNING : MAC Group[0] - Number of PHY connected is not equal to the number of channel, Number of PHY : 2, Channel : 1 INFO : PHY[0.0] - Checking link... INFO : PHY[0.0] - Link not yet established, restart auto-negotiation... INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link... INFO : PHY[0.0] - Auto-Negotiation PASSED INFO : PHY[0.0] - Link established WARNING : PHY[0.0] - Invalid speed read from PHY INFO : PHY[0.0] - Speed = Unknown, Duplex = Half OK, x=0, CMD_CONFIG=0x00000000 MAC post-initialization: CMD_CONFIG=0x04000603 [tse_sgdma_read_init] RX descriptor chain desc (1 depth) created mctest init called IP address of et1 : 10.0.1.3 Created "Inet main" task (Prio: 2) Created "clock tick" task (Prio: 3) Simple Socket Server starting up [sss_task] Simple Socket Server listening on port 7003 Created "simple socket server" task (Prio: 4)# ################################################ Can anyone advise on how to integrate this phy to the altera TSE mac based on the simple socket server software?Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page