Hi.
I would like to connect my avr to the ethernet.
Is there any library for avr micricontrollers ?
Hi.
I would like to connect my avr to the ethernet.
Is there any library for avr micricontrollers ?
Google ethernut. I used that chip 15 years ago! I wouldn't bother these days - there's cheaper/easier solutions.
Actually, i just googled rtl8019 avr. And there's plenty of answers.
WIZ812MJ makes this kind of thing *very* easy. A much higher level interface than a raw Ethernet chip.
If you do want to do it at a raw level I think the ENC28J60 is probably the chip of choice these days.
I would like to connect my avr to the ethernet.
Welcome to the party:
https://www.avrfreaks.net/forum/e...
https://www.avrfreaks.net/forum/i...
Google ethernut. I used that chip 15 years ago! I wouldn't bother these days - there's cheaper/easier solutions.
Actually, i just googled rtl8019 avr. And there's plenty of answers.
could you please introduce me cheaper and easier solutions ?
WIZ812MJ makes this kind of thing *very* easy. A much higher level interface than a raw Ethernet chip.
If you do want to do it at a raw level I think the ENC28J60 is probably the chip of choice these days.
thank you for your suggestions, but WIZ812MJ is more expensive than RTL.
unfortunately, price is very important in my project:(
If I can connect to the internet via ENC28J60, please let me know if there is any reliable source code or library for that .
:D
thank you for your help but I need to know the reliable source code not anything on the google ;)
I'm surprised you can still buy that chip. Personally, I'd be going for a Cortex M4 or suchlike with the ethernet on chip and lots of ram and flash. I've got a TI TM4C1294 board on my desk at the moment. Free, full toolset and a rtos with tcp/ip + ethernet stack.
When you talk about price - specifiy a range. What we think is low price may be expensive for you and vice-versa.
As for Google not being reliable for source code? Where have you been? Ten seconds of Googling answered your question. How do you think we find stuff?
not anything on the google
But the top code is amongst the hits on google ;-)
If you want to get specific add "ethernut" or "tuxgraphics" or "adam dunkels" to your searches. Their ENC28J60 code for AVR are generally considered "the best".
When you do use a raw Ethernet chip like RTL8019 or ENC28J60 or whatever bear in mind that to the base cost of the chip you have to add the costs of the magnetics (even the PCB to mount it all on) and the cost for quite a lot of flash in the AVR to hold all the code that such chips require. You may even want to amortise the software development cost as it will be higher when dealing with things at a raw level compared to a high level device like a WIZ812MJ. Now it's true there's going to be a "break even" point in comparing the two. But for 10 or 100 or perhaps even 1,000 I would suggest the WIZ812MJ may still be "competitive". If you are making 10,000 or 100,000 then the additional effort to use the raw chip will probably be worth it.
Personally, I'd be going for a Cortex M4 or suchlike with the ethernet on chip and lots of ram and flash.
Likewise!
I've got a TI TM4C1294 board on my desk at the moment.
http://www.ti.com/tool/ek-tm4c12...
Unlike most (all?) other chips, this has both MAC and PHY on the chip - so you literally just add the RJ45 socket (with magnetics).
So make sure you compare the full cost!
Last time I looked (which is, admittedly, quite a while ago) the Wiznet chip alone was more expensive than the TI part which gave you all-in-one MAC and PHY and processor! But that was back in the days of the Stellaris Cortex-M3...