-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
only once
Expected behavior
ipv6能够ping。或者能够提供一个ipv6验证可行的版本
Actual behavior (suspected bug)
1.目前使用windows11,安装vscode,ESP-IDF的插件,下载的是master(v5.5.0),开发板是官方的
2.开发板是ESP Thread Border Router/Zigbee Gateway v1.2
3.目前没做任何修改,只跑了一遍例程。但是编译烧录,配置wifi后,主机端执行 ping fd1a:7ade:6191:73ea:0:ff:fe00:fc11 失败
Error logs or terminal output
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x9 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037b16a
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x15b4
load:0x403c8700,len:0x4
load:0x403c8704,len:0xc80
load:0x403cb700,len:0x2f30
entry 0x403c8914
I (26) boot: ESP-IDF v5.5-dev-542-ge6aeb3d36d-dirty 2nd stage bootloader
I (27) boot: compile time Feb 28 2025 19:37:09
I (27) boot: Multicore bootloader
I (27) boot: chip revision: v0.2
I (27) boot: efuse block revision: v1.3
I (27) boot.esp32s3: Boot SPI Speed : 80MHz
I (28) boot.esp32s3: SPI Mode : DIO
I (28) boot.esp32s3: SPI Flash Size : 4MB
I (28) boot: Enabling RNG early entropy source...
I (28) boot: Partition Table:
I (28) boot: ## Label Usage Type ST Offset Length
I (29) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (29) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (30) boot: 2 phy_init RF data 01 01 00011000 00001000
I (30) boot: 3 ota_0 OTA app 00 10 00020000 00190000
I (31) boot: 4 ota_1 OTA app 00 11 001b0000 00190000
I (31) boot: 5 web_storage Unknown data 01 82 00340000 00019000
I (31) boot: 6 rcp_fw Unknown data 01 82 00359000 000a0000
I (32) boot: End of partition table
I (32) esp_image: segment 0: paddr=00020020 vaddr=3c100020 size=4681ch (288796) map
I (83) esp_image: segment 1: paddr=00066844 vaddr=3fc99900 size=04efch ( 20220) load
I (88) esp_image: segment 2: paddr=0006b748 vaddr=40374000 size=048d0h ( 18640) load
I (92) esp_image: segment 3: paddr=00070020 vaddr=42000020 size=f4cb4h (1002676) map
I (269) esp_image: segment 4: paddr=00164cdc vaddr=403788d0 size=10f70h ( 69488) load
I (285) esp_image: segment 5: paddr=00175c54 vaddr=600fe100 size=0001ch ( 28) load
I (294) boot: Loaded app from partition at offset 0x20000
I (294) boot: Disabling RNG early entropy source...
I (295) cpu_start: Multicore app
I (304) cpu_start: Pro cpu start user code
I (304) cpu_start: cpu freq: 160000000 Hz
I (304) app_init: Application information:
I (304) app_init: Project name: esp_ot_br
I (304) app_init: App version: v5.4-beta2-24-g8d163b7
I (305) app_init: Compile time: Feb 28 2025 19:36:36
I (305) app_init: ELF file SHA256: 8d8838fee...
--- Warning: Checksum mismatch between flashed and built applications. Checksum of built application is 3cf758f111dd9d40dd27878fff05f332ead43608a0bfaa1e48a4891876bcac98
I (305) app_init: ESP-IDF: v5.5-dev-542-ge6aeb3d36d-dirty
I (305) efuse_init: Min chip rev: v0.0
I (305) efuse_init: Max chip rev: v0.99
I (305) efuse_init: Chip rev: v0.2
I (306) heap_init: Initializing. RAM available for dynamic allocation:
I (306) heap_init: At 3FCAD9C8 len 0003BD48 (239 KiB): RAM
I (306) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (306) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (307) heap_init: At 600FE11C len 00001ECC (7 KiB): RTCRAM
I (308) spi_flash: detected chip: gd
I (308) spi_flash: flash io: dio
W (308) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (309) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (309) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (310) main_task: Started on CPU0
I (320) main_task: Calling app_main()
I (370) mdns_mem: mDNS task will be created from internal RAM
I (370) RCP_UPDATE: RCP: using update sequence 0
I (370) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated
I (370) OPENTHREAD: spinel UART interface initialization completed
I (380) main_task: Returned from app_main()
I(380) OPENTHREAD:[I] P-SpinelDrive-: co-processor reset: RESET_POWER_ON
E(380) OPENTHREAD:[C] P-SpinelDrive-: Software reset co-processor successfully
I(420) OPENTHREAD:[I] CslTxScheduler: Bus TX Time: 0 usec, Latency: 0 usec. Calculated CSL Frame Request Ahead: 20000 usec
I(420) OPENTHREAD:[I] ChildSupervsn-: Timeout: 0 -> 190
I(440) OPENTHREAD:[I] Settings------: Read NetworkInfo {rloc:0xa800, extaddr:1e18488ac7773786, role:leader, mode:0x0f, version:5, keyseq:0x0, ...
I(440) OPENTHREAD:[I] Settings------: ... pid:0x29a11fd9, mlecntr:0x2f6a, maccntr:0x2ee0, mliid:843b0001d00f7db8}
I (460) esp_ot_br: Internal RCP Version: openthread-esp32/e6aeb3d36d-005c5cefc; esp32h2; 2025-02-28 11:12:49 UTC
I (460) esp_ot_br: Running RCP Version: openthread-esp32/e6aeb3d36d-005c5cefc; esp32h2; 2025-02-28 11:12:49 UTC
I (460) OPENTHREAD: OpenThread attached to netif
> wifi connect -s HSW_WIFI_2.4G -p hsw23732403
ssid: HSW_WIFI_2.4G
psk: hsw23732403
I (61540) pp: pp rom version: e7ae62f
I (61540) net80211: net80211 rom version: e7ae62f
I (61550) wifi:wifi driver task: 3fcb8fd0, prio:23, stack:6144, core=0
I (61550) wifi:wifi firmware version: 59f0bdf2a
I (61550) wifi:wifi certification version: v7.0
I (61550) wifi:config NVS flash: enabled
I (61550) wifi:config nano formatting: enabled
I (61550) wifi:Init data frame dynamic rx buffer num: 32
I (61550) wifi:Init static rx mgmt buffer num: 5
I (61550) wifi:Init management short buffer num: 32
I (61560) wifi:Init dynamic tx buffer num: 32
I (61560) wifi:Init static tx FG buffer num: 2
I (61560) wifi:Init static rx buffer size: 1600
I (61560) wifi:Init static rx buffer num: 10
I (61560) wifi:Init dynamic rx buffer num: 32
I (61560) wifi_init: rx ba win: 6
I (61560) wifi_init: accept mbox: 6
I (61560) wifi_init: tcpip mbox: 32
I (61560) wifi_init: udp mbox: 6
I (61560) wifi_init: tcp mbox: 6
I (61560) wifi_init: tcp tx win: 5760
I (61560) wifi_init: tcp rx win: 5760
I (61560) wifi_init: tcp mss: 1440
I (61560) wifi_init: WiFi IRAM OP enabled
I (61560) wifi_init: WiFi RX IRAM OP enabled
I (61560) phy_init: phy_version 680,a6008b2,Jun 4 2024,16:41:10
I (61600) wifi:mode : sta (28:37:2f:12:61:c0)
I (61600) wifi:enable tsf
I (61600) wifi:Set ps type: 2, coexist: 0
I (61610) ot_ext_cli: Start example_connect
I (61610) example_connect: Connecting to HSW_WIFI_2.4G...
W (61610) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (61610) example_connect: Waiting for IP(s)
I (64440) wifi:new:<11,2>, old:<1,0>, ap:<255,255>, sta:<11,2>, prof:1, snd_ch_cfg:0x0
I (64440) wifi:state: init -> auth (0xb0)
I (64450) wifi:state: auth -> assoc (0x0)
I (64460) wifi:state: assoc -> run (0x10)
I (64470) wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:1(originator)
I (64470) wifi:[ADDBA]RX DELBA, reason:39, delete tid:0, initiator:0(recipient)
I (64540) wifi:connected with HSW_WIFI_2.4G, aid = 33, channel 11, 40D, bssid = f4:84:8d:23:fe:66
I (64550) wifi:security: WPA2-PSK, phy: bgn, rssi: -43
I (64550) wifi:pm start, type: 2
I (64550) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (64550) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (64630) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (66080) esp_netif_handlers: example_netif_sta ip: 192.168.1.55, mask: 255.255.255.0, gw: 192.168.1.1
I (66080) example_connect: Got IPv4 event: Interface "example_netif_sta" address: 192.168.1.55
I (66370) example_connect: Got IPv6 event: Interface "example_netif_sta" address: fe80:0000:0000:0000:2a37:2fff:fe12:61c0, type: ESP_IP6_ADDR_IS_LINK_LOCAL
I(66380) OPENTHREAD:[N] RoutingManager: BR ULA prefix: fde4:28d:9692::/48 (loaded)
I(66390) OPENTHREAD:[N] RoutingManager: Local on-link prefix: fd18:cd84:f9ee:a6b2::/64
wifi sta is connected successfully
Done
I (66390) OPENTHREAD: Platform UDP bound to port 61631
I (66390) OPENTHREAD: NAT64 ready
I (66400) wifi:<ba-add>idx:0 (ifx:0, f4:84:8d:23:fe:66), tid:0, ssn:948, winSize:64
> dataset init new
Done
> dataset commit active
Done
I(96510) OPENTHREAD:[N] RoutingManager: Local on-link prefix: fd79:b34e:75b1:8851::/64
> ifconfig up
I (101140) OPENTHREAD: Platform UDP bound to port 49153
Done
I (101140) OT_STATE: netif up
> thread start
I(105680) OPENTHREAD:[N] Mle-----------: Role disabled -> detached
Done
> I(132140) OPENTHREAD:[N] Mle-----------: RLOC16 a800 -> fffe
I(132750) OPENTHREAD:[N] Mle-----------: Attach attempt 1, AnyPartition reattaching with Active Dataset
I(139370) OPENTHREAD:[N] RouterTable---: Allocate router id 42
I(139370) OPENTHREAD:[N] Mle-----------: RLOC16 fffe -> a800
I(139380) OPENTHREAD:[N] Mle-----------: Role detached -> leader
I(139380) OPENTHREAD:[N] Mle-----------: Partition ID 0x39bfaf32
I (139400) OPENTHREAD: Platform UDP bound to port 49154
W(140310) OPENTHREAD:[W] DuaManager----: Failed to perform next registration: InvalidState
I (141000) OPENTHREAD: Platform UDP bound to port 53536
I (141010) OPENTHREAD: Platform UDP bound to port 49155
W(141320) OPENTHREAD:[W] DuaManager----: Failed to perform next registration: NotFound
I (150370) example_connect: Got IPv6 event: Interface "example_netif_sta" address: fd79:b34e:75b1:8851:2a37:2fff:fe12:61c0, type: ESP_IP6_ADDR_IS_UNIQUE_LOCAL
I (150370) example_connect: Got IPv6 event: Interface "example_netif_sta" address: fd3d:906c:eec1:d8da:2a37:2fff:fe12:61c0, type: ESP_IP6_ADDR_IS_UNIQUE_LOCAL
I (150370) example_connect: Got IPv6 event: Interface "example_netif_sta" address: fd18:cd84:f9ee:a6b2:2a37:2fff:fe12:61c0, type: ESP_IP6_ADDR_IS_UNIQUE_LOCAL
> ipaddr
fd01:24ec:dfd9:355b:0:ff:fe00:fc11
fd01:24ec:dfd9:355b:0:ff:fe00:fc10
fd01:24ec:dfd9:355b:0:ff:fe00:fc38
fde4:28d:9692:1:2baf:237:a2ea:4c7a
fd01:24ec:dfd9:355b:0:ff:fe00:fc00
fd01:24ec:dfd9:355b:0:ff:fe00:a800
fd01:24ec:dfd9:355b:843b:1:d00f:7db8
fe80:0:0:0:1c18:488a:c777:3786
Done
> ping fd01:24ec:dfd9:355b:0:ff:fe00:fc11
16 bytes from fd01:24ec:dfd9:355b:0:ff:fe00:fc11: icmp_seq=1 hlim=64 time=2ms
1 packets transmitted, 1 packets received. Packet loss = 0.0%. Round-trip min/avg/max = 2/2.0/2 ms.
Done
> W (413930) OPENTHREAD: Dropping unsupported mldv2 record of type 6Steps to reproduce the behavior
1.vscode 安装esp-idf ,下载master。进行编译·
2.编译之后设置烧录(都是借助vscode,版本1.97.2),然后执行wifi conenct -s ssid -p password, 执行ipaddr查看ipv6地址
3.在windows主机上来拿到同一个ssid,进行ping操作
Project release version
v5.5.0
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Windows
Operating system version
win11
Shell
PowerShell
Additional context
所有的操作,都按照官方的操作去实践的https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html
另外,有用linux主机尝试过,还是无法ping
Metadata
Metadata
Assignees
Labels
No labels
