I suppose for the S2 you used the example code you mentioned previously, or some other test code?
Anyway thanks a lot! I will give it a go when I find some time
Search found 8 matches
- Tue Nov 10, 2020 9:25 pm
- Forum: ESP-IDF
- Topic: Esp32s2 internal USB issues
- Replies: 9
- Views: 5310
- Fri Nov 06, 2020 6:37 pm
- Forum: ESP-IDF
- Topic: Esp32s2 16Mb Flash
- Replies: 5
- Views: 4238
Re: Esp32s2 16Mb Flash
I'm referring to the memory apertures for RAM and flash only being 4MiB on the ESP32 Is this an SDK or a HW limitation? For the Esp32s2 the HW clearly has support for more (and it seems to work). Also I can see in the SDK code paths for 2,4,8 Mb of PSRAM. Do you have any suggestions on how to get m...
- Thu Nov 05, 2020 6:02 pm
- Forum: ESP-IDF
- Topic: Esp32s2 16Mb Flash
- Replies: 5
- Views: 4238
Re: Esp32s2 16Mb Flash
However, I'm not sure if you can map more than 4MiB of *contiguous* RAM on the S2, so that may be a limit. @ESP_Sprite, I found this statement " PSRAM — 2MB: Supported, 8MB: Not supported (IDF-968) " in the ESP32-S2 support status in ESP-IDF thread (https://esp32.com/viewtopic.php?t=14532#). Are yo...
- Thu Nov 05, 2020 5:56 pm
- Forum: ESP-IDF
- Topic: Esp32s2 internal USB issues
- Replies: 9
- Views: 5310
Re: Esp32s2 internal USB issues
I am using Windows 10 and a test app I made that uses the com port through the Qt5 framework.ESP_Sprite wrote: What OS do you use on the PC side? What do you use to send these packets?
@chegewara Thanks for the suggestion, I will try that in next tests
- Wed Nov 04, 2020 11:20 pm
- Forum: ESP-IDF
- Topic: Esp32s2 internal USB issues
- Replies: 9
- Views: 5310
Re: Esp32s2 internal USB issues
The crash does not seem to reproduce now. It could be unrelated so I will report if it comes back. The packet size issue however still bothers me. I am actually using the example tusb_serial_device example code from the directory that chegewara mentioned. My test sends a packet of fixed data size fr...
- Tue Nov 03, 2020 9:26 pm
- Forum: ESP-IDF
- Topic: Esp32s2 internal USB issues
- Replies: 9
- Views: 5310
Esp32s2 internal USB issues
Hello all. I have tried to use the internal USB in CDC mode with the TinyUsb library and I get occasional crashes in some task_wdt.c file. Also i have problems sending packets with more than one byte size. After sending more than a couple of packets with more than one bytes the Esp32s2 stops sending...
- Mon Oct 26, 2020 9:49 pm
- Forum: ESP-IDF
- Topic: Esp32s2 16Mb Flash
- Replies: 5
- Views: 4238
Re: Esp32s2 16Mb Flash
Hi. I know about those functions but as you say they only map in the ICache area of 4MB which is not sufficient. Nevertheless I dag a bit deeper in the SDK code and I have now code the can map 10MB of the FLASH to DCache. The code seems to work and correctly access all the data. What I am wondering ...
- Fri Oct 23, 2020 7:03 pm
- Forum: ESP-IDF
- Topic: Esp32s2 16Mb Flash
- Replies: 5
- Views: 4238
Esp32s2 16Mb Flash
Hello all. My application needs large flash storage for data (not code). I have a 16 MB chip I intend to use. The TRM suggests that I can map 10.5MB flash for data access to DCache. I tried to do that calling the DCache rom functions (similar to the way psram init function works) but reading the mem...