Search found 5 matches
- Tue Dec 27, 2022 1:04 pm
- Forum: ESP-IDF
- Topic: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
- Replies: 7
- Views: 3279
Re: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
Well, the problem was the MSC function was using a Level1 Interrupt, while the TWAI function also uses the same. When I changed the Interrupt for the MSC Class to Level3 it worked, no more crashes. and OTA from PenDrive done in 7 Seconds. That is Fast.
- Tue Dec 27, 2022 1:01 pm
- Forum: General Discussion
- Topic: ESP32S3- TWAI Driver Doubt
- Replies: 0
- Views: 926
ESP32S3- TWAI Driver Doubt
Hello Everyone, Merry Christmas and Happy New Year. I am developing an application that communicates with a certain ECU over TWAI Bus. The CAN Function ("CAN Function.txt") works with some ECUs, but it fails during handling the wait response of a few ECUs, please check the CAN log taken froma KVaser...
- Wed Dec 07, 2022 4:17 am
- Forum: ESP-IDF
- Topic: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
- Replies: 7
- Views: 3279
Re: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
Sorry, but still the same logs. No ota begin, no progress, no ota end etc. From logs we cant see if file is open, read and ota progressed, also no crash log (reset) you mentioned. I did not verify if all text was there in the text file. So Stupid of me. Apparantly, when I am copying the Text from m...
- Wed Dec 07, 2022 2:20 am
- Forum: ESP-IDF
- Topic: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
- Replies: 7
- Views: 3279
Re: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
You have good amount of logs in this code, but the logs you posted tells us nothing, sorry. https://man7.org/linux/man-pages/man3/fread.3.html If an error occurs, or the end of the file is reached, the return value is a short item count (or zero). fread() does not distinguish between end-of-file an...
- Tue Dec 06, 2022 1:03 pm
- Forum: ESP-IDF
- Topic: ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
- Replies: 7
- Views: 3279
ESP32-S3 OTA Update from USB PenDrive resets during esp_ota_end()
<r>I am trying to Make OTA Updates work from a USB PenDrive with ESP32S3. Everything works untill I call the esp_ota_end() function. That causes a TG1WDT_SYS_RST Reset. <br/> The Example (HTTPS OTA Update) over WiFi Works, but I require the USB Based OTA Function to Work.<br/> I will hugely apprecia...