• AVR Freaks

Hot!Harmony 2 - Changing PHY to KSZ8863

Author
Soren.Bang
Starting Member
  • Total Posts : 40
  • Reward points : 0
  • Joined: 2012/10/10 13:01:51
  • Location: Denmark
  • Status: offline
2019/08/27 03:09:37 (permalink)
0

Harmony 2 - Changing PHY to KSZ8863

I'm in the process of rewriting the firmware for an existing PIC32 + KSZ8863 product using the Harmony 2 framework with WulfSSL.
In the Harmony Configurater I have changed the PHY from SMSC8740 (Standard on the PIC32 eth SK II) to KSZ8863 (Daughter board AC320004-7) and leaving all other settings as standard (PHY address = 0) - This does not work -> TCPIP Stack does not initialize.
The KSZ8863 is a 3 port switch with the port 1 and 2 for external connections and port 3 for the uplink the PIC32 - Setting the PHY address in MHC to 3 does not work either - but setting the PHY address to 1 does work even though this is not the PHY that the PIC32 is talking to.
The KSZ8863 is not included in Harmony 2.06 documentation so I was wondering if any one has a good explanation.
 
In the original firmware base on MLA I have rewritten part the driver so it is forced to 100 Mbit/Full duplex/Uplinked and no use of the MIIM interface.
 
Regards
 
Søren
 
 
 
#1

3 Replies Related Threads

    Ajith Tomy
    New Member
    • Total Posts : 14
    • Reward points : 0
    • Joined: 2016/12/30 02:41:27
    • Location: India
    • Status: offline
    Re: Harmony 2 - Changing PHY to KSZ8863 2019/09/30 02:37:15 (permalink)
    0
    I have the same problem. I'm using KSZ8775 in RMII.
    I use KSZ8863 driver for KSZ8775
    everything okay up to   TCPIP stack Inzalization Ended - success.
     
    PHY add 1 for Port 1
    PHY add 2 for port 2
    PHY add 3 for port 3 etc...
     
    But the device, not ping 
    I tested the sample code with SMS8740. it was okay.
     
     
    #2
    Soren.Bang
    Starting Member
    • Total Posts : 40
    • Reward points : 0
    • Joined: 2012/10/10 13:01:51
    • Location: Denmark
    • Status: offline
    Re: Harmony 2 - Changing PHY to KSZ8863 2019/10/03 07:42:46 (permalink)
    0
    Hi Ajith
     
    What address have you selected for the 'PHY Address' ? under External PHY Configuration.
    I set it to '1' which works.
     
    Regards
     
    Søren
     
     
     
    #3
    Ajith Tomy
    New Member
    • Total Posts : 14
    • Reward points : 0
    • Joined: 2016/12/30 02:41:27
    • Location: India
    • Status: offline
    Re: Harmony 2 - Changing PHY to KSZ8863 2019/10/11 21:49:42 (permalink)
    0
    It works.
    Thanks Soren.Bang,
    wrong PCB connection was the problem.
    KSZ8863 drive, compactable with KSZ8775.
    PHY address: 1
    no more changes. 
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5