Tool/software:
Hello,
as the title says I am working with the mcu+ sdk 09.02.00.50 and the https server example.
Everything works as intended until I activate the option for LWIP_NETIF_HOSTNAME in opt.h.
The netif_set_up() function in App_setupNetif() sets the flag for netif up, but when calling the callback function to check this, the flags are all 0.
Can you help here?
Output without hostname:
==========================
CPSW HTTPS TCP
==========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 1
Mdio_open: MDIO Manual_Mode enabled
EnetPhy_bindDriver: PHY 1: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
PHY 1 is alive
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP] NETIF INIT SUCCESS
Host MAC address-0 : xx:xx:xx:xx:xx:xx
Enet IF DOWN Event
[LWIPIF_LWIP] Enet has been started successfully
Waiting for network UP ...
Waiting for network UP ...
Waiting for network UP ...
Waiting for network UP ...
Cpsw_handleLinkUp: Port 1: Link up: 1-Gbps Full-Duplex
MAC Port 1: link up
Network Link DOWN Event
Waiting for network UP ...
Waiting for network UP ...
With hostname:
==========================
CPSW HTTPS TCP
==========================
Enabling clocks!
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 1
Mdio_open: MDIO Manual_Mode enabled
EnetPhy_bindDriver: PHY 1: OUI:080028 Model:23 Ver:01 <-> 'dp83867' : OK
PHY 1 is alive
Starting lwIP, local interface IP is dhcp-enabled
[LWIPIF_LWIP] NETIF INIT SUCCESS
Host MAC address-0 : xx:xx:xx:xx:xx:xx
Enet IF UP Event. Local interface IP:0.0.0.0
[LWIPIF_LWIP] Enet has been started successfully
Waiting for network UP ...
Waiting for network UP ...
Waiting for network UP ...
Waiting for network UP ...
Cpsw_handleLinkUp: Port 1: Link up: 1-Gbps Full-Duplex
MAC Port 1: link up
Network Link UP Event
Waiting for network UP ...
Waiting for network UP ...
Waiting for network UP ...
Waiting for network UP ...
Enet IF UP Event. Local interface IP:192.168.xx.xx
Network is UP ...
22. 96s : CPU load = 3.49 %
27. 97s : CPU load = 3.54 %
Kind regards,
Jakob