View previous topic :: View next topic |
Author |
Message |
josipratkaj
Joined: 06 Nov 2010 Posts: 5
|
Posted: Sat Dec 14, 2013 2:21 pm Post subject: Wiznet W5500 |
|
|
Hi!
I'm wondering, is BASCOM going to support the new W5500 chip? Has anybody used it and can share code? It seems like a nice SPI "TCP coprocessor", easier to place on PCB (smaller) and a tiny bit cheaper than W5200.
Thanks,
Josip |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sat Dec 14, 2013 2:27 pm Post subject: |
|
|
if you send me the hardware i can add a lib for it. it is probably derived from w5200 so it should not be too much work.
i did not checked the datasheets. do you have a link to the PDF ? _________________ Mark |
|
Back to top |
|
|
josipratkaj
Joined: 06 Nov 2010 Posts: 5
|
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Dec 18, 2013 11:08 am Post subject: |
|
|
I had a look. this is not really the same as w5200 and i do not see a real advantage of using this chip. the only advantage (IMO) is the SPI can transmit larger chucks. But it no problem to support it. Just bit more work.
I will send you an off line email for my address. _________________ Mark |
|
Back to top |
|
|
nicofer
Joined: 01 May 2013 Posts: 90 Location: GRJ
|
Posted: Wed Mar 12, 2014 9:23 pm Post subject: Wiz550io |
|
|
Hi
Any news on the support for this module / chip -
Lots of modules will be used in the WIZnet Connect the Magic 2014 Design Challenge
Best Regards
Nico |
|
Back to top |
|
|
georgestheking
Joined: 06 May 2005 Posts: 134
|
Posted: Mon Mar 17, 2014 10:38 pm Post subject: W5500 contest |
|
|
Hi,
It will be nice to participate of the contest using Bascom AVR.
Best regards
Georges |
|
Back to top |
|
|
josipratkaj
Joined: 06 Nov 2010 Posts: 5
|
Posted: Fri Feb 13, 2015 11:17 am Post subject: |
|
|
bump!
any news on the topic?
regards,
josip |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Wed Feb 18, 2015 2:21 pm Post subject: |
|
|
sorry, i had it scheduled but i ran out of time. After that it was out of sight. But after reading this, i quickly collected the board and documents and i used yesterday to read the datasheet again and make a plan.
This is a great chip and has some simplifications. because you can use VDM you can get higher speed too. But while i originally thought it were some relatively simple modifications, it is a bit harder.
in all libs the socket is passed in the address. But that is not possible now because a kind of 24 bit is used instead of 16 and i had no free register.
I do not know if users want the 5500 just for higher speed or for other reasons.
A quick solution would make no advantage of VDM and would store the socket in SRAM. Maybe that is best to get started. A more optimized rewritten version could be added later.
I keep you updated. _________________ Mark |
|
Back to top |
|
|
josipratkaj
Joined: 06 Nov 2010 Posts: 5
|
Posted: Wed Feb 18, 2015 6:21 pm Post subject: |
|
|
Hi!
thanks for the reply. personally, I find the chip easier from the HW perspective. SPI is the interface I prefer, the chip is smaller and easier to implement on the board etc. those are the main (probably the only) reasons I'm asking.
regards,
josip |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Feb 19, 2015 9:44 pm Post subject: |
|
|
i was fighting with this module. have connected it to the stk600.
but for some reason one gnd and vcc wire was not enough. just after i had checked wires for the third time, i decided to add another vcc and gnd, and then i could read the registers.
but writing registers does not work proper yet. So i might better add external power.
Too bad they included this eeprom and pic on the module that loads default values. i would have liked some jumper to turn that off.
ok, back to the wiring... _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Feb 19, 2015 10:08 pm Post subject: |
|
|
ahem, just one wire connector did not made good contact. now i can write and ping. Next time i begin to check all connector pins. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sat Feb 21, 2015 1:51 pm Post subject: |
|
|
ok, now the tcpsend and all simpler routines work. What remains is the receiving code. I expect it to be ready for test end of this weekend.
Josip : when you send an email to support i will give you access to a test version when i am done. _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Mon Feb 23, 2015 2:16 pm Post subject: |
|
|
and finally reading is working as well. _________________ Mark |
|
Back to top |
|
|
josipratkaj
Joined: 06 Nov 2010 Posts: 5
|
Posted: Wed Mar 04, 2015 12:40 pm Post subject: |
|
|
you've been busy as a bee
i'm happy that you got things running. usually when i have such an error (poor contact - sometimes works, sometimes doesn't), firstly i make changes to the code for a few days then i check the board.. i'll never learn
keep up the good work!
br,
josip |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Thu Mar 05, 2015 4:46 pm Post subject: |
|
|
yes, i am busy. but as had planned to support this module it was about time i finished it. too bad wiznet altered the protocol, i should have rewritten the complete lib. And when there is enough interest for this module, maybe i will. _________________ Mark |
|
Back to top |
|
|
|