Closed 4O6FPV closed 2 months ago
after some initial investigation I think this thread speaks to what could possibly be happening with the S3 I have. Per the thread below for the ESP32-S3 this needs to be flagged to upload firmware If using ESP-IDF and not Arduino, select ESP_CONSOLE_USB_SERIAL_JTAG in menuconfig. I do not yet have the knowledge to build firmware myself yet but hope soon will learn. https://github.com/espressif/arduino-esp32/issues/6762
I just ran into this myself with the same ESP32-S3-Wroom-1
Seems to be the same with the esp32c3 (v1.5) (connected only with RX/TX). After the first start you have to hit the RST-Button to connect to Groundstation.
Please check the latest pre-release v2.0RC2 if the issue is fixed
I tried v2.0RC2 with esp32c3. After changing to client mode I can reach the gui. But after connecting it to Mission Planner the esp32c3 isn't reachable anymore, even after reboot. I had to write the firmware again to reach the website. But after connecting with the ground station connection is lost forever again. So I went back to v1.5. The connection with the ground station works again (but I have to push RST once after startup).
I consider it normal that after flashing the board needs to be reset either via the RST button or by unplugging it from the power. It needs to reboot so the bootloader can select the right firmware after flashing. With v2.0 you can press the BOOT button (on the official board it is the left button with the USB-C connector facing upwards) to reset the settings. A simple click will put the board in Access Point mode so you can change the settings. A long press will reset everything back to defaults.
@thymjan Regarding the issue with the crash: I cannot reproduce the issue with the ESP32C3. For me it works fine. I set-up the ESP32C3 in Access Point Mode. Save the settings and check that it receives telemetry etc. Then I change it to Client Mode and enter my WiFi SSID and password. I save settings and reboot the device via the webinterface. After reboot the ESP32C3 connects to my WiFi and I am able to connect to it via the MissionPlanner using the new IP address. The web interface is also working, even when MissionPlanner is connected. Keep in mind that the IP of the ESP32C3 changes when you switch from access point mode to client mode. How do you connect via MissionPlanner when in client mode? Via manual UDP or via TCP?
Ok, I will give it another try. I have a "naked" seeed studio esp32-c3. UART TX Pin 9 and RX Pin 10. No RTS/CTS connection. I connect Mission Planer via TCP connection. I connect the esp32-c3 via TELEM 1 with the Radiolink crossflight V1.0 (ArduRover V4.2.3.5 ChibiOS: a8137609). With DroneBridge version 1.5 the connection seems to be stable.
Now I will flash version "DroneBridge_ESP32_v2_0RC2\esp32c3\" with esptool-js (first I will erase flash of the esp32c3).
Serial monitor at first reboot:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x40380832
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1738
load:0x403cc710,len:0xb9c
load:0x403ce710,len:0x2e40
entry 0x403cc71a
I (24) boot: ESP-IDF v5.2.2 2nd stage bootloader
I (24) boot: compile time Jul 14 2024 23:27:18
I (25) boot: chip revision: v0.4
I (27) boot.esp32c3: SPI Speed : 80MHz
I (32) boot.esp32c3: SPI Mode : DIO
I (37) boot.esp32c3: SPI Flash Size : 2MB
I (42) boot: Enabling RNG early entropy source...
I (47) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00180000
I (80) boot: 3 www Unknown data 01 82 00190000 00030000
I (88) boot: End of partition table
I (92) esp_image: segment 0: paddr=00010020 vaddr=3c0d0020 size=28f08h (167688) map
I (127) esp_image: segment 1: paddr=00038f30 vaddr=3fc92600 size=02ac0h ( 10944) load
I (129) esp_image: segment 2: paddr=0003b9f8 vaddr=40380000 size=04620h ( 17952) load
I (136) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=c2360h (795488) map
I (265) esp_image: segment 4: paddr=00102388 vaddr=40384620 size=0dfa8h ( 57256) load
I (276) esp_image: segment 5: paddr=00110338 vaddr=50000010 size=00004h ( 4) load
I (282) boot: Loaded app from partition at offset 0x10000
I (282) boot: Disabling RNG early entropy source...
I (296) cpu_start: Unicore app
I (305) cpu_start: Pro cpu start user code
I (305) cpu_start: cpu freq: 160000000 Hz
I (305) cpu_start: Application information:
I (308) cpu_start: Project name: db_esp32
I (313) cpu_start: App version: 2.0RC2
I (318) cpu_start: Compile time: Jul 14 2024 23:26:39
I (324) cpu_start: ELF file SHA256: ae2d1af851f25a8c...
I (330) cpu_start: ESP-IDF: v5.2.2
I (335) cpu_start: Min chip rev: v0.3
I (339) cpu_start: Max chip rev: v1.99
I (344) cpu_start: Chip rev: v0.4
I (349) heap_init: Initializing. RAM available for dynamic allocation:
I (356) heap_init: At 3FC9AE50 len 000251B0 (148 KiB): RAM
I (362) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
I (369) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
I (376) heap_init: At 50000014 len 00001FD4 (7 KiB): RTCRAM
I (383) spi_flash: detected chip: generic
I (387) spi_flash: flash io: dio
W (391) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (405) sleep: Configure to isolate all GPIO pins in sleep state
I (411) sleep: Enable automatic switching of GPIO sleep configuration
I (418) main_task: Started on CPU0
I (422) main_task: Calling app_main()
I (430) DB_ESP32: NVS namespace not found. Erasing flash, init NVS ...
I (681) DB_ESP32: Trying to save:
Wifi Mode: 1
ssid DroneBridge for ESP32
wifi_pass dronebridge
wifi_chan 6
baud 57600u
gpio_tx 0
gpio_rx 0
gpio_cts 0
gpio_rts 0
rts_thresh 64
proto 4
trans_pack_size 64
ltm_per_packet 2
ap_ip 192.168.2.1
ip_sta
ip_sta_gw
ip_sta_netmsk
I (696) DB_ESP32: Saving to NVS settings
I (706) button: IoT Button Version: 3.2.3
I (706) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (716) pp: pp rom version: 9387209
I (719) net80211: net80211 rom version: 9387209
I (725) wifi:wifi driver task: 3fca3a04, prio:23, stack:6656, core=0
I (732) wifi:wifi firmware version: 3e0076f
I (734) wifi:wifi certification version: v7.0
I (738) wifi:config NVS flash: enabled
I (741) wifi:config nano formating: disabled
I (745) wifi:Init data frame dynamic rx buffer num: 32
I (750) wifi:Init static rx mgmt buffer num: 5
I (754) wifi:Init management short buffer num: 32
I (759) wifi:Init dynamic tx buffer num: 32
I (763) wifi:Init static tx FG buffer num: 2
I (767) wifi:Init static rx buffer size: 1600
I (771) wifi:Init static rx buffer num: 10
I (774) wifi:Init dynamic rx buffer num: 32
I (779) wifi_init: rx ba win: 6
I (782) wifi_init: tcpip mbox: 32
I (786) wifi_init: udp mbox: 6
I (790) wifi_init: tcp mbox: 6
I (794) wifi_init: tcp tx win: 5744
I (798) wifi_init: tcp rx win: 5744
I (802) wifi_init: tcp mss: 1440
I (806) wifi_init: WiFi IRAM OP enabled
I (810) wifi_init: WiFi RX IRAM OP enabled
I (815) wifi:ifx:1, phymode(new:0x1, nvs:0x3)
I (1050) wifi:set country: cc=US schan=1 nchan=13 policy=1
I (1052) wifi:Set ps type: 0, coexist: 0
I (1053) phy_init: phy_version 1170,f4aea9b,Apr 30 2024,10:49:24
W (1056) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
I (1105) wifi:mode : softAP (54:32:04:89:42:0d)
I (1108) wifi:Total power save buffer number: 16
I (1108) wifi:Init max length of beacon: 752/752
I (1109) wifi:Init max length of beacon: 752/752
I (1113) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (1121) DB_ESP32: WIFI_EVENT - AP started! (SSID: DroneBridge for ESP32 PASS: dronebridge)
I (1162) DB_ESP32: MDNS Service started!
I (1167) DB_ESP32: Filesystem init finished! Partition size: total: 173441 bytes, used: 74045 bytes (42%)
I (1168) DB_CONTROL: Starting control module (Wi-Fi)
W (1172) DB_SERIAL: Init UART socket aborted. TX GPIO == RX GPIO - Configure first!
E (1180) DB_CONTROL: JTAG serial socket not opened. Aborting start of control module.
I (1189) DB_HTTP_REST: Starting HTTP Server
I (1195) DB_ESP32: Rest Server started
I (1198) DB_ESP32: app_main finished initial setup
I (1204) main_task: Returned from app_main()
Now I'm accessing the the dronebridge in AP-Mode via Smartphone. I'm setting the TX and RX Pins: 9 and 10. I can connect to ground station. Seems to work.
Now I'm switching to client mode.
I'm connecting now with Mission Planer 1.3.81 build 1.3.8741.25556
The esp32-c3 is crashing: ` 00000000 0x3c0dfb44 0x3c0d4000 0x40386dd6 3fca0ee0: 0x3c0d46f0 0x000001a2 0x00000001 0x420081d8 0x00000001 0x00000000 0x3fca01e0 0x403874e8 3fca0f00: 0x00000000 0x3fca1468 0x3fc9adbc 0x3c0d9b38 0x00000000 0x3fca1468 0x3fc9adbc 0x42047014 3fca0f20: 0x3fc9b000 0x3fc95438 0x000000a8 0x3fca0238 0x00000000 0x3fca1468 0x3fc9b000 0x42046fb2 3fca0f40: 0x00000001 0x00000001 0x3fc9b000 0x4204d5c6 0xffffffff 0xffffffff 0x00000000 0x00000000 3fca0f60: 0x00000000 0x4204cdc0 0x00000046 0x3fca0238 0x00000000 0x3fcaa674 0x3fc9f18c 0x420bee74 3fca0f80: 0x00000101 0x3c0d9b38 0x00000005 0x3fcac254 0x00000101 0x3c0d9b38 0x00000005 0x3fcac254 3fca0fa0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca0fc0: 0x00000000 0x00000000 0x3fca0238 0x420bef14 0x00000000 0x00000000 0x00000000 0x00000000 3fca0fe0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 3fca1000: 0xa5a5a5a5 0x00000150 0x3fca0d90 0x00000000 0x3fc953fc 0x3fc953fc 0x3fca1008 0x3fc953f4 3fca1020: 0x00000005 0x3fc9efb4 0x3fc9efb4 0x3fca1008 0x00000000 0x00000014 0x3fca0504 0x5f737973 3fca1040: 0x00747665 0x00000000 0x00000000 0x3fca1000 0x00000014 0x00000001 0x3fca9e80 0x42000350 3fca1060: 0x00000000 0x3fc9b63c 0x3fc9b6a4 0x3fc9b70c 0x00000000 0x00000000 0x00000001 0x00000000 3fca1080: 0x00000000 0x00000000 0x42004908 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca10a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca10c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca10e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca1100: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca1120: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca1140: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000060 0x89043254 3fca1160: 0x00000c42 0x3fca11c0 0x3fca11d0 0x3fca11e0 0x4204daa2 0x4204da34 0x3fca11e0 0x00000000 3fca1180: 0x00000000 0x3fca1314 0x420c1032 0x40386dfe 0x420c1028 0x00000000 0x00000000 0x00000001 3fca11a0: 0x00000000 0x00000001 0x00000099 0x00000000 0x3fca12f0 0x3fca1304 0x00000064 0x0000000c 3fca11c0: 0x00000000 0x00000000 0x00000000 0x0000000c 0x7901a8c0 0x00ffffff 0x0101a8c0 0x000000fc 3fca11e0: 0x3fc9766c 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca1200: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca1220: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 3fca1240: 0x00000006 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000006 0x00000000
ELF file SHA256: ae2d1af851f25a8c
Rebooting... ESP-ROM:esp32c3-api1-20210207 Build:Feb 7 2021 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40380678 SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd5820,len:0x1738 load:0x403cc710,len:0xb9c load:0x403ce710,len:0x2e40 entry 0x403cc71a I (24) boot: ESP-IDF v5.2.2 2nd stage bootloader I (24) boot: compile time Jul 14 2024 23:27:18 I (24) boot: chip revision: v0.4 I (27) boot.esp32c3: SPI Speed : 80MHz I (32) boot.esp32c3: SPI Mode : DIO I (36) boot.esp32c3: SPI Flash Size : 2MB I (41) boot: Enabling RNG early entropy source... I (46) boot: Partition Table: I (50) boot: ## Label Usage Type ST Offset Length I (57) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (72) boot: 2 factory factory app 00 00 00010000 00180000 I (80) boot: 3 www Unknown data 01 82 00190000 00030000 I (87) boot: End of partition table I (91) esp_image: segment 0: paddr=00010020 vaddr=3c0d0020 size=28f08h (167688) map I (126) esp_image: segment 1: paddr=00038f30 vaddr=3fc92600 size=02ac0h ( 10944) load I (128) esp_image: segment 2: paddr=0003b9f8 vaddr=40380000 size=04620h ( 17952) load I (135) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=c2360h (795488) map I (264) esp_image: segment 4: paddr=00102388 vaddr=40384620 size=0dfa8h ( 57256) load I (276) esp_image: segment 5: paddr=00110338 vaddr=50000010 size=00004h ( 4) load I (282) boot: Loaded app from partition at offset 0x10000 I (282) boot: Disabling RNG early entropy source... I (296) cpu_start: Unicore app I (304) cpu_start: Pro cpu start user code I (304) cpu_start: cpu freq: 160000000 Hz I (304) cpu_start: Application information: I (307) cpu_start: Project name: db_esp32 I (312) cpu_start: App version: 2.0RC2 I (317) cpu_start: Compile time: Jul 14 2024 23:26:39 I (323) cpu_start: ELF file SHA256: ae2d1af851f25a8c... I (329) cpu_start: ESP-IDF: v5.2.2 I (334) cpu_start: Min chip rev: v0.3 I (339) cpu_start: Max chip rev: v1.99 I (344) cpu_start: Chip rev: v0.4 I (348) heap_init: Initializing. RAM available for dynamic allocation: I (356) heap_init: At 3FC9AE50 len 000251B0 (148 KiB): RAM I (362) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM I (369) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM I (376) heap_init: At 50000014 len 00001FD4 (7 KiB): RTCRAM I (383) spi_flash: detected chip: generic I (387) spi_flash: flash io: dio W (390) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (404) sleep: Configure to isolate all GPIO pins in sleep state I (410) sleep: Enable automatic switching of GPIO sleep configuration I (418) main_task: Started on CPU0 I (422) main_task: Calling app_main() I (437) DB_ESP32: Reading settings from NVS I (438) DB_ESP32: .ssid: DroneBridge for ESP32 I (438) DB_ESP32: .wifi_pass: dronebridge I (441) DB_ESP32: .ap_ip: 192.168.2.1 I (446) DB_ESP32: .ip_sta: I (449) DB_ESP32: .ip_sta_gw: I (453) DB_ESP32: .ip_sta_netmsk: I (457) DB_ESP32: .Wifi Mode: 1 .wifi_chan 6 .baud 57600u .gpio_tx 9 .gpio_rx 10 .gpio_cts 0 .gpio_rts 0 .rts_thresh 64 .proto 4 .trans_pack_size 64 .ltm_per_packet 2 I (473) button: IoT Button Version: 3.2.3 I (478) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (488) pp: pp rom version: 9387209 I (491) net80211: net80211 rom version: 9387209 I (498) wifi:wifi driver task: 3fca3c54, prio:23, stack:6656, core=0 I (508) wifi:wifi firmware version: 3e0076f I (509) wifi:wifi certification version: v7.0 I (510) wifi:config NVS flash: enabled I (514) wifi:config nano formating: disabled I (518) wifi:Init data frame dynamic rx buffer num: 32 I (523) wifi:Init static rx mgmt buffer num: 5 I (527) wifi:Init management short buffer num: 32 I (531) wifi:Init dynamic tx buffer num: 32 I (535) wifi:Init static tx FG buffer num: 2 I (539) wifi:Init static rx buffer size: 1600 I (543) wifi:Init static rx buffer num: 10 I (547) wifi:Init dynamic rx buffer num: 32 I (552) wifi_init: rx ba win: 6 I (555) wifi_init: tcpip mbox: 32 I (559) wifi_init: udp mbox: 6 I (563) wifi_init: tcp mbox: 6 I (566) wifi_init: tcp tx win: 5744 I (571) wifi_init: tcp rx win: 5744 I (575) wifi_init: tcp mss: 1440 I (579) wifi_init: WiFi IRAM OP enabled I (583) wifi_init: WiFi RX IRAM OP enabled I (589) wifi:ifx:1, phymode(new:0x1, nvs:0x1) I (594) wifi:set country: cc=US. schan=1 nchan=13 policy=1
I (598) wifi:Set ps type: 0, coexist: 0
I (601) phy_init: phy_version 1170,f4aea9b,Apr 30 2024,10:49:24 I (641) wifi:mode : softAP (54:32:04:89:42:0d) I (644) wifi:Total power save buffer number: 16 I (645) wifi:Init max length of beacon: 752/752 I (645) wifi:Init max length of beacon: 752/752 I (649) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1 I (657) DB_ESP32: WIFI_EVENT - AP started! (SSID: DroneBridge for ESP32 PASS: dronebridge) I (698) DB_ESP32: MDNS Service started! I (703) DB_ESP32: Filesystem init finished! Partition size: total: 173441 bytes, used: 74045 bytes (42%) I (704) DB_CONTROL: Starting control module (Wi-Fi) I (708) DB_SERIAL: Flow control enabled: false I (714) TCP_SERVER_SETUP: Opened TCP server on port 5760 I (719) DB_CONTROL: Opened UDP socket on port 14550 I (725) DB_CONTROL: Started control module (Wi-Fi) I (925) DB_HTTP_REST: Starting HTTP Server I (927) DB_ESP32: Rest Server started I (927) DB_ESP32: app_main finished initial setup I (929) main_task: Returned from app_main() I (17243) wifi:new:<1,0>, old:<1,0>, ap:<1,0>, sta:<255,255>, prof:1 I (17244) wifi:station: a2:1e:84:4f:42:1a join, AID=1, b, 20 I (17265) DB_ESP32: WIFI_EVENT - Client connected - station:a2:1e:84:4f:42:1a, AID=1 I (17693) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.2.2 I (17693) DB_ESP32: WIFI_EVENT - New station IP:192.168.2.2 I (17696) DB_ESP32: WIFI_EVENT - MAC: a2:1e:84:4f:42:1a
`
And it's back in AP-Mode.
I try to set client mode once again with serial monitor:
`
2024-07-24 22:06:01 --> I (91245) DB_CONTROL: TCP: New client connected: 192.168.1.79
2024-07-24 22:06:01 --> W (91260) DB_MAV_MSGS: GCS requested data stream with ID: 2 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91261) DB_MAV_MSGS: GCS requested data stream with ID: 2 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91270) DB_MAV_MSGS: GCS requested data stream with ID: 6 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91279) DB_MAV_MSGS: GCS requested data stream with ID: 6 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91289) DB_MAV_MSGS: GCS requested data stream with ID: 10 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91299) DB_MAV_MSGS: GCS requested data stream with ID: 10 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91310) DB_MAV_MSGS: GCS requested data stream with ID: 11 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91319) DB_MAV_MSGS: GCS requested data stream with ID: 11 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91329) DB_MAV_MSGS: GCS requested data stream with ID: 12 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91339) DB_MAV_MSGS: GCS requested data stream with ID: 12 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91349) DB_MAV_MSGS: GCS requested data stream with ID: 1 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91359) DB_MAV_MSGS: GCS requested data stream with ID: 1 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91370) DB_MAV_MSGS: GCS requested data stream with ID: 3 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:01 --> W (91584) DB_MAV_MSGS: GCS requested data stream with ID: 3 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:06:02 --> W (92598) DB_ESP32: Short press detected setting wifi mode to access point with password: dronebridge
2024-07-24 22:06:02 --> I (92598) DB_ESP32: Trying to save:
2024-07-24 22:06:02 --> Wifi Mode: 1
2024-07-24 22:06:02 --> ssid DroneBridge for ESP32
2024-07-24 22:06:02 --> wifi_pass dronebridge
2024-07-24 22:06:02 --> wifi_chan 6
2024-07-24 22:06:02 --> baud 57600u
2024-07-24 22:06:02 --> gpio_tx 9
2024-07-24 22:06:02 --> gpio_rx 10
2024-07-24 22:06:02 --> gpio_cts 0
2024-07-24 22:06:02 --> gpio_rts 0
2024-07-24 22:06:02 --> rts_thresh 64
2024-07-24 22:06:02 --> proto 4
2024-07-24 22:06:02 --> trans_pack_size 64
2024-07-24 22:06:02 --> ltm_per_packet 2
2024-07-24 22:06:02 --> ap_ip 192.168.2.1
2024-07-24 22:06:02 --> ip_sta
2024-07-24 22:06:02 --> ip_sta_gw
2024-07-24 22:06:02 --> ip_sta_netmsk
2024-07-24 22:06:02 --> I (92623) DB_ESP32: Saving to NVS settings
2024-07-24 22:06:02 --> I (92631) wifi:state: run -> init (0)
2024-07-24 22:06:02 --> I (92632) wifi:pm stop, total sleep time: 0 us / 91900999 us
2024-07-24 22:06:02 -->
2024-07-24 22:06:02 --> I (92637) wifi:new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
2024-07-24 22:06:03 --> I (92646) DB_ESP32: WIFI_EVENT - Lost connection to access point
2024-07-24 22:06:03 --> ESP_ERROR_CHECK failed: esp_err_t 0x3002 (ESP_ERR_WIFI_NOT_STARTED) at 0x420081d4
2024-07-24 22:06:03 --> file: "./main/main.c" line 185
2024-07-24 22:06:03 --> func: wifi_event_handler
2024-07-24 22:06:03 --> expression: esp_wifi_connect()
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 --> abort() was called at PC 0x40386dd3 on core 0
2024-07-24 22:06:03 --> Core 0 register dump:
2024-07-24 22:06:03 --> MEPC : 0x4038068c RA : 0x40386dde SP : 0x3fca0f60 GP : 0x3fc92e00
2024-07-24 22:06:03 --> TP : 0x3fc782f8 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
2024-07-24 22:06:03 --> S0/FP : 0x3fca0f9c S1 : 0x3fca0f9c A0 : 0x3fca0f9c A1 : 0x3fca0f7e
2024-07-24 22:06:03 --> A2 : 0x00000000 A3 : 0x3fca0fc9 A4 : 0x00000001 A5 : 0x3fc9b000
2024-07-24 22:06:03 --> A6 : 0x7a797877 A7 : 0x76757473 S2 : 0x3fca0f80 S3 : 0x3fca0340
2024-07-24 22:06:03 --> S4 : 0x00000046 S5 : 0xffffffff S6 : 0xffffffff S7 : 0x00000000
2024-07-24 22:06:03 --> S8 : 0x3fca21d8 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
2024-07-24 22:06:03 --> T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
2024-07-24 22:06:03 --> MSTATUS : 0x00001801 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
2024-07-24 22:06:03 --> MHARTID : 0x00000000
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 --> Stack memory:
2024-07-24 22:06:03 --> 3fca0f60: 0x00000000 0x00000000 0x3f
2024-07-24 22:06:03 --> ca0f9c 0x4038e246 0xffffffff 0xffffffff 0x00000046 0x3fca0030
2024-07-24 22:06:03 --> 3fca0f80: 0x38333034 0x33646436 0x3c0d4000 0x3fc94274 0x3fca0f80 0x3fc94290 0x3fca0f7c 0x726f6261
2024-07-24 22:06:03 --> 3fca0fa0: 0x20292874 0x20736177 0x6c6c6163 0x61206465 0x43502074 0x34783020 0x36383330 0x20336464
2024-07-24 22:06:03 --> 3fca0fc0: 0x63206e6f 0x2065726f 0x00000030 0x3c0e0000 0x00000000 0x3c0dfb44 0x3c0d4000 0x40386dd6
2024-07-24 22:06:03 --> 3fca0fe0: 0x3c0d46f0 0x000001a2 0x00000001 0x420081d8 0x00000001 0x00000000 0x3fca02e8 0x403874e8
2024-07-24 22:06:03 --> 3fca1000: 0x00000000 0x3fca1570 0x3fc9adbc 0x3c0d9b38 0x00000000 0x3fca1570 0x3fc9adbc 0x42047014
2024-07-24 22:06:03 --> 3fca1020: 0x00000000 0x000000c0 0x000000a8 0x3fca0340 0x00000000 0x3fca1570 0x3fc9b000 0x42046fb2
2024-07-24 22:06:03 --> 3fca1040: 0x00000001 0x00000001 0x3fc9b000 0x4204d5c6 0xffffffff 0xffffffff 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1060: 0x00000000 0x4204cdc0 0x00000046 0x3fca0340 0x00000000 0x3fcaa6f0 0x3fc9f294 0x420bee74
2024-07-24 22:06:03 --> 3fca1080: 0x00000101 0x3c0d9b38 0x00000005 0x3fc9de88 0x00000101 0x3c0d9b38 0x00000005 0x3fc9de88
2024-07-24 22:06:03 --> 3fca10a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca10c0: 0x00000000 0x00000000 0x3fca0340 0x420bef14 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca10e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
2024-07-24 22:06:03 --> 3fca1100: 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x3fca0e90 0x00000000 0x3fc953fc 0x3fc953fc
2024-07-24 22:06:03 --> 3fca1120: 0x3fca1110 0x3fc953f4 0x00000005 0x3fc9f0bc 0x3fc9f0bc 0x3fca1110 0x00000000 0x00000014
2024-07-24 22:06:03 --> 3fca1140: 0x3fca060c 0x5f737973 0x00747665 0x00000000 0x00000000 0x3fca1100 0x00000014 0x00000001
2024-07-24 22:06:03 --> 3fca1160: 0x3fca9f88 0x42000350 0x00000000 0x3fc9b63c 0x3fc9b6a4 0x3fc9b70c 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1180: 0x00000001 0x00000000 0x00000000 0x00000000 0x42004908 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca11a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca11c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca11e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1200: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1220: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1240: 0x00000000 0x00000000 0x00000000 0x00000000 0x0000000
2024-07-24 22:06:03 --> 0 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1260: 0x00000060 0x89043254 0x00000c42 0x3fca12c8 0x3fca12d8 0x3fca12e8 0x4204daa2 0x4204da34
2024-07-24 22:06:03 --> 3fca1280: 0x3fca12e8 0x00000000 0x00000000 0x3fca141c 0x420c1032 0x40386dfe 0x420c1028 0x00000000
2024-07-24 22:06:03 --> 3fca12a0: 0x00000000 0x00000001 0x00000000 0x00000001 0x00000099 0x00000000 0x3fca13f8 0x3fca140c
2024-07-24 22:06:03 --> 3fca12c0: 0x00000064 0x0000000c 0x00000000 0x00000000 0x00000000 0x0000000c 0x7901a8c0 0x00ffffff
2024-07-24 22:06:03 --> 3fca12e0: 0x0101a8c0 0x000000fc 0x3fc9766c 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1300: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1320: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 --> 3fca1340: 0x00000000 0x00000000 0x00000006 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 --> ELF file SHA256: ae2d1af851f25a8c
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 --> Rebooting...
2024-07-24 22:06:03 --> ESP-ROM:esp32c3-api1-20210207
2024-07-24 22:06:03 --> Build:Feb 7 2021
2024-07-24 22:06:03 --> rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
2024-07-24 22:06:03 --> Saved PC:0x40380678
2024-07-24 22:06:03 --> SPIWP:0xee
2024-07-24 22:06:03 --> mode:DIO, clock div:1
2024-07-24 22:06:03 --> load:0x3fcd5820,len:0x1738
2024-07-24 22:06:03 --> load:0x403cc710,len:0xb9c
2024-07-24 22:06:03 --> load:0x403ce710,len:0x2e40
2024-07-24 22:06:03 --> entry 0x403cc71a
2024-07-24 22:06:03 --> I (24) boot: ESP-IDF v5.2.2 2nd stage bootloader
2024-07-24 22:06:03 --> I (24) boot: compile time Jul 14 2024 23:27:18
2024-07-24 22:06:03 --> I (24) boot: chip revision: v0.4
2024-07-24 22:06:03 --> I (27) boot.esp32c3: SPI Speed : 80MHz
2024-07-24 22:06:03 --> I (32) boot.esp32c3: SPI Mode : DIO
2024-07-24 22:06:03 --> I (36) boot.esp32c3: SPI Flash Size : 2MB
2024-07-24 22:06:03 --> I (41) boot: Enabling RNG early entropy source...
2024-07-24 22:06:03 --> I (46) boot: Partition Table:
2024-07-24 22:06:03 --> I (50) boot: ## Label Usage Type ST Offset Length
2024-07-24 22:06:03 --> I (57) boot: 0 nvs WiFi data 01 02 00009000 00006000
2024-07-24 22:06:03 --> I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000
2024-07-24 22:06:03 --> I (72) boot: 2 factory factory app 00 00 00010000 00180000
2024-07-24 22:06:03 --> I (80) boot: 3 www Unknown data 01 82 00190000 00030000
2024-07-24 22:06:03 --> I (87) boot: End of partition table
2024-07-24 22:06:03 --> I (91) esp_image: segment 0: paddr=00010020 vaddr=3c0d0020 size=28f08h (167688) map
2024-07-24 22:06:03 --> I (126) esp_image: segment 1: paddr=00038f30 vaddr=3fc92600 size=02ac0h ( 10944) load
2024-07-24 22:06:03 --> I (128) esp_image: segment 2: paddr=0003b9f8 vaddr=40380000 size=04620h ( 17952) load
2024-07-24 22:06:03 --> I (135) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=c2360h (795488) map
2024-07-24 22:06:03 --> I (264) esp_image: segment 4: paddr=00102388 vaddr=40384620 size=0dfa8h ( 57256) load
2024-07-24 22:06:03 --> I (276) esp_image: segment 5: paddr=00110338 vaddr=50000010 size=00004h ( 4) load
2024-07-24 22:06:03 --> I (282) boot: Loaded app from partition at offset 0x10000
2024-07-24 22:06:03 --> I (282) boot: Disabling RNG early entropy source...
2024-07-24 22:06:03 --> I (296) cpu_start: Unicore app
2024-07-24 22:06:03 --> I (304) cpu_start: Pro cpu start user code
2024-07-24 22:06:03 --> I (304) cpu_start: cpu freq: 160000000 Hz
2024-07-24 22:06:03 --> I (304) cpu_start: Application information:
2024-07-24 22:06:03 --> I (307) cpu_start: Project name: db_esp32
2024-07-24 22:06:03 --> I (312) cpu_start: App version: 2.0RC2
2024-07-24 22:06:03 --> I (317) cpu_start: Compile time: Jul 14 2024 23:26:39
2024-07-24 22:06:03 --> I (323) cpu_start: ELF file SHA256: ae2d1af851f25a8c...
2024-07-24 22:06:03 --> I (329) cpu_start: ESP-IDF: v5.2.2
2024-07-24 22:06:03 --> I (334) cpu_start: Min chip rev: v0.3
2024-07-24 22:06:03 --> I (339) cpu_start: Max chip rev: v1.99
2024-07-24 22:06:03 --> I (344) cpu_start: Chip rev: v0.4
2024-07-24 22:06:03 --> I (348) heap_init: Initializing. RAM available for dynamic allocation:
2024-07-24 22:06:03 --> I (356) heap_init: At 3FC9AE50 len 000251B0 (148 KiB): RAM
2024-07-24 22:06:03 --> I (362) heap_init: At 3FCC0000 len 0001C710 (113 KiB): Retention RAM
2024-07-24 22:06:03 --> I (369) heap_init: At 3FCDC710 len 00002950 (10 KiB): Retention RAM
2024-07-24 22:06:03 --> I (376) heap_init: At 50000014 len 00001FD4 (7 KiB): RTCRAM
2024-07-24 22:06:03 --> I (383) spi_flash: detected chip: generic
2024-07-24 22:06:03 --> I (387) spi_flash: flash io: dio
2024-07-24 22:06:03 --> W (391) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
2024-07-24 22:06:03 --> I (404) sleep: Configure to isolate all GPIO pins in sleep state
2024-07-24 22:06:03 --> I (410) sleep: Enable automatic switching of GPIO sleep configuration
2024-07-24 22:06:03 --> I (418) main_task: Started on CPU0
2024-07-24 22:06:03 --> I (422) main_task: Calling app_main()
2024-07-24 22:06:03 --> I (437) DB_ESP32: Reading settings from NVS
2024-07-24 22:06:03 --> I (438) DB_ESP32: .ssid: DroneBridge for ESP32
2024-07-24 22:06:03 --> I (438) DB_ESP32: .wifi_pass: dronebridge
2024-07-24 22:06:03 --> I (441) DB_ESP32: .ap_ip: 192.168.2.1
2024-07-24 22:06:03 --> I (446) DB_ESP32: .ip_sta:
2024-07-24 22:06:03 --> I (449) DB_ESP32: .ip_sta_gw:
2024-07-24 22:06:03 --> I (453) DB_ESP32: .ip_sta_netmsk:
2024-07-24 22:06:03 --> I (458) DB_ESP32: .Wifi Mode: 1
2024-07-24 22:06:03 --> .wifi_chan 6
2024-07-24 22:06:03 --> .baud 57600u
2024-07-24 22:06:03 --> .gpio_tx 9
2024-07-24 22:06:03 --> .gpio_rx 10
2024-07-24 22:06:03 --> .gpio_cts 0
2024-07-24 22:06:03 --> .gpio_rts 0
2024-07-24 22:06:03 --> .rts_thresh 64
2024-07-24 22:06:03 --> .proto 4
2024-07-24 22:06:03 --> .trans_pack_size 64
2024-07-24 22:06:03 --> .ltm_per_packet 2
2024-07-24 22:06:03 --> I (473) button: IoT Button Version: 3.2.3
2024-07-24 22:06:03 --> I (478) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
2024-07-24 22:06:03 --> I (489) pp: pp rom version: 9387209
2024-07-24 22:06:03 --> I (492) net80211: net80211 rom version: 9387209
2024-07-24 22:06:03 --> I (498) wifi:wifi driver task: 3fca3c54, prio:23, stack:6656, core=0
2024-07-24 22:06:03 --> I (508) wifi:wifi firmware version: 3e0076f
2024-07-24 22:06:03 --> I (509) wifi:wifi certification version: v7.0
2024-07-24 22:06:03 --> I (511) wifi:config NVS flash: enabled
2024-07-24 22:06:03 --> I (514) wifi:config nano formating: disabled
2024-07-24 22:06:03 --> I (518) wifi:Init data frame dynamic rx buffer num: 32
2024-07-24 22:06:03 --> I (523) wifi:Init static rx mgmt buffer num: 5
2024-07-24 22:06:03 --> I (527) wifi:Init management short buffer num: 32
2024-07-24 22:06:03 --> I (531) wifi:Init dynamic tx buffer num: 32
2024-07-24 22:06:03 --> I (535) wifi:Init static tx FG buffer num: 2
2024-07-24 22:06:03 --> I (539) wifi:Init static rx buffer size: 1600
2024-07-24 22:06:03 --> I (544) wifi:Init static rx buffer num: 10
2024-07-24 22:06:03 --> I (547) wifi:Init dynamic rx buffer num: 32
2024-07-24 22:06:03 --> I (552) wifi_init: rx ba win: 6
2024-07-24 22:06:03 --> I (555) wifi_init: tcpip mbox: 32
2024-07-24 22:06:03 --> I (559) wifi_init: udp mbox: 6
2024-07-24 22:06:03 --> I (563) wifi_init: tcp mbox: 6
2024-07-24 22:06:03 --> I (566) wifi_init: tcp tx win: 5744
2024-07-24 22:06:03 --> I (571) wifi_init: tcp rx win: 5744
2024-07-24 22:06:03 --> I (575) wifi_init: tcp mss: 1440
2024-07-24 22:06:03 --> I (579) wifi_init: WiFi IRAM OP enabled
2024-07-24 22:06:03 --> I (583) wifi_init: WiFi RX IRAM OP enabled
2024-07-24 22:06:03 --> I (589) wifi:ifx:1, phymode(new:0x1, nvs:0x1)
2024-07-24 22:06:03 --> I (594) wifi:set country: cc=US. schan=1 nchan=13 policy=1
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 --> I (598) wifi:Set ps type: 0, coexist: 0
2024-07-24 22:06:03 -->
2024-07-24 22:06:03 --> I (601) phy_init: phy_version 1170,f4aea9b,Apr 30 2024,10:49:24
2024-07-24 22:06:04 --> I (645) wifi:mode : softAP (54:32:04:89:42:0d)
2024-07-24 22:06:04 --> I (648) wifi:Total power save buffer number: 16
2024-07-24 22:06:04 --> I (649) wifi:Init max length of beacon: 752/752
2024-07-24 22:06:04 --> I (649) wifi:Init max length of beacon: 752/752
2024-07-24 22:06:04 --> I (653) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
2024-07-24 22:06:04 --> I (661) DB_ESP32: WIFI_EVENT - AP started! (SSID: DroneBridge for ESP32 PASS: dronebridge)
2024-07-24 22:06:04 --> I (702) DB_ESP32: MDNS Service started!
2024-07-24 22:06:04 --> I (707) DB_ESP32: Filesystem init finished! Partition size: total: 173441 bytes, used: 74045 bytes (42%)
2024-07-24 22:06:04 --> I (708) DB_CONTROL: Starting control module (Wi-Fi)
2024-07-24 22:06:04 --> I (712) DB_SERIAL: Flow control enabled: false
2024-07-24 22:06:04 --> I (718) TCP_SERVER_SETUP: Opened TCP server on port 5760
2024-07-24 22:06:04 --> I (723) DB_CONTROL: Opened UDP socket on port 14550
2024-07-24 22:06:04 --> I (728) DB_CONTROL: Started control module (Wi-Fi)
2024-07-24 22:06:04 --> I (929) DB_HTTP_REST: Starting HTTP Server
2024-07-24 22:06:04 --> I (931) DB_ESP32: Rest Server started
2024-07-24 22:06:04 --> I (931) DB_ESP32: app_main finished initial setup
2024-07-24 22:06:04 --> I (933) main_task: Returned from app_main()
`
Do I have a bad choice of the RX/TX pins?
I will try the offical Pins and come back again: UART TX Pin: 5 UART RX Pin: 4
Oh, well... This is working now :-)
The connection seems to be stable now.
But there are some errors:
2024-07-24 22:35:19 --> W (109315) httpd_txrx: httpd_sock_err: error in recv : 104
2024-07-24 22:35:58 --> I (148057) DB_CONTROL: TCP: New client connected: 192.168.1.79
2024-07-24 22:35:58 --> W (148127) DB_MAV_MSGS: GCS requested data stream with ID: 2 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148133) DB_MAV_MSGS: GCS requested data stream with ID: 2 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148137) DB_MAV_MSGS: GCS requested data stream with ID: 6 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148147) DB_MAV_MSGS: GCS requested data stream with ID: 6 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148156) DB_MAV_MSGS: GCS requested data stream with ID: 10 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148166) DB_MAV_MSGS: GCS requested data stream with ID: 10 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148178) DB_MAV_MSGS: GCS requested data stream with ID: 11 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148187) DB_MAV_MSGS: GCS requested data stream with ID: 11 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148197) DB_MAV_MSGS: GCS requested data stream with ID: 12 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148207) DB_MAV_MSGS: GCS requested data stream with ID: 12 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148217) DB_MAV_MSGS: GCS requested data stream with ID: 1 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148227) DB_MAV_MSGS: GCS requested data stream with ID: 1 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148237) DB_MAV_MSGS: GCS requested data stream with ID: 3 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:58 --> W (148540) DB_MAV_MSGS: GCS requested data stream with ID: 3 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149000) DB_MAV_MSGS: GCS requested data stream with ID: 2 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149004) DB_MAV_MSGS: GCS requested data stream with ID: 2 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149011) DB_MAV_MSGS: GCS requested data stream with ID: 6 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149021) DB_MAV_MSGS: GCS requested data stream with ID: 6 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149034) DB_MAV_MSGS: GCS requested data stream with ID: 10 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149041) DB_MAV_MSGS: GCS requested data stream with ID: 10 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149052) DB_MAV_MSGS: GCS requested data stream with ID: 11 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149061) DB_MAV_MSGS: GCS requested data stream with ID: 11 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149072) DB_MAV_MSGS: GCS requested data stream with ID: 12 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149081) DB_MAV_MSGS: GCS requested data stream with ID: 12 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149093) DB_MAV_MSGS: GCS requested data stream with ID: 1 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149101) DB_MAV_MSGS: GCS requested data stream with ID: 1 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149111) DB_MAV_MSGS: GCS requested data stream with ID: 3 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:35:59 --> W (149121) DB_MAV_MSGS: GCS requested data stream with ID: 3 and rate: 2 and start_stop: 1 - ignoring!
2024-07-24 22:36:01 --> W (151192) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 183
2024-07-24 22:36:07 --> W (157190) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:08 --> W (157715) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 183
2024-07-24 22:36:08 --> W (158160) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:08 --> W (158478) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:09 --> W (158797) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:09 --> W (159107) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:09 --> W (159424) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:10 --> W (159751) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:10 --> W (160061) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:10 --> W (160383) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:11 --> W (160701) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:11 --> W (161017) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:11 --> W (161338) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:12 --> W (161669) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:12 --> W (162012) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:12 --> W (162311) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:13 --> W (162622) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:13 --> W (162939) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:13 --> W (163250) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:14 --> W (163686) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:14 --> W (163904) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:14 --> W (164187) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_RESULT_MSGID_UNKNOWN msgID: 158
2024-07-24 22:36:14 --> W (164513) DB_SERIAL: fastmavlink parser had an error FASTMAVLINK_PARSE_R
Thanks Wolfgang @seeul8er for encouraging me to try again!
@thymjan Interesting. Did switching the TX/RX pins really resolve the issue? That is hard to believe. Thank you for the logs. At least one of the crashes can be decoded. I am not sure about the others. I'll investigate.
Regarding the parser errors: That is fine, in MAVLink mode the software now tries to register and understand MAVLink. Some GCSs like MissionPlanner however are requesting stupid stuff from us and the software keeps ignoring that. msgID 158 e.g. is either a decoding error or not defined in MAVLink. So this is not an issue. It just reduces the link quality between the GCS and the ESP a bit. It does not interfere with the other packets being sent. This also means that in transparent mode these errors will not appear at all since the ESP is not registering as a MAVLink device.
Is GPIO 9 attached to the boot button?
@thymjan I was just reading about this one on another issue I try to fix. That might very well be the issue. I'll check tomorrow in more detail
here I found another hint using GPIO 9 for RX might be problematic:
https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/#strapping-pins
Thank you! I updated the docs in the Wiki!
ESP32-S3-Wroom-1 I have this board that seems to hang when you first power it. The wifi will never show up until you hit the rst button once you do that it will fire right up and broadcast the dronebridge wifi and it allows a connection with mission planner. Below is a copy of the debug information while it is not broadcasting a wifi or anything and before I hit the RST button ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x15 (USB_UART_CHIP_RESET),boot:0x0 (DOWNLOAD(USB/UART0)) Saved PC:0x40041a76 waiting for download.
Once I hit reset and then reconnect to the debug this is the following information I receive and am able to connect to the wifi and pull up the webpage. I was messing around to see if flashing from COM or USB would make a difference but it didn't. I don't see anything in the pinout and gpio pins I was using that could cause this issues. I have attached the log I hit RST to make the wifi come up. I also had reflashed this so I needed to reconfigure the pins which is also captured in the log. Maybe one of the pins I am using (gpio_tx 13, gpio_rx 14, gpio_cts 11, gpio_rts 12) is causing this issue as i don't have it on my Xiao ESP32-S3. esp-web-tools-logs.txt