Search found 12 matches
- Tue Apr 29, 2025 11:25 am
- Forum: ESP-IDF
- Topic: Correct way to end TinyUSB mass storage class (MSC) and fully release the SD card
- Replies: 2
- Views: 787
Re: Correct way to end TinyUSB mass storage class (MSC) and fully release the SD card
Problem was caused by trying to do all of this deinitialisation in the USB mount changed callback, which comes from the USB task. Doing it from a separate task resolved the issues and allowed me to deinitialise everything as required.
- Fri Apr 25, 2025 3:08 pm
- Forum: ESP-IDF
- Topic: Correct way to end TinyUSB mass storage class (MSC) and fully release the SD card
- Replies: 2
- Views: 787
Correct way to end TinyUSB mass storage class (MSC) and fully release the SD card
What is the correct way to safely and orderly terminate TinyUSB MSC after the drive is ejected on the host, and fully deinitialise and release the card and SDMMC peripheral for our application to then use?
After ejection, while the card is then usable by our application, removing the card from the ...
After ejection, while the card is then usable by our application, removing the card from the ...
- Fri Jun 28, 2024 2:40 pm
- Forum: ESP-IDF
- Topic: NimBLE throughput example results don't improve when using 2M PHY
- Replies: 3
- Views: 2809
Re: NimBLE throughput example results don't improve when using 2M PHY
Problem solved. I have achieved 102.5 KB/s with 2M PHY after disabling all logging output.
With 1M PHY this drops to 68.6 KB/s (a bit above the 500 Kbps (63 KB/s) given in the README).
With 1M PHY this drops to 68.6 KB/s (a bit above the 500 Kbps (63 KB/s) given in the README).
- Thu Jun 27, 2024 4:00 pm
- Forum: ESP-IDF
- Topic: NimBLE throughput example results don't improve when using 2M PHY
- Replies: 3
- Views: 2809
NimBLE throughput example results don't improve when using 2M PHY
I've been experimenting with the throughput_app BLE example and have found that changing the PHY from 1M to 2M does nothing to increase the reported throughput value. Is this expected?
I had expected there to be a significant increase in throughput at the application level when using the 2M PHY ...
I had expected there to be a significant increase in throughput at the application level when using the 2M PHY ...
- Mon Oct 16, 2023 2:50 pm
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 7215
Re: Over-the-air update: Panic happens when esp_ota_end() is called
We managed to fix our issue.
In one of the modules of our application, we had a uint8_t* global that was initialised to point to a const string. We were then modifying that variable, meaning we were modifying constant program data. Changing the variable to an array that is initialised to the value ...
In one of the modules of our application, we had a uint8_t* global that was initialised to point to a const string. We were then modifying that variable, meaning we were modifying constant program data. Changing the variable to an array that is initialised to the value ...
- Thu Oct 12, 2023 10:08 am
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 7215
Re: Over-the-air update: Panic happens when esp_ota_end() is called
We're still having this issue and have made no further progress on it. Does anyone have any ideas?
Thanks.
Thanks.
- Fri Jul 21, 2023 4:01 pm
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 7215
Re: Over-the-air update: Panic happens when esp_ota_end() is called
I'm using ESP-IDF version 5.0.2.
- Wed Jul 19, 2023 9:33 am
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 7215
Re: Over-the-air update: Panic happens when esp_ota_end() is called
Checking with the Eclipse debugger, EXCAUSE is set to 4, which I guess is the latter of your two points (Level1InterruptCause). Just to see if it would change anything I increased the interrupt watchdog timeout to 10 seconds, but that didn't have any impact. Let me know if there's any other info you ...
- Tue Jul 18, 2023 3:55 pm
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 7215
Re: Over-the-air update: Panic happens when esp_ota_end() is called
This issue has recurred in the same was as explained above, again after having made no specific changes to the related code (as this feature had been finished and working).
I don't have any further information to give or look for on this. The call to esp_image_verify() inside esp_ota_end() is ...
I don't have any further information to give or look for on this. The call to esp_image_verify() inside esp_ota_end() is ...
- Thu Jul 13, 2023 2:55 pm
- Forum: ESP-IDF
- Topic: Over-the-air update: Panic happens when esp_ota_end() is called
- Replies: 12
- Views: 7215
Re: Over-the-air update: Panic happens when esp_ota_end() is called
So I had another look at this again today, and found that the problem has gone away on both of the boards I was using (both of which yesterday had OTA updates not working in the way described above), despite not making any further changes to try and fix this.
In terms of your question, I don't ...
In terms of your question, I don't ...