esp-hosted
esp-hosted copied to clipboard
esp-hosted/features error in esp_wifi_init(&cfg)
I'll keep it short. I'm running the station_example_main.c entry point. Other than adding esp_hosted_init(NULL); before app_main(); I haven't changed anything from the current branch.
HOST
I ESP-Hosted starting. Hosted_Tasks: prio:2, stack: 5120 RPC_task_stack: 4096
I ********************************************************
I ********************************************************
I ******** ESP-Hosted ********
I ********************************************************
I ********************************************************
I SDIO CLK Freq: 280Mhz ClockDiv: 14
I Transport - SDIO
SDIO master, CLK Freq: 10Mhz
RCA: 1
bus_width 64. Clock Div 350
bus_width 66. Clock Div 14
D >0x2400976c 01 03 d9 01 ff 20 04 66 66 22 22 21 02 0c 00 22 |..... .ff""!..."|
D 0x2400977c 04 00 00 02 32 1a 05 01 01 00 02 07 1b 08 c1 41 |....2..........A|
D 0x2400978c 30 30 ff ff ff ff ff |00.....|
TUPLE: DEVICE, size: 3: D9 01 FF
TUPLE: MANFID, size: 4
MANF: 6666, CARD: 2222
TUPLE: FUNCID, size: 2: 0C 00
TUPLE: FUNCE, size: 4: 00 00 02 32
TUPLE: CONFIG, size: 5: 01 01 00 02 07
TUPLE: CFTABLE_ENTRY, size: 8
INDX: C1, Intface: 1, Default: 1, Conf-Entry-Num: 1
IF: 41
FS: 30, misc: 0, mem_space: 1, irq: 1, io_space: 0, timing: 0, power: 0
IR: 30, mask: 1, IRQ: FF FF
LEN: FFFF
TUPLE: END
D IOE: 0x02
D IOR: 0x02
D IOE: 0x02
D IOE: 0x02
D IOR: 0x02
D IE: 0x00
D IE: 0x03
D BUS_WIDTH: 0x42
I Function 0 Blocksize: 512
I Function 1 Blocksize: 512
D rpc_init
D rpc_slaveif_init
I ESP_WIFI_MODE_STA
D LwIP stack has been initialized
D esp-netif has been successfully initialized
D created task for loop 0x240221f8
D created event loop 0x240221f8
D esp_netif_add_to_list 0x24029ec0
D esp_netif_add_to_list netif added successfully (total netifs: 1)
D check: remote, if=0 fn=0x90007971
D call api in lwip: ret=0x0, give sem
D Register sync sem 0x2402a1f0 for resp[0x216]
I <-- RPC_Req [0x116]
D Sent RPC_Req[0x116]
D >0x2402a364 22 09 12 01 00 11 01 1d 13 01 00 |"..........|
I Received INIT event from ESP32 peripheral
D Init event length: 9
I EVENT: 12
I EVENT: 11
I capabilities: 0x1d
I Features supported are:
I * WLAN
I * BT/BLE
I - HCI over SDIO
I - BT/BLE dual mode
I EVENT: 13
D priv test raw tp
I ESP board type is : 0
I Received INIT event
I Base transport is set-up
D >0x2402a364 01 06 00 52 50 43 45 76 74 02 08 00 08 03 10 81 |...RPCEvt.......|
D 0x2402a374 06 8a 30 00 |..0.|
D Received Event [0x301]
D EVENT: ESP INIT
I Received Slave ESP Init
D >0x2402a974 01 06 00 52 50 43 52 73 70 02 0b 00 08 02 10 96 |...RPCRsp.......|
D 0x2402a984 04 b2 21 03 08 82 02 |..!....|
D Received Resp [0x216]
I --> RPC_Resp [0x216]
E Failure resp/event: possibly precondition not met
E Failed Control Response
ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x90024319
file: "../Core/port/examples/wifi/station/main/station_example_main.c" line 113
func: wifi_init_sta
expression: esp_wifi_init(&cfg)
SLAVE
I (446) NETWORK_ADAPTER: *********************************************************************
I (454) NETWORK_ADAPTER: ESP-Hosted-FG Slave Firmware version :: 0.0.5
I (462) NETWORK_ADAPTER: Transport used :: SDIO only
I (468) NETWORK_ADAPTER: *********************************************************************
I (476) gpio: GPIO[0]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (484) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (492) NETWORK_ADAPTER: Supported features are:
I (496) NETWORK_ADAPTER: - WLAN over SDIO
I (498) ESP_BT: - BT/BLE
I (502) ESP_BT: - HCI Over SDIO
I (504) ESP_BT: - BT/BLE dual mode
I (508) NETWORK_ADAPTER: capabilities: 0x1d
I (532) BTDM_INIT: BT controller compile version [153f120]
I (532) BTDM_INIT: Bluetooth MAC: 48:e7:29:99:29:9a
I (534) phy_init: phy_version 4771,450c73b,Aug 16 2023,11:03:10
I (842) NETWORK_ADAPTER: ESP Bluetooth MAC addr: 48:e7:29:99:29:9a
I (844) SDIO_SLAVE: Using SDIO interface
I (844) SDIO_SLAVE: sdio_init: ESP32 SDIO timing: 0
I (1496) NETWORK_ADAPTER: Start Data Path
I (1540) NETWORK_ADAPTER: Initial set up done
I (1540) slave_ctrl: event ESPInit
I (1540) main_task: Returned from app_main()
I (1606) slave_ctrl: Resp_MSGId for req[0x116] is [0x216]
I (1606) slave_ctrl: Received Req [0x116]
E (1608) wifi:dynamic tx buf number 0 is out of range
I (1610) wifi_init: rx ba win: 6
I (1614) wifi_init: tcpip mbox: 32
I (1616) wifi_init: udp mbox: 6
I (1620) wifi_init: tcp mbox: 6
I (1622) wifi_init: tcp tx win: 5744
I (1626) wifi_init: tcp rx win: 5744
I (1630) wifi_init: tcp mss: 1440
I (1632) wifi_init: WiFi IRAM OP enabled
I (1636) wifi_init: WiFi RX IRAM OP enabled
E (1640) slave_ctrl: req_wifi_init:1016 failed [esp_wifi_init(&cfg)] = [258]