Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-A32]--#08-Ethernet_LAN_Web_server
#11
ok
Reply
#12
Bug 
Hello,

When i compile and upload the code. I am getting below error:
Code:
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8

Starting WebServer on NodeMCU_32S with ETH_PHY_LAN8720
WebServer_WT32_ETH01 v1.5.1 for core v1.0.6-
E (1041) emac: Timed out waiting for PHY register 0x2 to have value 0x0007(mask 0xffff). Current value 0xffff
E (2041) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0(mask 0xfff0). Current value 0xffff
E (2041) emac: Initialise PHY device Timeout

On internet, forums tells me to test the Lan module with the code below:
https://github.com/espressif/arduino-esp...AN8720.ino
Here is the result:
Code:
rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
E (1028) emac: Timed out waiting for PHY register 0x2 to have value 0x0007(mask 0xffff). Current value 0xffff
E (2028) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0(mask 0xfff0). Current value 0xffff
E (2028) emac: Initialise PHY device Timeout
E (1028) emac: Timed out waiting for PHY register 0x2 to have value 0x0007(mask 0xffff). Current value 0xffff
E (2028) emac: Timed out waiting for PHY register 0x3 to have value 0xc0f0(mask 0xfff0). Current value 0xffff
E (2028) emac: Initialise PHY device Timeout

This site tels a very complex things about worng pins and such to create the bug again.
https://github.com/espressif/arduino-esp32/issues/3734

Can you reproduce the problem, so that you may have a solution for this.


Because I cannot use Lan, I have to connect through usb cable  Confused
Here is my code: github
Reply
#13
can you download our "KCS" firmware for a test?
https://www.kincony.com/forum/showthread.php?tid=2764
Reply
#14
(04-12-2023, 06:10 AM)admin Wrote: can you download our "KCS" firmware for a test?
https://www.kincony.com/forum/showthread.php?tid=2764

I uploaded it but could not connect the ip. may be it is a lan cofiguration issue. I will try again as soon as i will have time. thank you for the support.
Reply
#15
ok
Reply
#16
Heart7:42:44.620 -> rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
07:42:44.620 -> configsip: 0, SPIWP:0xee
07:42:44.620 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
07:42:44.620 -> modeBig GrinIO, clock div:1
07:42:44.671 -> load:0x3fff0030,len:1184
07:42:44.671 -> load:0x40078000,len:13260
07:42:44.671 -> load:0x40080400,len:3028
07:42:44.671 -> entry 0x400805e4
07:42:44.933 ->
07:42:44.933 -> Starting WebServer on NodeMCU_32S with ETH_PHY_LAN8720
07:42:44.973 -> WebServer_WT32_ETH01 v1.5.1 for core v2.0.0+
07:42:45.977 -> E (1023) esp.emac: emac_esp32_init(357): reset timeout
07:42:45.977 -> E (1023) esp_eth: esp_eth_driver_install(214): init mac failed
07:47:29.087 -> E (1023) esp.emac: emac_esp32_init(357): reset timeout
07:47:29.087 -> E (1023) esp_eth: esp_eth_driver_install(214): init mac failed


Can U explain step by step where our problem is?
We can tray bin file?
Reply
#17
do you using KC868-A32? make sure you have set the ethernet LAN8720 chip pin define for arduino library.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)