- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a stupid question...but how should I set triple speed Ethernet MAC address? Can I set the address in SOPCBuilder? Or I have to program NIOSII software to set the address?
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- It's a stupid question...but how should I set triple speed Ethernet MAC address? Can I set the address in SOPCBuilder? Or I have to program NIOSII software to set the address? --- Quote End --- There is a register set for the mac address in the TSE's config registers on the avMM interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot, dwesterg. I found it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi..,my name is dileep kumar..iam new to ethernet interface,,so can u please guide me to how to start r can u just provide any reference design using triple speed ethernet for cyclone iii..thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can just google "NiosII Ethernet Standard Design Example" and will find it.
Unfortunately, the documentation of tse on cyclone III is not so instructive as compared with reference design of tse on StratixII.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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" ===================================================== 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 my quastions is : 1: how to set correct MAC Address? 2: how to find Valid MAC address? I donnot understand the example very well,can somebody tell me the efficient steps to learn "ethernet" thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What board are you using?
The manual should tell you how to put back a valid mac address in the flash. Alternatively you can directly provide your own mac address in the get_mac_addr() function (and modify the function so that it doesn't print this warning any more).
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