Can someone suggest AVR controller compatible to :-- PIC18F67J60 . It have ethernet & DMA support both :?:
Or some other AVR controller in same cost & feature range :?:
No AVR8 has Ethernet. Most add a WIZ812MJ
Unfortunately Atmel has no AVR with built-in Ethernet controller :(
The usual solution is to add an external ENC28J60 or Wiznet chip.
AVR + WizNet 820 module. Far better than Microchip.
Does this wiznet chip/module contain the software for making a webserver? I'm assuming it does. I looked around on their website, but this point was not really clear.
Is there an example of using this module with an AVR to make a webserver? How much of the AVR capacity is used by the wiznet module? Is there enough capacity let to run the app (motor, leds,a/d, etc)
I see there is the wiz5300 chip by itself, to allow you to make your own circuit board (rahter than kludging in a module). What does it take to make it into a websever? Does wiznet supply this code in a library?
When in the dark remember-the future looks brighter than ever. I look forward to being able to predict the future!
Does this wiznet chip/module contain the software for making a webserver?
Unless there are very good reasons not to, I would at least consider/look at other MCUs that can do "Ethernet". Things like some Cor[cough-cough]tex-M3 come to mind. For a one off project you can get some nice boards with everything right out to the 10base-T jack, and enough memory and computing power so that it will outrun an 8-bit AVR. Then again, while you can get or put together free tool chains you might think that the software gets more complicated to design and write. YMMV.
Don't be too positive. The light at the end of the tunnel might be a train. :wink:
As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here.
No guarantees, but if we don't report problems they won't get much of a chance to be fixed! Details/discussions at link given just above.
"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]
Note that Wiznet's WIZ200WEB shows the 5100 chip that's also at the heart of the WIZ812MJ being used as an HTTP webserver. As Johan says the chip contains code to do TCP/IP then there is a thin layer of AVR code above this that puts the HTTP on top. The code and app notes and so on are downloadable from the Wiznet website.
As Johan says the chip contains code to do TCP/IP then there is a thin layer of AVR code above this that puts the HTTP on top.
You could write the loop to service other hardware requests (or have them be interrupt driven) and as long as you have enough processor time left to get and reply to the HTTP requests you should be fine. The WizNet module doesn't have any provision for content storage so, depending on the complexity of the web server content (and whether it is static or dynamic) you may need other storage.
The WizNet module doesn't have any provision for content storage so, depending on the complexity of the web server content (and whether it is static or dynamic) you may need other storage.
Any opinion on how this PIC chip would compare?
PIC18F97J60...seems like a one-chip solution. Why doesn't Atmel offer similar AVR?
Or some other AVR controller in same cost & feature range
Almost all ethernet uCs require adding external PHY (1,5 - 2$). Basic external MAC+PHY costs about 2,5$. PIC18FXXJ60 integrates PHY so you are looking for a 128kB ethernet chip for ~2$ or a 128kB A[cough-cough]VR for ~1$.
No RSTDISBL, no fun!
PIC18F97J60...seems like a one-chip solution.
The code and app notes and so on are downloadable from the Wiznet website.
...do you know if they have code/appnotes specifically for using their chips(s) as a webserver (I don't mean the user manual for one of their webserver modules)?
..do you know if they have code/appnotes specifically for using their chips(s) as a webserver (I don't mean the user manual for one of their webserver modules)?
Thanks, I downloaded the WIZ200WEB files, there are quite a few & no real explanations of what's going on, as far as I can tell. Just an endless list of routines. Is there a document (appnote) that describes what's going on? I suppose thats a better question for the Wiznet folks.
Is there a document (appnote) that describes what's going on?
Start with RFC 2616: http://datatracker.ietf.org/doc/...
As often is the case, the Wikipedia article on the subject is a good first introduction: http://en.wikipedia.org/wiki/HTTP
The Arduino "Ethernet Shield" has a wiznet chip and an SD (or microSD) socket for storage. There are a significant number of examples of web-server apps doing Arduino-like things (blinking lights, reading sensors, etc.) The "webserver" example included with the core IDE is about 12k when compiled for a m328. There are also single boards containing both a m328 and a wiznet chip, designed for use as an Arduino.
Even if you hate the whole concept of Arduino, and have no intent on using the Arduino IDE or libraries, their code might be a good starting point.
Why doesn't Atmel offer similar AVR?
I guess they could make it work, but have no valid business case to actually do it.
© 2018 Microchip Technology Inc.