Files
ETH_TCP_Demo/log.txt
2026-03-09 15:34:18 +08:00

126 lines
3.7 KiB
Plaintext

[Info] MAC: 00:80:e1:00:00:55
[Info] Found PHY at Address 1 (ID: 0007 c0f1)
[Info] Resetting PHY at address 1...
[Debug] Hardware abstraction layer initialized
[Info] Main: OSAL Log Level = 4
[Info] Test osal_log_i from main
[Debug] Initializing application components...
[Info] Event queue initialized
[Debug] Event queue initialized
[Info] Event handler initialized
[Debug] Event handler initialized
[Info] Transaction management initialized
[Debug] Transaction management initialized
[Info] State manager initialized
[Debug] State manager initialized
[Info] Error handler initialized
[Debug] Error handler initialized
[Info] Event handler registered for type 1
[Info] Event handler registered for type 2
[Info] Event handler registered for type 3
[Info] Event handler registered for type 4
[Info] Event handler registered for type 5
[Info] Event handler registered for type 7
[Info] Event handler registered for type 8
[Debug] Event handlers registered
[Debug] Initializing network components...
[Debug] Initializing TCP/IP stack...
[Debug] TCP/IP stack initialized.
[Debug] Network interface added
[Debug] Initializing sensors...
[Info] SHT40: Sending reset command 0x89
[Info] SHT40: Reset successful
[Info] SHT40 sensor initialized successfully
[Info] Sensor state set to 2
[Info] Performing SHT40 self-calibration using heater...
[Info] SHT40 self-calibration completed successfully
[Debug] Creating threads...
[Debug] Thread 'event_dispatch' created.
[Debug] Thread 'net_mon' created.
[Debug] Thread 'eth_input' created.
[Debug] Thread 'tcp_server' created.
[Debug] Thread 'blink' created.
[Debug] Memory Info: Total=88720, Used=12192, MaxUsed=12192
[Debug] System initialization completed. Starting OSAL...
[Info] Starting DHCP...
[Info] PHY BSR=0x7809, LinkStatus=0
.[Info] PHY BSR=0x782d, LinkStatus=1
[Info] Ethernet Link Up
[Info] Network link is up, starting DHCP...
[Info] Ethernet Link Down
.[Info] PHY BSR=0x782d, LinkStatus=1
[Info] Ethernet Link Up
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.[Info] PHY BSR=0x782d, LinkStatus=1
.
[Warning] DHCP Timeout! Fallback to Static IP.
[Debug] Processing event type 2
[Info] Handling network connected event
[Info] Network state set to 2
[Info] IP Address: 192.168.1.10
[Info] Netmask: 255.255.255.0
[Info] Gateway: 192.168.1.1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] TCP Server Starting...
[Info] TCP Server listening on port 5588
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1
[Info] PHY BSR=0x782d, LinkStatus=1