Search found 10 matches
- Sat Apr 13, 2024 10:24 am
- Forum: General Discussion
- Topic: OTA over CANbus/TWAI ?
- Replies: 2
- Views: 934
Re: OTA over CANbus/TWAI ?
This is a cool idea which I'm sure will work out, however the devil is -- as always -- in the details. The golden path is easy: The main device will broadcast the OTA data to the auxiliary devices, when the devices receive the frames, they will reassemble the chunks and send it towards the OTA API....
- Thu Apr 11, 2024 8:06 am
- Forum: General Discussion
- Topic: OTA over CANbus/TWAI ?
- Replies: 2
- Views: 934
OTA over CANbus/TWAI ?
Hello, i have a use case where i have approx. 8 ESP32S3 connected on a CANbus. My idea is to upload new firmware using one of them to open a AP, with a Websocket. This is what i have now. Then i would like the others to recieve it over the CANbus ? - the OTA dosent care where the data comes from, is...
- Wed May 10, 2023 8:37 am
- Forum: General Discussion
- Topic: Getting and error using httpd_ws_send_frame_async ??
- Replies: 1
- Views: 1368
Getting and error using httpd_ws_send_frame_async ??
Hello, i am runing a httpserver from a ESP32-S3, overal the functionallity is there. i have a task where i call a async send with some service information like uptime, version but also some data changing with 25 hz. The webserver can run for sometimes 1 hour, but sudddenly i get an error on : esp_er...
- Mon Mar 20, 2023 7:53 am
- Forum: General Discussion
- Topic: OTA on ESP32-S3, working with WiFi but not ethernet?
- Replies: 0
- Views: 1285
OTA on ESP32-S3, working with WiFi but not ethernet?
Hello, i have made a webserver running on the ESP32-S3, where i can update firmware. It works if i configure the device to start a softAP(WiFi). If i configure the device to run as ethernet through USB, as RNDIS device. It does not work ? Do some have experience or knowledge within this ? Here are s...
- Wed Mar 15, 2023 8:29 am
- Forum: General Discussion
- Topic: ESP32-S3 using TINYUSB, method for interrupt?
- Replies: 1
- Views: 1254
ESP32-S3 using TINYUSB, method for interrupt?
Hello, I have configured a ESP32-S3, to pop up as RNDIS device, everything works i can receive and transmit. But after i have built a web-server on top, that sends data from a websocket, some stability issues have occured. My question is, is there a way to setup a interrupt or something very fast, s...
- Mon Mar 13, 2023 11:02 am
- Forum: General Discussion
- Topic: OTA on ESP32-S3, running the webserver
- Replies: 0
- Views: 1493
OTA on ESP32-S3, running the webserver
Hello, i have a ESP32-S3, which is configured as RNDIS device, with a webserver running on 2.2.2.2. I'm trying to implement a functionallity, so i can upload new firmware via the webserver. It says OTA image has invalid magic byte (expected 0xE9, saw 0x2d). I dont know if it is possible for you guys...
- Mon Mar 06, 2023 11:07 am
- Forum: General Discussion
- Topic: Task watchdog got triggered. The following tasks did not reset the watchdog in time
- Replies: 6
- Views: 12027
Re: Task watchdog got triggered. The following tasks did not reset the watchdog in time
Exactly. Right after tud_rx_len = size; //set tud_rx_len ONLY after finish copying you can "give" the semaphore, which makes "task" wake up and return from blocking on its semaphore "take" so that it can inspect tud_rx_len and handle the data. Okay i have tried looking at this, but i cant seem to u...
- Sat Mar 04, 2023 3:01 pm
- Forum: General Discussion
- Topic: Task watchdog got triggered. The following tasks did not reset the watchdog in time
- Replies: 6
- Views: 12027
Re: Task watchdog got triggered. The following tasks did not reset the watchdog in time
Perfect, ill try that. I appriciate your time !MicroController wrote: ↑Thu Mar 02, 2023 2:43 pmExactly.
Right afteryou can "give" the semaphore, which makes "task" wake up and return from blocking on its semaphore "take" so that it can inspect tud_rx_len and handle the data.Code: Select all
tud_rx_len = size; //set tud_rx_len ONLY after finish copying
- Thu Mar 02, 2023 9:18 am
- Forum: General Discussion
- Topic: Task watchdog got triggered. The following tasks did not reset the watchdog in time
- Replies: 6
- Views: 12027
Re: Task watchdog got triggered. The following tasks did not reset the watchdog in time
vTaskDelay( 1 / portTICK_PERIOD_MS ); may be part of your problem. Note that by default the tick period is 10ms, so any delay of less than 10ms results in a 0 delay, which can starve lower priority tasks of CPU time which then may fail to reset their watchdogs in time. Besides, polling on the tud_r...
- Tue Feb 28, 2023 8:57 am
- Forum: General Discussion
- Topic: Task watchdog got triggered. The following tasks did not reset the watchdog in time
- Replies: 6
- Views: 12027
Task watchdog got triggered. The following tasks did not reset the watchdog in time
<r>Hello, i have a question regarding a error where it looks like the watchdog is getting triggered from a usb descriptor or from a http webserver.<br/> Im working on a project, where a ESP32-S3 is configured to pop up as a RNDIS device when it's plugged in to the computer. THe device is set to a IP...