The real point is actually to use the WizNet sockets (WIZNET memory), so that the CPU does not have to worry about the LAN traffic so quickly and wastes computing time waiting.
Exactly so, Thorsten, which is why I wrote it.
Harry
Moderator
Gender: Location: zwischen Augsburg und Ulm Age: 59 Posts: 2134 Registered: 03 / 2003
I have a great idea: Please write a ping for your driver.
Unfortunately, I don't know what the protocol for that looks like. I just know it's ICMP.
@Thorsten: Ich frag grad den Interruptpin so ab und dann reagiert das Programm nach Ablauf des Ping-Timeout. Wenn alles im Netz erreichbar ist (1..3ms Response-Time), wird auch der Touch schneller bedient und auch der richtige Interrupt funktioniert deutlich besser. Also ja, der Treiber wartet, bis der Client anwortet oder der TimeOut zuschlägt.
I have a great idea: Please write a ping for your driver.
Unfortunately, I don't know what the protocol for that looks like. I just know it's ICMP.
It is actually fairly straightforward, but unfortunately I do not have the hardware to test is on these days. I did start to do it but had no need of it in the end and so did not complete it. I don't mind finishing the source if someone else can test...
@miparo:
Aber gibt es überhaupt einen Grund beim Wiznet auf Interrupts so schnell zu reagieren? Die haben intern doch den Speicher, ich denke da machen ein paar ms mehr oder weniger nichts aus.
Thorsten
Der dümmpelt auch nur im Hintergrund rum, bei TinaPrioLow.
Ich hatte das selbst so am laufen als Inet Radio mit Display und Touch.
Ob das Interrupt System so sein muss ist ne andere Sache , das war aber als der heilige Gral so erwünscht.Ich hätte es anders gemacht.
Zumal der wzTina eh alles alleine macht.
Harry
Moderator
Gender: Location: zwischen Augsburg und Ulm Age: 59 Posts: 2134 Registered: 03 / 2003
when you finish programming that, i will be happy to test it .
If the ping does not wait for an answer or timeout, can I send several pings at the same time?
when you finish programming that, I will be happy to test it .
If the ping does not wait for an answer or timeout, can I send several pings at the same time?
Do you have an example of how to use your driver?
Yes, as many pings as you have sockets spare - one ping per socket. And yes I do have examples.
Harry
Moderator
Gender: Location: zwischen Augsburg und Ulm Age: 59 Posts: 2134 Registered: 03 / 2003
Note due to EU Cookie Law This page uses cookies to handle logins and unread markers. If you use this forum you allow that this page is storing cookies on your computer. To remove Cookies from this site just click on "Delete cookies of this forum" on the bottom of the page. You can find more infos in our Cookie Policy.