W5500

FirewingUser.W5500 History

Hide minor edits - Show changes to output

Changed line 12 from:
* Wiznet IOShield-A [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| With some hardware changes ]](contributed by Jerry Messina) 
to:
* Wiznet IOShield-A [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| With some hardware changes ]] (contributed by Jerry Messina) 
Changed line 12 from:
* Wiznet IOShield-A [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf|With some hardware changes ]](contributed by Jerry Messina) 
to:
* Wiznet IOShield-A [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| With some hardware changes ]](contributed by Jerry Messina) 
Changed lines 10-11 from:
- Itead POE W5500 Ethernet Shield
- Wiznet IOShield-A [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf|With some hardware changes ]](contributed by Jerry Messina) 
to:

* Itead POE W5500 Ethernet Shield
* Wiznet IOShield-A [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf|With some hardware changes ]](contributed by Jerry Messina) 
Changed lines 9-11 from:
This library is also [[http://sfcompiler.co.uk/phpBB3/viewtopic.php?f=5&t=1944 | compatible with this shields]]

Hardware changes necessary to use the
[[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A]] (contributed by Jerry Messina)
to:
This library is also compatible with this shields:
- Itead POE W5500 Ethernet Shield
- Wiznet IOShield-A
[[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf|With some hardware changes ]](contributed by Jerry Messina) 
Changed line 11 from:
Changes necessary to use the [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A]] (contributed by Jerry Messina)
to:
Hardware changes necessary to use the [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A]] (contributed by Jerry Messina)
Changed lines 11-12 from:
Changes necessary to use the IOShield-A (contributed by Jerry Messina)
[[ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A]]
to:
Changes necessary to use the [[http://www.firewing.info/user-uploads/FirewingUser/W5500/ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A]] (contributed by Jerry Messina)
Changed line 12 from:
Attach:ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A
to:
[[ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A]]
Changed line 12 from:
Attach:ioshield-a_v1.1_sch with Firewing mods.pdf | link text
to:
Attach:ioshield-a_v1.1_sch_with_Firewing_mods.pdf| IOShield-A
Changed line 12 from:
Attach:file.ext | link text
to:
Attach:ioshield-a_v1.1_sch with Firewing mods.pdf | link text
Added lines 10-12:

Changes necessary to use the IOShield-A (contributed by Jerry Messina)
Attach:file.ext | link text
Added lines 8-9:

This library is also [[http://sfcompiler.co.uk/phpBB3/viewtopic.php?f=5&t=1944 | compatible with this shields]]
Changed line 1 from:
!! Updated with ping support 28 March, 2015
to:
'+Updated with ping support 28 March, 2015+'
Changed line 1 from:
+++ Updated with ping support 28 March, 2015
to:
!! Updated with ping support 28 March, 2015
Added lines 1-2:
+++ Updated with ping support 28 March, 2015
Changed lines 666-671 from:
Firewing library modules : [[http://www.firewing.info/user-uploads/FirewingUser/W5500/W5500-with-Ping-FW-Library.zip| W5500 Library ]]

Eagle project here
[[Attach:FW-W5500-Eagle.zip | W550io Home Made Shield ]]

SOAP VB.NET Client: [[Attach:VS2010-SOAP-Client.zip | VB.NET SOAP Client ]]

to:
!!! IP Ping Support - Updated March 28, 2015

Ping test program:
[[http://www.firewing.info/user-uploads/FirewingUser/W5500/W5500-Test-Ping-FW-Program.zip | Ping program ]]
Added lines 769-776:

Firewing library modules : [[http://www.firewing.info/user-uploads/FirewingUser/W5500/W5500-with-Ping-FW-Library.zip| W5500 Library ]]

Eagle project here [[Attach:FW-W5500-Eagle.zip | W550io Home Made Shield ]]

SOAP VB.NET Client: [[Attach:VS2010-SOAP-Client.zip | VB.NET SOAP Client ]]

Ping test program: [[http://www.firewing.info/user-uploads/FirewingUser/W5500/W5500-Test-Ping-FW-Program.zip | Ping program ]]
Added line 37:
||W5500-Ping.bas ||Ping module||
Changed lines 666-667 from:
Firewing library modules : [[Attach:W5500.zip | W5500 Library ]]
to:
Firewing library modules : [[http://www.firewing.info/user-uploads/FirewingUser/W5500/W5500-with-Ping-FW-Library.zip| W5500 Library ]]
Changed lines 672-770 from:
to:
=firewing [=
/****************************************************************************
*  Name    : W5500-Test-Ping.BAS                                            *
*  Author  : Coccoliso                                                      *
*  Notice  : Copyright (c) 2014                                            *
*          : All Rights Reserved                                            *
*  Date    : 1/11/2014                                                      *
*  Version : 1.0                                                            *
*  Notes  :                                                                *
*          :                                                                *
****************************************************************************/
Clock = 80

#option WIZ_DHCP_DEBUG  = true
#option WIZ_DNS_DEBUG  = false
#option WIZ_PING_DEBUG  = false
#option WIZ_PING_DISPLAY = true

#option USE_DHCP = true
#option USE_DNS  = false
#option USE_PING = true
#option WIZ_SCS_PIN = _D10 ' PORTC.0 
#option WIZ_RST_PIN = _D9  ' PORTC.1   
#option TCP_PORT_ROM_ADDR = 0

imports "W5500-Consts"
imports "W5500-Utils"
imports "W5500"

#if USE_DNS
    imports "W5500-DNSConsts"
    Dim dnsRes As DNS_INFO
#endif

Private Sub ConfigDisplay()
    Console.Write(13,10)
    Console.Write("MAC Address ",SARtoString(),13,10)
    Console.Write("IP Address  ",SIPRtoString(),13,10)
    Console.Write("Subnet Mask ",SUBRtoString(),13,10)
    Console.Write("Gateway    ",GARtoString(),13,10)
    Console.Write(13,10)   
End Sub


Dim IPAddr(4)  As Byte

#if USE_DHCP
  imports "W5500-DHCP"
  sub OnUpdate() Handles W5500_DHCP.OnUpdateEvent
      ConfigDisplay()
  End Sub

  sub OnConflict() Handles W5500_DHCP.OnConflictEvent
  End Sub
#endif

Private Function SetAddress(a as byte, b as byte, c as byte, d As Byte, RAMAddr As ushort) As ushort 
    SetAddress = RAMAddr
    Save(Addr2)
    Addr2 = RAMAddr
    *(Addr2+) = a
    *(Addr2+) = b
    *(Addr2+) = c
    *(Addr2) = d
    Restore           
End Function

// ##################################################################################

// ##################################################################################

private sub main()
  #if USE_DHCP = true     
      Console.Write("Now find the DHCP server.. ",13,10)   
      If DHCPTask(3) = false Then
          Console.Write("DHCP error, so must set static parms.. ",13,10)
          ConfigDisplay()
      End If   
  #else
      Console.Write("Using static config.. ",13,10)   
      ConfigDisplay()
  #endif

  DelayMS(1000)

  Console.Write(13,10)
  Console.Write("My IP is ",SIPRtoString(),13,10)

  SetAddress(192,168,1,50,addressof(IPAddr))      ' <-- SET PING ADDRESS HERE
 
  Console.Write("Now call PingAuto()..",13,10)
  PingAuto(addressof(IPAddr))
  Console.Write("Now call PingCount() with 10 pings on Socket 0 ..",13,10)
  PingCount(0,10,addressof(IPAddr))
  Console.Write("That is all!",13,10)
  While true
  End While
end sub
=]
Changed lines 3-5 from:
You can download Firewing library modules here: [[Attach:W5500.zip | W5500 Library ]]

Attach:file.ext | link text
to:
You can download Firewing library modules here: [[http://www.firewing.info/user-uploads/FirewingUser/W5500/W5500-with-Ping-FW-Library.zip| W5500 Library ]]
Added lines 4-5:

Attach:file.ext | link text
Deleted line 6:
Attach:file.ext | link text
Added line 7:
Attach:file.ext | link text
Added lines 4-5:

See also [[http://www.firewing.info/pmwiki.php?n=FirewingUser.MQTT| MQTT Client Library]]