Search found 14 matches

by hoo_wave
Wed Oct 23, 2024 7:20 am
Forum: ESP-IDF
Topic: ESP32-C3 can't start up
Replies: 2
Views: 567

Re: ESP32-C3 can't start up

Can EN pin cause this problem? should EN pin be low or high?
by hoo_wave
Wed Oct 23, 2024 5:49 am
Forum: ESP-IDF
Topic: ESP32-C3 can't start up
Replies: 2
Views: 567

ESP32-C3 can't start up

I suddenly came across this issue,Just yesterday everything go well and I haven't change any code. There are console log: SP-ROM:esp32c3-eco7-20230720 Build:Jul 20 2023 rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd5820,len:0x1738 load:0x403cc710,len:0x...
by hoo_wave
Thu Jun 13, 2024 7:17 am
Forum: ESP-IDF
Topic: what's the minimum size of fat partiton in esp32C3?
Replies: 1
Views: 525

what's the minimum size of fat partiton in esp32C3?

This is my partition table # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 ota_0, 0, ota_0, 0x10000, 0x150000, ota_1, 0, ota_1, 0x160000, 0x150000, dcu, data, fat, 0x310000, 0x90000, when the dcu partition(last...
by hoo_wave
Thu May 30, 2024 10:40 am
Forum: ESP-IDF
Topic: esp_vfs.h: No such file or directory
Replies: 1
Views: 873

esp_vfs.h: No such file or directory

I include esp_vfs.h in my .c file. #include <stdio.h> #include <stdlib.h> #include <string.h> #include "esp_vfs.h" #include "esp_vfs_fat.h" #include "esp_system.h" const char *base_path = "/spiflash"; static wl_handle_t s_wl_handle = WL_INVALID_HANDLE; I also add the REQUIRES spi_flash in my CMakeLi...
by hoo_wave
Mon Mar 11, 2024 2:11 am
Forum: ESP-IDF
Topic: Does esp-32 support OTA with TCP/IP protocol?
Replies: 3
Views: 1039

Does esp-32 support OTA with TCP/IP protocol?

Does esp-32 support OTA with TCP/IP protocol? I have overviewed all OAT examples in espressif.com,they are all based on HTTP or HTTPS I want to OTA firmware with phones,the bin file in the phone,esp32(at WIFI STA mode) connect phone's hotspot (of course, there maybe need an smartphone App, I can han...
by hoo_wave
Mon Feb 05, 2024 1:29 am
Forum: ESP-IDF
Topic: ESP32-C3 UART data Error in new task
Replies: 4
Views: 1285

Re: ESP32-C3 UART data Error in new task

Deleting a task from another task prevents the task from doing any cleanup it may have to do before exiting, including releasing any locks/mutexes/semaphores it may own/hold. This can quickly render the system inoperable. Most of the time, you don't exit/delete a task at all; tasks do their thing, ...
by hoo_wave
Sun Feb 04, 2024 4:51 am
Forum: ESP-IDF
Topic: ESP32-C3 UART data Error in new task
Replies: 4
Views: 1285

Re: ESP32-C3 UART data Error in new task

MicroController wrote:
Sun Feb 04, 2024 2:52 am
Do not ever delete a task from outside the task.
Why? How can I stop it?
by hoo_wave
Sun Feb 04, 2024 1:39 am
Forum: ESP-IDF
Topic: ESP32-C3 UART data Error in new task
Replies: 4
Views: 1285

ESP32-C3 UART data Error in new task

Hello! I want to passthrough data from UART to BLE as the BLE notify enabled.Then I create a task to deal with it,at the first time, all is normal,but after I delete the task and create it again,the UART data are all "A5",and the length is 255,even I didn't sent any data to UART. This is the BLE sta...
by hoo_wave
Thu Feb 01, 2024 2:50 am
Forum: ESP-IDF
Topic: fatal error: driver/gpio.h: No such file or directory
Replies: 2
Views: 2791

Re: fatal error: driver/gpio.h: No such file or directory

ok-home wrote:
Thu Feb 01, 2024 2:30 am
Hi
Add REQUIRES

Code: Select all

idf_component_register(SRCS "pmfbj_uart.c"
                INCLUDE_DIRS "."
   		REQUIRES    driver
Thanks for your reply! It works for me
by hoo_wave
Thu Feb 01, 2024 1:49 am
Forum: ESP-IDF
Topic: fatal error: driver/gpio.h: No such file or directory
Replies: 2
Views: 2791

fatal error: driver/gpio.h: No such file or directory

I copy the UART/uart_echo demo as one of my project components,but i came across this issue when i complie it: fatal error: driver/gpio.h: No such file or directory this is the C file include : #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/gpio.h" #inc...