PING, UDP and HTTP, piece of cake with this nice microcontroller
Have fun
Ben Zijlstra
Moderator: Victor

$regfile = "W7100.DAT"
$crystal = 11059200
Do
Set P0.3
Set P0.4
Set P0.5
Wait 1
Reset P0.3
Reset P0.4
Reset P0.5
Wait 1
Loop
End
bzijlstra wrote:Got three files for you:
There is only one issue, strings in XRAM, but I will get that working later on.
Have fun
Ben Zijlstra
http://benshobbycorner.nl
http://members.home.nl/bzijlstra
$regfile = "W7100.DAT"
$crystal = 11059200
Do
Set P0.3
Set P0.4
Set P0.5
Wait 1
Reset P0.3
Reset P0.4
Reset P0.5
Wait 1
Loop
End
$regfile = "W7100.DAT"
$crystal = 11059200
$baud = 115200
$default XRAM
$large
Tl1=&HFC
Th1=&HFE
$romstart = &H0800
Dim Dataflash(256) as byte
Dim Q as word
Q = varptr(Dataflash(1))
Wconf.7 = 0 'no reboot
Wconf.6 = 0 'activate bootrom
Tmpr0 = low(q)
Tmpr1 = high(q)
Ispaddrh = Tmpr1
Ispaddrl = Tmpr0
Ispid = &HD2 'read
Call &H07FD
Wconf.6 = 1 'deactivate bootrom
EndReturn to WIZnet Education Center
Users browsing this forum: No registered users and 1 guest