Forum Discussion

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

Unable to find Valid MAC address

the hardware and software i use are based on“niosii_ethernet_standard_3c25.zip” and“nichestack_tutorial” from altera pages.

after running , In NiosII IDE software,

console is below:

PHY INFO: [phyid] 0x1 2000 5c90

PHY INFO: Issuing PHY Reset

PHY INFO: waiting on PHY link...

PHY INFO: PHY link detected, allowing network to start.

SSS INFO: Connecting...

=============== Software License Reminder ================

This software project uses an unlicensed version of the NicheStack TCP/IP

Network Stack - Nios II Edition. If you want to ship resulting object

code in your product, you must purchase a license for this software from

Altera. For information go to: "http://www.altera.com/nichestack (http://www.altera.com/nichestack)"

================================================== ===

InterNiche Portable TCP/IP, v3.1

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

prep_tse_mac 0

EEPROM device 24LC0 size is 10

read[0x000]: control byte 1 was not ACKed

Signature = 0x0.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!

Your NEEK LCD daughtercard is not programmed with a correct MAC Address!

Please contact Altera support for instructions on how to correct this problem!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!

Invalid MAC Address stored at Flash Offset 0x8000

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!

Unable to find Valid MAC address.

Please refer to your Board's User Guide for instructions

on restoring the MAC Address for your board.

--Or--

Hard Code MAC address in get_mac_addr() of iniche_init.c

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!

prepped 1 interface, initializing...

[tse_mac_init]

INFO : TSE MAC 0 found at address 0x07002800

INFO : PHY National DP83848C found at PHY address 0x01 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] - Checking link...

INFO : PHY[0.0] - Link established

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

OK, x=0, CMD_CONFIG=0x00000000

MAC post-initialization: CMD_CONFIG=0x04000203

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

mctest init called

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)

Nios II Simple Socket Server starting up.

Created "monitor_phy" task (Prio: 9)

Created "Nios II Simple Socket Server" task (Prio: 10)

[SSS_task] Nios II Simple Socket Server listening on port 30

The wrong places are in red

my quastions :

1:my quartusII version is 9.0,but pdf says 9.1 sp or later,does it matter?

2: in NIOSII IDE,according to the example,I set DHCP on,it means that ip and gateway all should be set to 0 ? how to set these values manually?

3: by the function "get_mac_addr()",does the system set NEEK mac address automatically and place it in flash?why the error"Invalid MAC Address stored at Flash Offset 0x8000"and "Unable to find Valid MAC address"generate?

I am sorry that my English is not very good,

I am appreciate that somebody could help me!!!

thanks
No RepliesBe the first to reply