UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor dddolphin
Visitor
3,021 Views
Registered: ‎03-11-2009

about XEmacLite_CfgInitialize()

i want to Initialize the lan83c185 on my spartan-3e,but i don't know how to use this API function:

 

int XEmacLite_CfgInitialize XEmacLiteInstancePtr,
  XEmacLite_ConfigEmacLiteConfigPtr,
  u32 EffectiveAddr
 

 

XEmacLite_Config(

                                  u16 DeviceId
u32 BaseAddress
u8 TxPingPong
u8 RxPingPong

                              )

 

what is the DeviceID? is the BaseAddress  MAC address or IP address? what is the EffectiveAddr?

can somebody give an example??thanks!!

 

after i Initialize like this, the lan83c185 can working??such an ping successful~~~

0 Kudos
1 Reply
Visitor sebs
Visitor
2,936 Views
Registered: ‎03-26-2009

Re: about XEmacLite_CfgInitialize()

hello,

 

you should look at your EDK directory under c:\EDK\sw\XilinxProcessorIPLib\drivers\emaclite_v1_01_a\examples\ 

you will find some usefull examples there on how to use this functions

 

Sebastian

0 Kudos