Hello,
Here are some pictures....
Using the Arduino WiFi example, I get '........'
Using ESP-IDF in visual studio code (which is WAY more verbose, I get the output bellow).
The antena chip does seem to have 2 side (like a resistor), which is why I am asking what the other side is connected to...
Cyrille
ok, uploading the images did not work (unknown error), so here are links to the images:
And here is the output using esp-idf
ts\esp\v5.3.2\esp-idf\tools\idf_monitor.py' -p COM12 -b 115200 --toolchain-prefix riscv32-esp-elf- --target esp32c3 'c:\Users\cydeb\Desktop\station\build\wifi_station.elf'
--- Warning: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM12 instead...
--- esp-idf-monitor 1.5.0 on \\.\COM12 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
I (114) esp_image: segment 1: paddr=000280e0 vaddr=3fc934ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40384ce4
--- 0x40384ce4: rv_utils_wait_for_intr at C:/Users/cydeb/Documents/esp/v5.3.2/esp-idf/components/riscv/include/riscv/rv_utils.h:62
(inlined by) esp_cpu_wait_for_intr at C:/Users/cydeb/Documents/esp/v5.3.2/esp-idf/components/esp_hw_support/cpu.c:62
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1820
load:0x403cc710,len:0xbcc
load:0x403ce710,len:0x2f5c
entry 0x403cc71a
I (24) boot: ESP-IDF v5.3.2-dirty 2nd stage bootloader
I (24) boot: compile time Jan 22 2025 17:13:58
I (25) boot: chip revision: v0.3
I (28) boot: efuse block revision: v1.1
I (32) boot.esp32c3: SPI Speed : 80MHz
I (37) boot.esp32c3: SPI Mode : DIO
I (42) boot.esp32c3: SPI Flash Size : 2MB
I (47) boot: Enabling RNG early entropy source...
I (52) boot: Partition Table:
I (56) boot: ## Label Usage Type ST Offset Length
I (63) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (70) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (78) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=180b8h ( 98488) map
I (114) esp_image: segment 1: paddr=000280e0 vaddr=3fc93400 size=02df0h ( 11760) load
I (116) esp_image: segment 2: paddr=0002aed8 vaddr=40380000 size=05140h ( 20800) load
I (124) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=84e34h (544308) map
I (217) esp_image: segment 4: paddr=000b4e5c vaddr=40385140 size=0e284h ( 57988) load
I (233) boot: Loaded app from partition at offset 0x10000
I (234) boot: Disabling RNG early entropy source...
I (245) cpu_start: Unicore app
I (254) cpu_start: Pro cpu start user code
I (254) cpu_start: cpu freq: 160000000 Hz
I (254) app_init: Application information:
I (257) app_init: Project name: wifi_station
I (262) app_init: App version: 1
I (266) app_init: Compile time: Jan 22 2025 17:13:47
I (272) app_init: ELF file SHA256: 0848dd711...
I (278) app_init: ESP-IDF: v5.3.2-dirty
I (283) efuse_init: Min chip rev: v0.3
I (288) efuse_init: Max chip rev: v1.99
I (293) efuse_init: Chip rev: v0.3
I (297) heap_init: Initializing. RAM available for dynamic allocation:
I (305) heap_init: At 3FC9A3F0 len 00025C10 (151 KiB): RAM
I (311) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
I (318) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
I (325) heap_init: At 50000200 len 00001DE8 (7 KiB): RTCRAM
I (332) spi_flash: detected chip: generic
I (336) spi_flash: flash io: dio
W (340) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (353) sleep: Configure to isolate all GPIO pins in sleep state
I (359) sleep: Enable automatic switching of GPIO sleep configuration
I (367) main_task: Started on CPU0
I (367) main_task: Calling app_main()
I (377) wifi station: ESP_WIFI_MODE_STA
I (377) pp: pp rom version: 9387209
I (377) net80211: net80211 rom version: 9387209
I (397) wifi:wifi driver task: 3fca2f18, prio:23, stack:6656, core=0
I (397) wifi:wifi firmware version: b0fd6006b
I (397) wifi:wifi certification version: v7.0
I (397) wifi:config NVS flash: enabled
I (397) wifi:config nano formating: disabled
I (407) wifi:Init data frame dynamic rx buffer num: 32
I (407) wifi:Init static rx mgmt buffer num: 5
I (417) wifi:Init management short buffer num: 32
I (417) wifi:Init dynamic tx buffer num: 32
I (427) wifi:Init static tx FG buffer num: 2
I (427) wifi:Init static rx buffer size: 1600
I (427) wifi:Init static rx buffer num: 10
I (437) wifi:Init dynamic rx buffer num: 32
I (437) wifi_init: rx ba win: 6
I (447) wifi_init: accept mbox: 6
I (447) wifi_init: tcpip mbox: 32
I (447) wifi_init: udp mbox: 6
I (457) wifi_init: tcp mbox: 6
I (457) wifi_init: tcp tx win: 5760
I (467) wifi_init: tcp rx win: 5760
I (467) wifi_init: tcp mss: 1440
I (467) wifi_init: WiFi IRAM OP enabled
I (477) wifi_init: WiFi RX IRAM OP enabled
I (487) phy_init: phy_version 1180,01f2a49,Jun 4 2024,16:34:25
I (517) wifi:mode : sta (84:f7:03:56:c0:d4)
I (527) wifi:enable tsf
I (527) wifi station: wifi_init_sta finished.
I (2937) wifi station: retry to connect to the AP
I (2937) wifi station: connect to the AP fail
I (5337) wifi station: retry to connect to the AP
I (5337) wifi station: connect to the AP fail
I (7747) wifi station: retry to connect to the AP
I (7747) wifi station: connect to the AP fail
I (7787) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (7787) wifi:state: init -> auth (0xb0)
I (8797) wifi:state: auth -> init (0x200)
I (8807) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (8807) wifi station: retry to connect to the AP
I (8807) wifi station: connect to the AP fail
I (11217) wifi station: retry to connect to the AP
I (11217) wifi station: connect to the AP fail
I (13617) wifi station: connect to the AP fail
I (13617) wifi station: Failed to connect to SSID:****, password:**** // I removed the pass from the original outputs...
I (13627) main_task: Returned from app_main()