esp32 IDF框架开发经常遇到的问题

目的

在基于IDF框架开发时,经常遇到很多问题,查了很多资料也找不到解决方法,所以开设了这个话题,我将不定期的讲收录到的问题,写入好文章中。

esp32重启问题

  1. ESP32运行报错:
    c rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee
    原因:esp32供电不稳定
    解决方法:换一根好点的数据线。或者
    在供电处并联一个10uf左右的电容,电解电容也可以,注意电解电容分极性的哟。
  2. ESP32-C3 使用BLE_PROV示例程序时不断的重启
    E (695) simple_ble: Configuration mismatch. Select BLE Only or BTDM mode from menuconfig E (695) protocomm_ble: simple_ble_start failed w/ error code 0xffffffffE (705) app_prov: Failed to start BLE provisioningE (705) app_prov: Provisioning failed to start
    暂无解决方法:
  3. ESP32-C3不断的重启
    E (72) boot: No bootable app partitions in the partition table
  4. ESP32-C3不断的重启
    E (347) spi_flash: Detected size(4096k) smaller than the size in the binary image header(16384k). Probe failed.

你可能感兴趣的:(笔记,ESP32,单片机)