Friday, April 6, 2012

NIOSII-Week7

Built Nios Stratix schematic and eth 1 works.
Trying to implement ethernet 2 on daughter card.
Address for ethernet 2 have to be hard wired.
Address [11:10] ,[7:4] ,[0] for daughter card are conneted to gnd.
Address [9:8] for daughter card are conneted to vcc.
Address[3:1] for daughter card are conneted to SOPC.
SBHE_n and AEn are conneted to gnd.
IOR, IOW for daughter card are conneted to SOPC
INT for daughter card is is etherenet 2 IRQ.

Used scope to check pin are right.
Used Signal Tap to check components.
Looked though the SSS code to find what problem is.

Figured out that the ethernet driver is for 32 bit and
the daughter card is 16 bit. So we have to change driver
to support 16 bit for daughter card. Ethernet driver
supports only one device, so we have to change it to support two.

Ethetnet 2 currently not working.

No comments:

Post a Comment