Search found 11 matches

by t23319222
Fri May 23, 2025 1:13 pm
Forum: ESP-IDF
Topic: twai can't receive messages
Replies: 1
Views: 122

twai can't receive messages

I have a esp that received and logs twai messages. To send the messages, I use a PCAN dongle. I use an infinite loop to send messages to the esp forever. The esp receives the messages fine when I start sending the messages AFTER the esp has booted up. But the esp doesn't receive anything when I ...
by t23319222
Wed May 14, 2025 6:30 am
Forum: ESP32 Arduino
Topic: Why is there a AsyncWebServer specifically for WT32 ETH01?
Replies: 1
Views: 155

Why is there a AsyncWebServer specifically for WT32 ETH01?

Why is this useful: https://github.com/khoih-prog/AsyncWebServer_WT32_ETH01
Despite the normal ESP32Async/ESPAsyncWebServer working just fine with Ethernet on the WT32 ETH01?
by t23319222
Sat Apr 12, 2025 8:30 pm
Forum: ESP32 Arduino
Topic: webserver.sendContent method equivalent for ESPAsyncWebServer?
Replies: 3
Views: 195

Re: webserver.sendContent method equivalent for ESPAsyncWebServer?

What if the message is so large that it doesnt fit in the RAM of the ESP?
by t23319222
Thu Apr 10, 2025 2:29 pm
Forum: ESP32 Arduino
Topic: webserver.sendContent method equivalent for ESPAsyncWebServer?
Replies: 3
Views: 195

webserver.sendContent method equivalent for ESPAsyncWebServer?

Hi,

I would like to know if there is a method like sendContent, but for ESPAsyncWebServer instead of the normal (sync) Webserver? I have a project and would like to convert it to use ESPAsyncWebServer.h instead of the normal Webserver.h library, but unfortunately there are many lines webserver ...
by t23319222
Sat Apr 05, 2025 9:35 am
Forum: ESP-IDF
Topic: Do I need to read the entire LittleFS partition with esptool to retrieve all files in it?
Replies: 3
Views: 406

Re: Do I need to read the entire LittleFS partition with esptool to retrieve all files in it?

The problem is that I don’t know the size of the data in advance. Most of the time, the partition isn’t even close to being full, but occasionally it’s nearly full.

Maybe I could read the partition header to determine how much space the files are using? But even if that’s possible, is there any ...
by t23319222
Fri Apr 04, 2025 7:37 am
Forum: ESP-IDF
Topic: Do I need to read the entire LittleFS partition with esptool to retrieve all files in it?
Replies: 3
Views: 406

Do I need to read the entire LittleFS partition with esptool to retrieve all files in it?

The partition I use for my LittleFS is called spiffs:


Name , Type , Subtype, Offset , Size , Flags
nvs , 0x1 , 0x2 , 0x9000 , 0x5000 ,
otadata , 0x1 , 0x0 , 0xe000 , 0x2000 ,
app0 , 0x0 , 0x10 , 0x10000 , 0x140000 ,
app1 , 0x0 , 0x11 , 0x150000 , 0x140000 ,
spiffs , 0x1 , 0x82 , 0x290000 ...
by t23319222
Fri Mar 21, 2025 8:16 am
Forum: ESP-IDF
Topic: Function with IRAM_ATTR gets blocked by spi flash operation in different task on different core
Replies: 1
Views: 238

Function with IRAM_ATTR gets blocked by spi flash operation in different task on different core

Hi,

I want to write a function that gets executed even during a flash write operation. I have already tried this:
I have delared two tasks (on different cores):


void setup() {
Serial.begin(9600);
delay(2000);
// Create task1 on Core 0
xTaskCreatePinnedToCore(task1, "Task1", 2048, NULL, 1 ...
by t23319222
Wed Mar 19, 2025 10:10 am
Forum: ESP-IDF
Topic: How to permanently store a bit value in my custom bootloader
Replies: 1
Views: 228

How to permanently store a bit value in my custom bootloader

Hi,

I need to write a value (0 or 1) to flash storage in order to save it permanently. I need to do this in my custom bootloader (the bootloader_main.c code).

The way I do it now is I have a seperate partition to which i write the value with the function

void write_boot_index(esp_partition_pos_t ...
by t23319222
Sun Mar 09, 2025 10:24 am
Forum: ESP-IDF
Topic: Is it possible to receive can/twai messages in a custom bootloader?
Replies: 1
Views: 476

Is it possible to receive can/twai messages in a custom bootloader?

Is it theoretically possible to receive CAN / Twai messages in a custom bootloader in any way?

I have already tried to import the driver component in bootloader_components\main\CMakeLists.txt: set(requires “bootloader” “bootloader_support” “spi_flash” ‘driver’), but the line #include “twai.h” in ...
by t23319222
Wed Mar 05, 2025 10:12 am
Forum: ESP-IDF
Topic: Is it possible to modify the OTA data partition with a custom bootloader?
Replies: 3
Views: 862

Re: Is it possible to modify the OTA data partition with a custom bootloader?

Yes I am currently trying to make it work.

My platformio.ini file looks like this:

[env:m5stack-stamps3]
platform = espressif32
board = m5stack-stamps3
framework = arduino
monitor_speed = 9600
lib_deps =
https://github.com/arduino-libraries/Arduino_ESP32_OTA.git
https://github.com/bakercp ...

Go to advanced search