TINA-Treiber Define für W5500 unklar

  • 1
  • 2
  • 3
  • 4
  • Page 4 of 4
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 30.11.2020 - 21:31  ·  #25
Hi Merlin,
I know. W5500 is the better chip.

miparo
Harry
Moderator
Avatar
Gender:
Location: zwischen Augsburg und Ulm
Age: 59
Posts: 2088
Registered: 03 / 2003
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 30.11.2020 - 21:48  ·  #26
Ok das heißt dann für mich, daß ich mein Programm mit dem ENC fertig schreibe und später auf den 5500er wechsle. Mit dem Bug den 5200er zu verwenden wäre eher kontraproduktiv. Ich harre dann der Pings, die da kommen und bedanke mich bei allen Helfenden und helfen werdenden ;)

Guads Nächtle
Harry
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 30.11.2020 - 21:54  ·  #27
Der ENC ist ja auch OK ABER der macht alles in Software d.h anständige CPU Last, was im Multitasking nicht gerade schön ist.

Die Wiznet machen fast alles selbst in HW, da bleibt viel mehr Zeit übrig für andere Aufgaben.
Zumal du beim W5500 dann 8 Sockets hast.

Da kannst du das ganze Dorf anpingen.
Harry
Moderator
Avatar
Gender:
Location: zwischen Augsburg und Ulm
Age: 59
Posts: 2088
Registered: 03 / 2003
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 01.12.2020 - 15:11  ·  #28
Mal zum Verständnis: Was sind diese Sockets? Wieso mal einen, wieso mal 8?

Harry
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 01.12.2020 - 16:10  ·  #29
To oversimplify it, think of the W5500 chip as a telephone exchange. When you contact (or try to contact) an address you 'dial' a number (IP address) via an arbitrary line (socket) and all replies from that address are martialled to that line (socket). This can be (in processor terms) some time later, so while you are waiting for a reply you can also try to contact another IP address, but you need to use a different line (socket) because the first one is busy waiting for a reply. That means that you can be talking to up to 8 devices at once. Once your first conversation is finished you can hang up (release the socket) and the line (socket) is then available to contact another address.

Sockets can be used for other purposes too (like DHCP for instance) but, as I said, the description is an oversimplification.
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 01.12.2020 - 16:14  ·  #30
Hi Harry,
Ist wie mit der Zigarettenschachtel. Mal sind 28, 29 und mal 31 drin :)

Für alles was du machst, brauchst du jeweils einen Kommuninaktionskanal ( Socket) und je nach Chip haben 1...8 Stück davon.

Mal einen Datenblatt anschauen, sonst macht das alles keinen Sinn.

miparo
Harry
Moderator
Avatar
Gender:
Location: zwischen Augsburg und Ulm
Age: 59
Posts: 2088
Registered: 03 / 2003
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 01.12.2020 - 16:26  ·  #31
D.h. wenn ich z.B. DHCP (da die IP evtl. erneuert werden muß) und einen Ping nutze, brauch ich 2 Sockets?

Gruss
Harry
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: TINA-Treiber Define für W5500 unklar

 · 
Posted: 01.12.2020 - 17:19  ·  #32
Hi Harry,
genau so ist es.
Wenn dhcp importiert wurde dann ist automatisch ein Socket reserviert.

miparo
  • 1
  • 2
  • 3
  • 4
  • Page 4 of 4
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 13   134   147 · Page-Gen-Time: 0.028685s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI