Article ID: 000078415 Content Type: Troubleshooting Last Reviewed: 07/29/2014

Why does my design containing a Lan91c111 device interface and a Altera Triple Speed Ethernet MegaCore fail during Nios II driver initialization?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

In version 8.1 and earlier, combining a Lan91c111 ethernet device and any ethernet device that makes use of Altera's Triple Speed Ethernet MegaCore would cause a failure in alt_sys_init(), prior to entering your application's main() function.

To correct the problem, apply the following patches to version 8.1 of the Altera tools. 

Apply the Triple Speed Ethernet patch by doing the following:

  1. Download the altera_triple_speed_ethernet.zip patch file.
  2. Backup the < your Triple Speed Ethernet Megcore install dir >/lib/sopc_builder/triple_speed_ethernet directory.
  3. Delete the contents of  original directory specified above.
  4. Unzip altera_triple_speed_ethernet.zip into < your TRIPLE_SPEED_INSTALL_DIR >/lib/sopc_builder.

Apply the NicheStack patch by doing the following:

  1. Download the altera_iniche_314.zip patch file.
  2. Backup the < your Nios II EDS installation dir>/components/altera_iniche directory.
  3. Delete the contents of  original directory specified above.
  4. Unzip altera_iniche_314.zip into < your Nios II EDS installation dir>/components.