Search found 6 matches
- Mon Aug 16, 2021 7:46 pm
- Forum: General Discussion
- Topic: Compilers and modern C++ features support
- Replies: 2
- Views: 4512
Compilers and modern C++ features support
Hello everyone! I'm wondering if it's a good idea to use some new TS/2a C++ features like coroutines. Is there any plan to upgrade the GCC toolchain beyond the 8.4 version? Or are you focusing on the LLVM port? If so, what is the current stability of clang/LLVM toolchain regarding esp-idf core? Is i...
- Thu Aug 12, 2021 10:13 am
- Forum: Hardware
- Topic: RAM & Flash cache efficiency
- Replies: 9
- Views: 12482
Re: RAM & Flash cache efficiency
Well, you could do that, but it wouldn't be prefetching, it would just be fetching: your core would still be hung up until the entire 32-byte cache line is retrieved from PSRAM. You're right. Yeah I've checked and esp32 silicon does not implement any of the xtensa prefetch instructions. I wonder if...
- Thu Aug 12, 2021 7:24 am
- Forum: General Discussion
- Topic: ESP32 life-time
- Replies: 26
- Views: 24052
Re: Long live
Regarding "erased flash too often", are we talking >100,000 erase cycles here? Yes, i did save the temperature-curves every minute erasing flash-sectors. The chip did still work, only the curves were gone after about half a year, that means about 100.000 write-cycles like in the specs. This was my ...
- Thu Aug 12, 2021 7:18 am
- Forum: General Discussion
- Topic: Esp32C3 FTM
- Replies: 4
- Views: 7833
Re: Esp32C3 FTM
PS I meant UWB modules - not USB. On some related matter I wonder if esoressif plans to release any FTM-capable modules with multiple antennas. There is the ESP32-WROOM-DA but it has no FTM feature and I could not find it with any supplier. PS I wonder what is the accuracy of the chip's ftm timer-co...
- Thu Aug 12, 2021 7:12 am
- Forum: General Discussion
- Topic: Esp32C3 FTM
- Replies: 4
- Views: 7833
Re: Esp32C3 FTM
I've read some papers and there are a few methods to improve the accuracy. Still haven't tested any of them (just recently got my hands on the actual S2 boards). Calibrate the error and correct in software If you provide both the AP and STA or you know you will use a specific device combination it's...
- Thu Aug 12, 2021 4:55 am
- Forum: Hardware
- Topic: RAM & Flash cache efficiency
- Replies: 9
- Views: 12482
Re: RAM & Flash cache efficiency
Would it work if one would access the first byte of each 32byte segment of the chunk that needs to be prefetched? Something along these lines (untested): [Codebox] #include <stdlib.h> #include <stdint.h> #include <stddef.h> #include "esp_heap_caps.h" #define SPIRAM_DATA_CACHE_SZ ((size_t)32768) #def...