Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Dear Radix
Thanks for your attention.I designed a board which included virtex4-LX100 and LAN91C111. i want to use simple transmit and receive data via ethernet.
but now my problem is minimal LAN91C111 configuration via FPGA and pure logic !
for start up,i downloaded ETX utility but 91C111 not found by this utility.
and another my OS is XP but there no driver for XP OS.what do i do?
Tnx really again
So do you have a microprocessor running on the virtex part or are you really planning on doing all of the 91C111 interfacing with custom fpga logic? I have done the latter before so if that's approach you're going to take I can probably help you.
I'm a little confused about your comment about ETX and XP though. I'm don't see why you care about the XP drivers unless you're hoping to get the source code for the driver.
tnx radix
I want to configure and doing all of the 91C111 interfacing with custom fpga logic.
but also i have a AVR on this board so can used as microcontroller for interfacing issue.
In the case of driver,there is some driver for linux,vxworks,winCE,XP embedded but not exactly for XP, so i do not know about driver and i had not experience on driver. i think to need driver-for simple transmit and recieve data through LAN-on PC side in visual C++ code.
In the case of ETX as debug utility since do not need to driver and only checking PHY related, i get it from smsc, after running it request for COM2,COM3,COM4 but i ignore them and then LAN91C111 not found with ETX as i expect.
Sorry for the slow response, I've been traveling for a couple of days.
Could you upload a diagram that shows how the 91C111 is connected? I'm having a hard time trying to understand what it is you want to do.
If you're truly, as you said, driving the 91C111 with custom FPGA logic you don't need any driver. Are you just interfacing to the 91c111 with the FPGA but then doing all you data transfers through a processor? If that's the case you'll need a driver for that processor.
As I mentioned, maybe a real simple diagram that shows how things are connected would make things a little more clear.
Dear Radix
Following diagram show what i should do.
But sorry for my misundrestanding about LAN, i studied more about LAN and know that there is no need to driver at PC side.only thing i need about 91C111 is 91C111 initialization and MAC address configuaration and then PC recognize 91C111 as one MAC address and then can transfer data between two MAC address : PC MAC address and 91C111 MAC address. am i right ?
about SMSC site offered drivers i think they are PC side drivers but after i undrestand they are drivers for embedded OS which is loaded at board HW processor . am i right or not?
really thaks for your favor Radix.
BR,
Vaf20
Okay, that looks like what I initially thought you were doing. I did something similar several years back. I'll email you some info/code that might be helpful.
Hi
I have some problem on lan91c111. my board is similar as you designed. I interface lan91c111 with lx100 fpga. but I cant read or write on it in async mode. Aready signal is not changes it level and its level is high cos of pullup resistor. data bus is always high and is not change according read sequence. and in write sequence it s response is like capacitor responce. I dont know whats the problem.
can you help me? some of sync signals that should be pulled up or down dosnt have pull up on my board and I have to drive them high and low through FPGA.
I've done some work with the LAN91C111 also, and as I remember, there is a lot of configuration work to do before it works correctly. I think that using a small microprocessor inside the fpga can be usefull to do the startup (and maybe also the fifo filling?).
On the driver side you mention, if you only use some processor (microblaze, picoblaze or ...), you don't need a driver if you use it only for setting up the thing and doing some trivial data transfer. It can be done in a superloop, without operaing system and only a smaal amount of BRAM.
If you succeed in your implementation with only custom fpga logic, and no processor, I'm interested in the amount of logic it approximatly takes to set it up correctly.
Hi stefaan
As I said I want to configure this chip but data bus is not changed. I looked at to application note there is a register in address 14h that contain 33h and it can be read for test operation but I tried to read this register but I read FFFFh from this register!!! what may be the problem?
I am working with LAN91C111. I am using Altera Cyclone III FPGA to interface with this IC. I have written code in NIOS processor inside theFPGA to read and write the registers of the LAN IC. I could read and write the MAC registers very well, but when I tried to read or write the internal PHY registers, I am always getting 0x0000. Tried with all necessary steps as per the Application note 9.6 on this IC, but didn't succeed. Please help me..............
hi!i am doing a project on interfacing lan91c111 and dsp processor.my os is xp.
the drivers provided by the smsc are not working.so now iam using niosII ide with quartus.but it seems a bit troublesome if you are using a non nios board.
i am completely new to all these things,can anybody suggest me a suitable way to program lan91c111 interfaced just with dsp processor.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.