View previous topic :: View next topic |
Author |
Message |
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Sun Apr 08, 2012 3:32 pm Post subject: Beta-testing the W5100 Ethernet library. |
|
|
Beta-testing the W5100 Ethernet library. Works great!!
Testing it on the Arduino and Arduino Mega.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
six1
Joined: 27 Feb 2009 Posts: 553
|
Posted: Mon Apr 09, 2012 8:48 am Post subject: |
|
|
so, this is a great step forward! I'm waiting for testing W5200/300 include! _________________ For technical reasons, the signature is on the back of this message. |
|
Back to top |
|
|
Amino
Joined: 16 Nov 2009 Posts: 4
|
Posted: Mon Apr 09, 2012 8:56 pm Post subject: |
|
|
Very nice!
Where is this library? |
|
Back to top |
|
|
six1
Joined: 27 Feb 2009 Posts: 553
|
Posted: Mon Apr 09, 2012 9:27 pm Post subject: |
|
|
library is Beta and will be published in coming Bascom Version, so Ben is giving you a preview _________________ For technical reasons, the signature is on the back of this message. |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Mon Apr 09, 2012 9:33 pm Post subject: AND > 1 post |
|
|
AND you got to have more than 1 post
Have fun
Ben Zijlstra |
|
Back to top |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Tue Apr 10, 2012 12:07 am Post subject: |
|
|
There is so much good stuff on the forum its probably taken till now to read it
Regards Paul |
|
Back to top |
|
|
Amino
Joined: 16 Nov 2009 Posts: 4
|
Posted: Tue Apr 10, 2012 6:02 am Post subject: Re: AND > 1 post |
|
|
bzijlstra wrote: | AND you got to have more than 1 post
Have fun
Ben Zijlstra |
OK
Now, I use software from Your site. Thanks!
Better for me is library for WIZ812
Regards, and sorry for my bad english |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Tue Apr 10, 2012 6:20 am Post subject: W5100, W5200 and W5300... |
|
|
If I understand correctly there will be one library with options for W5100, W5200 and W5300 ethernetchips.
Think the WIZ810MJ, WIZ811MJ and WIZ812MJ all have the W5100 chip.
The WIZ830MJ has the W5300.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
Amino
Joined: 16 Nov 2009 Posts: 4
|
Posted: Tue Apr 10, 2012 6:24 am Post subject: |
|
|
Yes, I'm understand.
Better for me is a library than write "step by step" a driver for W5100.
Regards |
|
Back to top |
|
|
six1
Joined: 27 Feb 2009 Posts: 553
|
Posted: Tue Apr 10, 2012 7:46 am Post subject: |
|
|
Amino wrote: | Yes, I'm understand.
Better for me is a library than write "step by step" a driver for W5100.
Regards |
A man must build a house, plant a tree an, of course, had to write a driver for W5xx Device _________________ For technical reasons, the signature is on the back of this message. |
|
Back to top |
|
|
Amino
Joined: 16 Nov 2009 Posts: 4
|
Posted: Tue Apr 10, 2012 10:14 am Post subject: |
|
|
six1 wrote: |
A man must build a house, plant a tree an, of course, had to write a driver for W5xx Device |
Good joke, life is brutal with bascom |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Apr 11, 2012 1:07 pm Post subject: |
|
|
there will be lib for 5100, and one for 5200/5300. the last one will be one lib which supports spi only for 5200 and bus mode for 5300. _________________ Mark |
|
Back to top |
|
|
rossfl
Joined: 06 Jul 2008 Posts: 20
|
Posted: Wed Apr 11, 2012 8:34 pm Post subject: |
|
|
The 5100/5200/5300 is an great way to provide ethernet communications. I know a lot of work was down around the 3100 (i2C) chip, but it looks like Wiznet is embracing the SPI interface.
I am working on a data collection terminal and having a library for W5100 SPI chips is essential. I have been using the Arduino Mega 2560 and the ethernet shield with the W5100 SPI chip. I prefer using Bascom and have replace the arduino boot loader with your sample MCS bootloader and that works great.
The ethernet communimciation is an area i am struggling with at the moment. Ultimately I would like to temporarily store data on a local SD card and forward data records over eithernet to a central PC. that way if the network goes down, transactions can be saved locally, until communications resume. I also like the idea of configuring the terminal as a webserver, so it can be easily setup or reset.
The main features I need, keypad, text display, realtime clock, serial ports for scanner, magstripe port for HID reader, buzzer and leds for status, SD storage are all good, some I/O , but struggling with W5100 communications. So please keep us posted on your efforts. this is a great addition. thank you your dedication and efforts are truely appreciated. |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Wed Apr 11, 2012 8:42 pm Post subject: wiz810mj routines... |
|
|
The library will replace the routines from this place
http://members.home.nl/bzijlstra/software/examples/wiz810mj.htm
But I understand Mark has used this info to create his library. Have been testing on the 'small Arduino' and on the Arduino Mega, with an option you can give the SPI SS pin you are using. On the Arduino Mega it is PORTB.4
Have fun
Ben Zijlstra |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Apr 11, 2012 9:10 pm Post subject: |
|
|
Writing the tcplib for the W3100A was a lot of work. it had various shadow registers you need to read/write.
And the NM7010A module had many pins to connect. So i designed a converter board. It is still available in the MCS web shop.
But since the W3100A chip is phased out and so are the derived modules, nm7010A can still be bought in small qty) , some customers asked for the w5100.
I have the wiz810MJ and it also had many pins. It will be available in the MCS webshop. And there will be a converter board too for this module.
With new chips/hardware it is always a matter of reading the datasheet, comparing with the old one. And then hookup things. But this can take a lot of your time.
Ben had sorted out the spi and connections and he also had a file with all registers and their new address. And his bascom sample made it easy for me to test the hardware.
The w5100 lib is based on the w3100 lib but it was build (copied/modded) from scratch. there were simply to many differences.
I use the wiznet api files as a guideline. (i remove the bugs and maybe add some?)
Ben was also helpful with hardware and testing. Now the soft is finished and all i need to do is a simple web server for a load test and updating the help.
The w5200 lib will be based on the w5100 lib. And as i understand it, the w5300 is the same as the w5200 but without SPI, only bus mode. _________________ Mark |
|
Back to top |
|
|
|